]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALTrigger.cxx
ATO-97 Function to connect CalPads trees into the common Tree as friend trees. naming...
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTrigger.cxx
index 302a098281f5b7dcc2c988f075298b115b51b495..a8ed0f3f8b9c076a24d6ab91c8e5e53b4b8dd951 100644 (file)
@@ -1090,7 +1090,7 @@ Double_t AliEMCALTrigger::GetEmcalSumAmp() const
 { 
   // Return sum of amplidutes from EMCal
   // Used calibration coefficeint for transition to energy
-  return fAmpJetMatrix >0 ?fAmpJetMatrix->Sum() :0.0;
+  return fAmpJetMatrix ?fAmpJetMatrix->Sum() :0.0;
 }
 
 //____________________________________________________________________________