15 TDirectory *
CDCdir = (TDirectory*)gDirectory->FindObjectAny(
"CDC_roc_hits");
22 if(cdc_nevents) Nevents = (double)cdc_nevents->GetBinContent(1);
26 TCanvas *
c1 =
new TCanvas(
"c1");
34 TCanvas *
c1 = gPad->GetCanvas();
37 for(
unsigned int iroc=25; iroc<=28; iroc++){
40 sprintf(hname,
"cdc_hits_roc%d", iroc);
41 TH2 *
h = (TH2*)(CDCdir->Get(hname));
44 sprintf(hname,
"cdc_hits_roc%d_norm", iroc);
45 TH2 *hh = (TH2*)h->Clone(hname);
47 sprintf(hname,
"%s, normalized",h->GetTitle());
50 hh->Scale(1.0/Nevents);
55 TPaletteAxis *pal = (TPaletteAxis*)hh->GetListOfFunctions()->FindObject(
"palette");
57 pal->SetLabelSize(0.03);
sprintf(text,"Post KinFit Cut")