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

Go to the source code of this file.

Functions

 if (dir)
 
 if (!gPad) return
 
c1 Divide (2, 2)
 
gStyle SetOptStat ("emr")
 
leg AddEntry (hTS_LED,"LED trigger","l")
 
leg AddEntry (hTS,"Non-LED triggers","l")
 
leg Draw ("same")
 
 if (hDigiHit_Nhits &&hDigiHit_Nhits_LED)
 
 if (hDigiHit_Time &&hDigiHit_Time_LED)
 
 if (hTS)
 
 if (hTS_LED)
 

Variables

TDirectory * dir = (TDirectory*)gDirectory->FindObjectAny("DIRC_online")
 
TCanvas * c1 = gPad->GetCanvas()
 
double tsize = 0.05
 
TLegend * leg = new TLegend(0.6, 0.6, 0.85, 0.8)
 

Function Documentation

leg AddEntry ( hTS_LED  ,
"LED trigger"  ,
"l"   
)
leg AddEntry ( hTS  ,
"Non-LED triggers"  ,
"l"   
)
c1 Divide ( ,
 
)
leg Draw ( "same"  )
if ( dir  )

Definition at line 14 of file DIRC_digihit.C.

References c1.

if ( gPad)

Definition at line 32 of file bcal_hist_eff.C.

if ( hDigiHit_Nhits &&  hDigiHit_Nhits_LED)

Definition at line 64 of file DIRC_digihit.C.

if ( hDigiHit_Time &&  hDigiHit_Time_LED)

Definition at line 81 of file DIRC_digihit.C.

if ( hTS  )

Definition at line 99 of file DIRC_digihit.C.

if ( hTS_LED  )

Definition at line 105 of file DIRC_digihit.C.

gStyle SetOptStat ( "emr"  )

Variable Documentation

TCanvas* c1 = gPad->GetCanvas()

Definition at line 33 of file DIRC_digihit.C.

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

Definition at line 13 of file DIRC_digihit.C.

TLegend* leg = new TLegend(0.6, 0.6, 0.85, 0.8)
double tsize = 0.05

Definition at line 36 of file DIRC_digihit.C.

Referenced by main().