9 TDirectory *
locDirectory = (TDirectory*)gDirectory->FindObjectAny(
"Hist_DetectorPID");
15 gDirectory->cd(
"CDC");
18 gDirectory->cd(
"../FDC");
24 if(TVirtualPad::Pad() == NULL)
25 locCanvas =
new TCanvas(
"Tracking_p3",
"Tracking_p3", 1200, 800);
27 locCanvas = gPad->GetCanvas();
28 locCanvas->Divide(2, 2);
34 if(locHist_CDCdEdXVsP_QPlus != NULL)
36 locHist_CDCdEdXVsP_QPlus->GetXaxis()->SetRangeUser(0.0, 6.0);
37 locHist_CDCdEdXVsP_QPlus->GetXaxis()->SetTitleSize(0.05);
38 locHist_CDCdEdXVsP_QPlus->GetYaxis()->SetTitleSize(0.05);
39 locHist_CDCdEdXVsP_QPlus->GetXaxis()->SetLabelSize(0.05);
40 locHist_CDCdEdXVsP_QPlus->GetYaxis()->SetLabelSize(0.05);
41 locHist_CDCdEdXVsP_QPlus->Draw(
"COLZ");
47 if(locHist_CDCdEdXVsP_QMinus != NULL)
49 locHist_CDCdEdXVsP_QMinus->GetXaxis()->SetRangeUser(0.0, 6.0);
50 locHist_CDCdEdXVsP_QMinus->GetXaxis()->SetTitleSize(0.05);
51 locHist_CDCdEdXVsP_QMinus->GetYaxis()->SetTitleSize(0.05);
52 locHist_CDCdEdXVsP_QMinus->GetXaxis()->SetLabelSize(0.05);
53 locHist_CDCdEdXVsP_QMinus->GetYaxis()->SetLabelSize(0.05);
54 locHist_CDCdEdXVsP_QMinus->Draw(
"COLZ");
60 if(locHist_FDCdEdXVsP_QPlus != NULL)
62 locHist_FDCdEdXVsP_QPlus->GetXaxis()->SetTitleSize(0.05);
63 locHist_FDCdEdXVsP_QPlus->GetYaxis()->SetTitleSize(0.05);
64 locHist_FDCdEdXVsP_QPlus->GetXaxis()->SetLabelSize(0.05);
65 locHist_FDCdEdXVsP_QPlus->GetYaxis()->SetLabelSize(0.05);
66 locHist_FDCdEdXVsP_QPlus->Draw(
"COLZ");
72 if(locHist_FDCdEdXVsP_QMinus != NULL)
74 locHist_FDCdEdXVsP_QMinus->GetXaxis()->SetTitleSize(0.05);
75 locHist_FDCdEdXVsP_QMinus->GetYaxis()->SetTitleSize(0.05);
76 locHist_FDCdEdXVsP_QMinus->GetXaxis()->SetLabelSize(0.05);
77 locHist_FDCdEdXVsP_QMinus->GetYaxis()->SetLabelSize(0.05);
78 locHist_FDCdEdXVsP_QMinus->Draw(
"COLZ");
TDirectory * locDirectory
TH2I * locHist_FDCdEdXVsP_QPlus
TH2I * locHist_FDCdEdXVsP_QMinus
TDirectory * locInitDirectory
TH2I * locHist_CDCdEdXVsP_QPlus
TH2I * locHist_CDCdEdXVsP_QMinus