]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Adding common variable for current centrality bin
authorcnattras <cnattras@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Mar 2011 18:01:07 +0000 (18:01 +0000)
committercnattras <cnattras@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 16 Mar 2011 18:01:07 +0000 (18:01 +0000)
PWG4/totEt/AliAnalysisEtCommon.cxx
PWG4/totEt/AliAnalysisEtCommon.h

index 356a8463bb1c28a884f7929f0a3b38b011354210..1aa727738e0cca4da704871dc712fd958da2b92c 100644 (file)
@@ -87,6 +87,7 @@ AliAnalysisEtCommon::AliAnalysisEtCommon() : TObject()
                                           ,fProtonEnhancement(0)
                                           ,fCentralityMethod("V0M")
                                           ,fNCentBins(20)
+                                          ,fCentBin(-1)
 {//default constructor
 
 }
index ecda2c23c3b90ca2577a5d784f0f6bac3939a082..7b61ef10697396ad4f2906b0a692685b26697584 100644 (file)
@@ -153,6 +153,7 @@ protected:
     Float_t ProtonBaryonEnhancement(Float_t pt);//Function which gives the factor to reweigh a lambda or antilambda so it roughly matches baryon enhancement seen at RHIC
     TString fCentralityMethod;//string specifying the centrality method, see https://twiki.cern.ch/twiki/bin/viewauth/ALICE/CentStudies
     Int_t fNCentBins;//number of centrality bins (10 or 20)
+    Int_t fCentBin;//current centrality bin
 
 
  private: