]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fix compilation warning on bit check on a sum
authorgconesab <gustavo.conesa.balbastre@cern.ch>
Mon, 17 Feb 2014 11:16:26 +0000 (12:16 +0100)
committergconesab <gustavo.conesa.balbastre@cern.ch>
Mon, 17 Feb 2014 11:17:29 +0000 (12:17 +0100)
PWG/CaloTrackCorrBase/AliCaloTrackReader.cxx

index 7f3f35b9eec68e95714459a382ee88a4a9e20843..ef99e283991d7a7e00ae6507deb05c35d946e974 100755 (executable)
@@ -2210,10 +2210,10 @@ TArrayI AliCaloTrackReader::GetTriggerPatches(Int_t tmin, Int_t tmax )
         Int_t sum = 0;
         caloTrigger->GetL1TimeSum(sum);
 
-        Bool_t isEGA1 = ((bit >> fBitEGA  ) & 0x1) && IsEventEMCALL1Gamma1() ;
-        Bool_t isEGA2 = ((bit >> fBitEGA+1) & 0x1) && IsEventEMCALL1Gamma2() ;
-        Bool_t isEJE1 = ((bit >> fBitEJE  ) & 0x1) && IsEventEMCALL1Jet1  () ;
-        Bool_t isEJE2 = ((bit >> fBitEJE+1) & 0x1) && IsEventEMCALL1Jet2  () ;
+        Bool_t isEGA1 = ((bit >>  fBitEGA   ) & 0x1) && IsEventEMCALL1Gamma1() ;
+        Bool_t isEGA2 = ((bit >> (fBitEGA+1)) & 0x1) && IsEventEMCALL1Gamma2() ;
+        Bool_t isEJE1 = ((bit >>  fBitEJE   ) & 0x1) && IsEventEMCALL1Jet1  () ;
+        Bool_t isEJE2 = ((bit >> (fBitEJE+1)) & 0x1) && IsEventEMCALL1Jet2  () ;
         
         if(!isEGA1 && !isEJE1 && !isEGA2 && !isEJE2) continue;