8 TDirectory *
dir = (TDirectory*)gDirectory->FindObjectAny(
"st_tracking");
13 TH2I *
h2_dedx_P_mag = (TH2I*)gDirectory->FindObjectAny(
"h2_dedx_P_mag");
16 TH2I *h2_dedx__theta = (TH2I*)gDirectory->FindObjectAny(
"h2_dedx__theta");
20 TCanvas *
c1 =
new TCanvas(
"c1",
"Start Counter 2D Histograms", 200, 10, 600, 480);
26 TCanvas *
c1 = gPad->GetCanvas();
28 gStyle->SetOptStat(10);
29 gStyle->SetTitleFontSize(0.04);
35 if(h2_dedx_P_mag_postv) h2_dedx_P_mag_postv->Draw(
"colz");
37 h2_dedx_P_mag_postv->GetYaxis()->SetLabelSize(.02);
38 h2_dedx_P_mag_postv->GetYaxis()->SetTitle(
"#frac{dE}{dx} (au)");
39 h2_dedx_P_mag_postv->GetYaxis()->CenterTitle();
40 h2_dedx_P_mag_postv->GetYaxis()->SetTitleOffset(1.25);
42 h2_dedx_P_mag_postv->GetXaxis()->CenterTitle();
43 h2_dedx_P_mag_postv->GetZaxis()->SetLabelFont(20);
44 h2_dedx_P_mag_postv->GetZaxis()->SetLabelSize(0.02);
51 if(h2_dedx_P_mag_negtv) h2_dedx_P_mag_negtv->Draw(
"colz");
52 h2_dedx_P_mag_negtv->GetYaxis()->SetLabelSize(.02);
53 h2_dedx_P_mag_negtv->GetYaxis()->SetTitle(
"#frac{dE}{dx} (au)");
54 h2_dedx_P_mag_negtv->GetYaxis()->CenterTitle();
55 h2_dedx_P_mag_negtv->GetXaxis()->CenterTitle();
56 h2_dedx_P_mag_negtv->GetYaxis()->SetTitleOffset(1.25);
57 h2_dedx_P_mag_negtv->GetZaxis()->SetLabelFont(20);
58 h2_dedx_P_mag_negtv->GetZaxis()->SetLabelSize(0.02);
static TH2I * h2_dedx_P_mag
static TH2I * h2_dedx_P_mag_negtv
static TH2I * h2_dedx_P_mag_postv