]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Whoops, perhaps a little fast on previous commit. Code relies on
authorcholm <Christian.Holm.Christensen@cern.ch>
Wed, 7 May 2014 13:22:04 +0000 (15:22 +0200)
committercholm <Christian.Holm.Christensen@cern.ch>
Wed, 7 May 2014 13:22:04 +0000 (15:22 +0200)
patch for STEER/ESD/AliESDFMD.{h,cxx}.  This fixes it until
Peter patches up the files above.  Sorry for the inconvinence.

PWGLF/FORWARD/analysis2/AliFMDESDFixer.cxx

index 85bb66f0b42b027b600a6e17fde1f31e3c8cc84a..e9a7ed629205dd409ee00b3f65c3cfc2bd5f1e87 100644 (file)
@@ -187,11 +187,18 @@ AliFMDESDFixer::FindTargetNoiseFactor(const AliESDFMD& esd, Bool_t check) const
   if (!IsUseNoiseCorrection()) 
     // If the reconstruction factor was high (4 or more), do nothing 
     return 0;
-
+#if 1
+  if (!esd.TestBit(1 << 14)) { 
+    // If the bit isn't set, do nothing
+    return 0;
+  }
+#else 
+  // Uncommented until Peter commits patch to STEER/ESD
   if (!esd.NeedNoiseFix()) { 
-    // If the bit isn't set, doo nothing
+    // If the bit isn't set, do nothing
     return 0;
   }
+#endif
   
   // Get the target factor - even thought the method below returns a
   // floating point value, we know that the noise factor is always