]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ANALYSIS/AliCollisionNormalization.h
Added commet to explain AliAODTrack::fType, AliAODTrack::XAtDCA(), YAtDCA(), ZAtDCA...
[u/mrichter/AliRoot.git] / ANALYSIS / AliCollisionNormalization.h
index a53b643d9de1c6d248073e1737fce87867a89b31..1cf937f3d50b1251a53f88bb3928c2e623f649de 100644 (file)
@@ -53,10 +53,11 @@ public:
   TH2F *   GetVzMCTrg       (Int_t procType) ;
   TH2F *   GetVzData        () { return fHistVzData       ; }
   TH1F *   GetStatBin0      () { return fHistStatBin0     ; }
+  TH1F *   GetStat          () { return fHistStat         ; }
   TH1F *   GetHistProcTypes () { return fHistProcTypes    ; }
    
 
-  Int_t GetProcessType(AliMCEvent * mcEvt) ;
+  Int_t GetProcessType(const AliMCEvent * mcEvt) ;
   Double_t GetProcessWeight(Int_t proctype);
 
   void SetReferencsXS(Int_t ref) { fReferenceXS = ref;}
@@ -69,8 +70,21 @@ public:
 
   void SetVerbose(Int_t lev) { fVerbose = lev ;}
 
+  void SetEnergy(Float_t en) { fEnergy = en; }
+
   Long64_t Merge(TCollection* list);
 
+  Double_t GetInputEvents() const {return fInputEvents;}   // number of Input Events 
+  Double_t GetPhysSelEvents() const {return fPhysSelEvents;} // number of  Events after Physics Selection 
+  Double_t GetBgEvents() const {return fBgEvents;}      // number of background events 
+
+  Double_t GetAllEvents() const {return fAllEvents;}             // number of corrected events 
+  Double_t GetAllEventsZRange() const {return fAllEventsZRange;}       // number of corrected events in z range
+  Double_t GetAllEventsZRangeMult1() const{return fAllEventsZRangeMult1;}  // number of corrected events with multiplicity larger 1 in z range
+  Double_t GetAllEventsInBin0ZRange() const {return fAllEventsInBin0ZRange;} // number of corrected events in bin0 in z range
+  Double_t GetTrigEffBin0() const {return fTrigEffBin0;}                // trigger efficiency
+
+
 protected:
 
   Int_t   fNbinsVz; // number of z bins in the vz histo
@@ -85,6 +99,8 @@ protected:
 
   Int_t fVerbose;                    // Determines the ammount of printout
 
+  Float_t fEnergy;                     // Beam energy in GeV. Defaults to 900.
+
   TH2F * fHistVzMCGen[kNProcs]    ;    // Vz distribution of generated events vs rec multiplicity
   TH2F * fHistVzMCRec[kNProcs]    ;    // Vz distribution of reconstructed events vs rec multiplicity
   TH2F * fHistVzMCTrg[kNProcs]    ;    // Vz distribution of triggered events vs rec multiplicity
@@ -92,10 +108,21 @@ protected:
   TH1F * fHistProcTypes           ;    // Number of evts for different Process types 
 
   TH1F * fHistStatBin0     ; // event stat histogram, created by physiscs selection; used in ComputeNint;
+  TH1F * fHistStat         ; // event stat histogram, created by physiscs selection; used in ComputeNint;
+
+  Double_t fInputEvents;   // number of Input Events 
+  Double_t fPhysSelEvents; // number of  Events after Physics Selection 
+  Double_t fBgEvents;            // number of background events 
+
+  Double_t fAllEvents;     // number of corrected events 
+  Double_t fAllEventsZRange;  // number of corrected events in z range
+  Double_t fAllEventsZRangeMult1; // number of corrected events with multiplicity larger 1 in z range
+  Double_t fAllEventsInBin0ZRange; // number of corrected events in bin0 in z range
+  Double_t fTrigEffBin0;  // trigger efficiency in Bin0
 
-  static const char * fProcLabel[] ; // labels of the different process types
+  static const char * fgkProcLabel[] ; // labels of the different process types
   
-  ClassDef(AliCollisionNormalization, 1);
+  ClassDef(AliCollisionNormalization, 4);
     
 private:
   AliCollisionNormalization(const AliCollisionNormalization&);