Hall-D Software
alpha
|
Go to the source code of this file.
Functions | |
if (dir) | |
if (tagh_adc_occ) | |
legend_sa | AddEntry (tagh_adc_occ,"fADC","f") |
legend_na | AddEntry (tagh_tdc_occ,"TDC","f") |
if (tagm_tdc_occ) | |
if (tagm_adc_occ) | |
legend_s | AddEntry (tagm_adc_occ,"fADC","f") |
legend_n | AddEntry (tagm_tdc_occ,"TDC","f") |
sprintf (nevents_str,"%0.0f events", Nevents) | |
lat | SetTextAlign (22) |
lat | SetTextSize (0.035) |
if (gPad==NULL) | |
if (!gPad) | |
c1 | cd (0) |
c1 | Clear () |
c1 | Divide (1, 2) |
pad1 | SetTicks () |
pad1 | SetGridy () |
legend_s | Draw () |
lat | DrawLatex (85.0, 1.075 *ymax, nevents_str) |
if (tagh_tdc_occ) | |
lat | DrawLatex (225.0, 1.075 *ymax, nevents_str) |
Variables | |
TDirectory * | dir = (TDirectory*)gDirectory->FindObjectAny("occupancy") |
char | nevents_str [256] |
TLatex | lat |
TCanvas * | c1 = gPad->GetCanvas() |
TVirtualPad * | pad1 = c1->cd(1) |
double | ymax = 1.0 |
legend_sa AddEntry | ( | tagh_adc_occ | , |
"fADC" | , | ||
"f" | |||
) |
legend_na AddEntry | ( | tagh_tdc_occ | , |
"TDC" | , | ||
"f" | |||
) |
legend_s AddEntry | ( | tagm_adc_occ | , |
"fADC" | , | ||
"f" | |||
) |
legend_n AddEntry | ( | tagm_tdc_occ | , |
"TDC" | , | ||
"f" | |||
) |
c1 cd | ( | 0 | ) |
c1 Clear | ( | ) |
c1 Divide | ( | 1 | , |
2 | |||
) |
legend_s Draw | ( | ) |
lat DrawLatex | ( | 85. | 0, |
1.075 * | ymax, | ||
nevents_str | |||
) |
lat DrawLatex | ( | 225. | 0, |
1.075 * | ymax, | ||
nevents_str | |||
) |
if | ( | dir | ) |
Definition at line 49 of file TAGGER_occupancy.C.
if | ( | tagh_adc_occ | ) |
Definition at line 80 of file TAGGER_occupancy.C.
if | ( | tagm_tdc_occ | ) |
Definition at line 97 of file TAGGER_occupancy.C.
if | ( | tagm_adc_occ | ) |
Definition at line 111 of file TAGGER_occupancy.C.
if | ( | gPad | = = NULL | ) |
Definition at line 135 of file TAGGER_occupancy.C.
References c1.
if | ( | ! | gPad | ) |
Definition at line 141 of file TAGGER_occupancy.C.
if | ( | tagh_tdc_occ | ) |
Definition at line 184 of file TAGGER_occupancy.C.
pad1 SetGridy | ( | ) |
lat SetTextAlign | ( | 22 | ) |
lat SetTextSize | ( | 0. | 035 | ) |
pad1 SetTicks | ( | ) |
sprintf | ( | nevents_str | , |
"%0.0f events" | , | ||
Nevents | |||
) |
TCanvas* c1 = gPad->GetCanvas() |
Definition at line 143 of file TAGGER_occupancy.C.
TDirectory* dir = (TDirectory*)gDirectory->FindObjectAny("occupancy") |
Definition at line 48 of file TAGGER_occupancy.C.
TLatex lat |
Definition at line 130 of file TAGGER_occupancy.C.
char nevents_str[256] |
Definition at line 128 of file TAGGER_occupancy.C.
Definition at line 150 of file TAGGER_occupancy.C.
ymax = 1.0 |
Definition at line 153 of file TAGGER_occupancy.C.