Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
bcal_occupancy.C File Reference

Go to the source code of this file.

Functions

gStyle SetStatX (0.99)
 
gStyle SetStatY (0.99)
 
gStyle SetStatW (0.25)
 
gStyle SetTitleOffset (1,"Y")
 
gStyle SetTitleSize (0.05,"xyz")
 
gStyle SetTitleSize (0.08,"h")
 
gStyle SetLabelSize (0.05,"xyz")
 
gStyle SetTitleX (0)
 
gStyle SetTitleAlign (13)
 
gStyle SetNdivisions (505,"xy")
 
 if (dir)
 
 if (!gPad) return
 
c1 Divide (2, 2)
 
c1 cd (1)
 
gPad SetTicks ()
 
gPad SetGrid ()
 
 if (bcal_fadc_digi_occ)
 
 if (bcal_fadc_digi_occ_layer2!=NULL)
 
 if (bcal_fadc_digi_occ_layer3!=NULL)
 
 if (bcal_fadc_digi_occ_layer4!=NULL)
 
occ_stack Draw ("nostack")
 
occ_stack_legend Draw ()
 
c1 cd (4)
 
 if (bcal_tdc_digi_occ_layer1!=NULL)
 
 if (bcal_tdc_digi_occ_layer2!=NULL)
 
 if (bcal_tdc_digi_occ_layer3!=NULL)
 

Variables

int col_layer1 = 1
 
int col_layer2 = 2
 
int col_layer3 = 3
 
int col_layer4 = 4
 
TDirectory * dir = (TDirectory*)gDirectory->FindObjectAny("bcal")
 
TCanvas * c1 = gPad->GetCanvas()
 
TH1I * bcal_tdc_digi_occ_layer1 = (TH1I*)gROOT->FindObject("bcal_tdc_digi_occ_layer1")
 
TH1I * bcal_tdc_digi_occ_layer2 = (TH1I*)gROOT->FindObject("bcal_tdc_digi_occ_layer2")
 
TH1I * bcal_tdc_digi_occ_layer3 = (TH1I*)gROOT->FindObject("bcal_tdc_digi_occ_layer3")
 
THStack * tdc_occ_stack = new THStack("tdc_occ_stack","TDC Occupancy by layer (DBCALDigiHit);global sector (4 x module + sector);hits")
 
TLegend * tdc_occ_stack_legend = new TLegend(0.85,0.75,0.99,0.99)
 

Function Documentation

c1 cd ( )
c1 cd ( )
c1 Divide ( ,
 
)
tdc_occ_stack Draw ( "nostack"  )
occ_stack_legend Draw ( )
if ( dir  )

Definition at line 35 of file bcal_occupancy.C.

References c1.

if ( gPad)

Definition at line 32 of file bcal_hist_eff.C.

Definition at line 59 of file bcal_occupancy.C.

if ( bcal_fadc_digi_occ_layer2!  = NULL)

Definition at line 78 of file bcal_occupancy.C.

if ( bcal_fadc_digi_occ_layer3!  = NULL)

Definition at line 85 of file bcal_occupancy.C.

if ( bcal_fadc_digi_occ_layer4!  = NULL)

Definition at line 92 of file bcal_occupancy.C.

if ( bcal_tdc_digi_occ_layer1!  = NULL)

Definition at line 113 of file bcal_occupancy.C.

if ( bcal_tdc_digi_occ_layer2!  = NULL)

Definition at line 120 of file bcal_occupancy.C.

if ( bcal_tdc_digi_occ_layer3!  = NULL)

Definition at line 127 of file bcal_occupancy.C.

gPad SetGrid ( )
gStyle SetLabelSize ( 0.  05,
"xyz"   
)
gStyle SetNdivisions ( 505  ,
"xy"   
)
gStyle SetStatW ( 0.  25)
gStyle SetStatX ( 0.  99)
gStyle SetStatY ( 0.  99)
gPad SetTicks ( )
gStyle SetTitleAlign ( 13  )
gStyle SetTitleOffset ( ,
"Y"   
)
gStyle SetTitleSize ( 0.  05,
"xyz"   
)
gStyle SetTitleSize ( 0.  08,
"h"   
)
gStyle SetTitleX ( )

Variable Documentation

TH1I* bcal_tdc_digi_occ_layer1 = (TH1I*)gROOT->FindObject("bcal_tdc_digi_occ_layer1")

Definition at line 108 of file bcal_occupancy.C.

TH1I* bcal_tdc_digi_occ_layer2 = (TH1I*)gROOT->FindObject("bcal_tdc_digi_occ_layer2")

Definition at line 109 of file bcal_occupancy.C.

TH1I* bcal_tdc_digi_occ_layer3 = (TH1I*)gROOT->FindObject("bcal_tdc_digi_occ_layer3")

Definition at line 110 of file bcal_occupancy.C.

TCanvas* c1 = gPad->GetCanvas()

Definition at line 53 of file bcal_occupancy.C.

int col_layer1 = 1

Definition at line 29 of file bcal_occupancy.C.

int col_layer2 = 2

Definition at line 30 of file bcal_occupancy.C.

int col_layer3 = 3

Definition at line 31 of file bcal_occupancy.C.

int col_layer4 = 4

Definition at line 32 of file bcal_occupancy.C.

TDirectory* dir = (TDirectory*)gDirectory->FindObjectAny("bcal")

Definition at line 34 of file bcal_occupancy.C.

THStack* tdc_occ_stack = new THStack("tdc_occ_stack","TDC Occupancy by layer (DBCALDigiHit);global sector (4 x module + sector);hits")

Definition at line 111 of file bcal_occupancy.C.

TLegend* tdc_occ_stack_legend = new TLegend(0.85,0.75,0.99,0.99)

Definition at line 112 of file bcal_occupancy.C.