10 #include "St2011WlumiMaker.h"
15 St2011WlumiMaker::initHistos(){
21 memset(hA,0,
sizeof(hA));
25 hA[0]=h=
new TH1F(core+
"StatEve",core+
" event type",nCase,0,nCase);
26 h->GetXaxis()->SetTitleOffset(0.4); h->GetXaxis()->SetLabelSize(0.06); h->GetXaxis()->SetTitleSize(0.05); h->SetMinimum(0.8);
27 h->SetLineColor(kBlue);h->SetLineWidth(2);
29 char key[][200]={
"inp",
"ver",
"PT>10",
"B ET>1"};
30 for(
int i=0;i<4;i++) h->Fill(key[i],0.);
33 hA[1]=
new TH1F(core+
"EleTrET",
"max ET of track w/ PT>10 GeV/c;barrel 2x2 ET (GeV)", 50,0,50);
35 hA[2]=
new TH1F(core+
"Y0",
"input event w/ OK prim tracks; spin4 ",16,-0.5,15.5);
36 hA[3]=
new TH1F(core+
"Y2",
"EleTrET [5,10] GeV; spin4 ",16,-0.5,15.5);
37 hA[4]=
new TH1F(core+
"Y3",
"EleTrET [10,14] GeV; spin4 ",16,-0.5,15.5);
41 for(
int i=0;i<mxHA;i++) {
42 if( hA[i]==0)
continue;
46 LOG_INFO<<Form(
"%s::initHistos done",
GetName())<<endm;
virtual const char * GetName() const
special overload