- temporary disabled the weighting for LHC12f1a,f1b,i3
authorfbock <friederike.bock@cern.ch>
Sat, 29 Nov 2014 12:38:27 +0000 (13:38 +0100)
committerfbock <friederike.bock@cern.ch>
Sat, 29 Nov 2014 12:38:27 +0000 (13:38 +0100)
PWGGA/GammaConv/AliConvEventCuts.cxx
PWGGA/GammaConv/AliConvEventCuts.h

index f5f8a61..0c7bcbc 100644 (file)
@@ -2063,9 +2063,9 @@ Int_t AliConvEventCuts::IsEventAcceptedByCut(AliConvEventCuts *ReaderCuts, AliVE
 
 //_________________________________________________________________________
 Float_t AliConvEventCuts::GetWeightForMeson(TString period, Int_t index, AliStack *MCStack, AliVEvent *InputEvent){
-       if (!(period.CompareTo("LHC12f1a") == 0 || period.CompareTo("LHC12f1b") == 0  || period.CompareTo("LHC12i3") == 0 || period.CompareTo("LHC11a10a") == 0 || period.CompareTo("LHC11a10b") == 0 || period.CompareTo("LHC11a10b_bis") == 0 || period.CompareTo("LHC11a10a_bis") == 0 || period.CompareTo("LHC11a10b_plus") == 0 || period.Contains("LHC13d2")|| period.Contains("LHC14a1") || 
+       if (!( period.CompareTo("LHC11a10a") == 0 || period.CompareTo("LHC11a10b") == 0 || period.CompareTo("LHC11a10b_bis") == 0 || period.CompareTo("LHC11a10a_bis") == 0 || period.CompareTo("LHC11a10b_plus") == 0 || period.Contains("LHC13d2")|| period.Contains("LHC14a1") || 
        period.CompareTo("LHC13e7") == 0 || period.Contains("LHC13b2_efix") || period.CompareTo("LHC14b2") == 0 )) return 1.;
-
+       //period.CompareTo("LHC12f1a") == 0 || period.CompareTo("LHC12f1b") == 0  || period.CompareTo("LHC12i3") == 0 ||
        Int_t kCaseGen = 0;
        for (Int_t i = 0; i < fnHeaders; i++){
                if (index >= fNotRejectedStart[i] && index < fNotRejectedEnd[i]+1){
index e715ca3..5a1184d 100644 (file)
@@ -186,7 +186,7 @@ class AliConvEventCuts : public AliAnalysisCuts {
                // Request Flags
                Int_t           IsHeavyIon()                                                                                    { return fIsHeavyIon                                                                    ; }
                void            DoEtaShift(Bool_t doEtaShift)                                                   { fDoEtaShift = doEtaShift                                                              ; }
-       
+               
                
        protected:
                TList                                           *fHistograms;