8 TDirectory *
locDirectory = (TDirectory*)gDirectory->FindObjectAny(
"HLDetectorTiming");
14 TH1I*
Tagger_RF_1D = (TH1I*)gDirectory->Get(
"TRACKING/Tagger - RFBunch 1D Time");
15 TH2I*
Tagger_RF_2D = (TH2I*)gDirectory->Get(
"TRACKING/Tagger - RFBunch Time");
16 TH2I*
TAGH_RF_2D = (TH2I*)gDirectory->Get(
"TRACKING/TAGH - RFBunch Time");
17 TH2I*
TAGM_RF_2D = (TH2I*)gDirectory->Get(
"TRACKING/TAGM - RFBunch Time");
21 if(TVirtualPad::Pad() == NULL)
22 locCanvas =
new TCanvas(
"TaggerRFAlignment",
"TaggerRFAlignment", 1200, 800);
24 locCanvas = gPad->GetCanvas();
25 locCanvas->Divide(2, 2);
31 if(TAGH_RF_2D != NULL)
33 TAGH_RF_2D->Draw(
"colz");
36 TPaveText *
text =
new TPaveText(0.1, 0.4, 0.9, 0.6);
37 text->AddText(
"No Matched TAGH/RFBunch Times");
44 if(Tagger_RF_2D != NULL)
46 Tagger_RF_2D->Draw(
"colz");
49 TPaveText *
text =
new TPaveText(0.1, 0.4, 0.9, 0.6);
50 text->AddText(
"No Matched Tagger/RFBunch Times");
57 if(TAGM_RF_2D != NULL)
59 TAGM_RF_2D->Draw(
"colz");
62 TPaveText *text =
new TPaveText(0.1, 0.4, 0.9, 0.6);
63 text->AddText(
"No Matched TAGM/RFBunch Times");
70 if(Tagger_RF_1D != NULL)
73 Tagger_RF_1D->SetFillColor(kGray);
76 TPaveText *text =
new TPaveText(0.1, 0.4, 0.9, 0.6);
77 text->AddText(
"No Matched Tagger/RFBunch Times");
TDirectory * locDirectory