7 #include <TClonesArray.h>
8 #include <TPostScript.h>
11 #include <TGraphErrors.h>
25 std::ofstream fout_mb;
26 std::ofstream fout_ht1;
27 std::ofstream fout_ht2;
82 TH1F *h_trigidHT1aftercut;
83 TH1F *h_trigidHT2aftercut;
100 TH2F *h_dist2DMBpions;
101 TH2F *h_dist2DHT1pions;
102 TH2F *h_dist2DHT2pions;
107 TH2F *h_clusterWidth;
126 TH2F *h_minvMB_mixed;
131 TH1F *h_pionsVsEtaMB;
139 TH1F *h_pythiaPartonPt;
141 TH1F *h_pythiaPionsMB;
142 TH1F *h_pythiaPionsHT1;
143 TH1F *h_pythiaPionsHT2;
157 TH1F *h_mcneutronsMB;
158 TH1F *h_mcneutronsWeightMB;
160 TH1F *h_mcneutronsHT1;
161 TH1F *h_mcneutronsWeightHT1;
163 TH1F *h_mcneutronsHT2;
164 TH1F *h_mcneutronsWeightHT2;
165 Pi0Analysis(
const Char_t *,
const Char_t *,
const Char_t*);
167 Int_t init(
const Char_t *);
168 Int_t make(Int_t evmax=0,
const Char_t* d=
"default");
172 TH1F *getYield(TH2F *h,
const Char_t *opt=
"none");
174 Float_t getWeight(Float_t val=0.);
176 inline void setMC(Bool_t val) {isMC=val;}
177 inline void setPythia(Bool_t val) {isPythia=val;}
178 inline void setHijing(Bool_t val) {isHIJING=val;}
179 inline Int_t getNmb(){
return numberOfMB;}
180 inline Int_t getNht1(){
return numberOfHT1;}
181 inline Int_t getNht2(){
return numberOfHT2;}
183 inline void setNoMINBIAS(Bool_t val) {noMINBIAS=val;}
185 void printPrescales();
186 void storeCanvases(
const Char_t *val=
"bla.root");