]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
updates for next train (v2) and fixed waring (EMCal)
authorssakai <ssakai@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Jun 2013 08:47:59 +0000 (08:47 +0000)
committerssakai <ssakai@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 Jun 2013 08:47:59 +0000 (08:47 +0000)
PWGHF/hfe/AliAnalysisTaskFlowTPCTOFEPSP.cxx
PWGHF/hfe/AliAnalysisTaskHFECal.cxx

index 917410138cafdb1b5f4feb0af1187c9b973c04d1..989a2348f36aeae294fc798e73aba61122cb4120 100644 (file)
@@ -1557,11 +1557,11 @@ void AliAnalysisTaskFlowTPCTOFEPSP::UserExec(Option_t */*option*/)
   fHistPileUp->Fill(pileup);\r
 \r
   if(fPileUpCut){\r
-    // if (TMath::Abs(pileup[0]-pileup[1]) > 5) {\r
-    //   AliDebug(2,"Does not pass the centrality correlation cut");\r
-    //   return;\r
-    // }\r
-    if(multTPC < (-40.7+1.49*multGlob) && multTPC > (55.0+1.79*multGlob)){\r
+    if (TMath::Abs(pileup[0]-pileup[1]) > 5) {\r
+      AliDebug(2,"Does not pass the centrality correlation cut");\r
+      return;\r
+    }\r
+    if(multTPC < (-40.7+1.49*multGlob) || multTPC > (55.0+1.79*multGlob)){\r
       AliDebug(2,"Does not pass the multiplicity correlation cut");\r
       return;\r
     }\r
index ce7050e921ce3661e614529f33ee4d6d4e439a39..a69e2de6e0d68c4dac81f36a59358b1c8397e3d4 100644 (file)
@@ -1732,9 +1732,9 @@ void AliAnalysisTaskHFECal::SelectPhotonicElectron2(Int_t itrack, Double_t cent,
    electron1.SetXYZM(p1at[0], p1at[1], p1at[2], eMass);
    electron2.SetXYZM(p2at[0], p2at[1], p2at[2], eMass);
    openingAngle = TVector2::Phi_0_2pi(electron1.Angle(electron2.Vect()));
-
+   
    mother      = electron1 + electron2;
-   double invmassAtDCA  = mother.M();
+   //double invmassAtDCA  = mother.M();
   
    // 2D
    TLorentzVector electron1_2D;