14 TDirectory *
CDCdir = (TDirectory*)gDirectory->FindObjectAny(
"CDC_roc_hits");
21 if(cdc_nevents) Nevents = (double)cdc_nevents->GetBinContent(1);
25 TCanvas *
c1 =
new TCanvas(
"c1");
33 TCanvas *
c1 = gPad->GetCanvas();
36 for(
unsigned int iroc=25; iroc<=28; iroc++){
39 sprintf(hname,
"cdc_amp_roc%d", iroc);
40 TH2 *
h = (TH2*)(CDCdir->Get(hname));
43 sprintf(hname,
"cdc_amp_roc%d_norm", iroc);
44 TH2 *hh = (TH2*)h->Clone(hname);
46 hh->Scale(1.0/Nevents);
51 hh->GetXaxis()->SetRangeUser(290,1780);
52 hh->GetYaxis()->SetRangeUser(0,500);
53 hh->GetYaxis()->SetNdivisions(210,kFALSE);
54 hh->GetYaxis()->SetTickLength(0.001);
56 hh->GetYaxis()->SetLabelSize(0.05);
57 hh->GetYaxis()->SetTitleSize(0.05);
58 hh->GetXaxis()->SetLabelSize(0.05);
59 hh->GetXaxis()->SetTitleSize(0.05);
60 hh->GetZaxis()->SetLabelSize(0.05);
sprintf(text,"Post KinFit Cut")