Coverity fix: CID 22038
authorsaiola <salvatore.aiola@cern.ch>
Wed, 16 Jul 2014 14:32:00 +0000 (10:32 -0400)
committersaiola <salvatore.aiola@cern.ch>
Wed, 16 Jul 2014 14:32:00 +0000 (10:32 -0400)
PWG/EMCAL/AliHadCorrTask.cxx

index cbdbf545269f04d5dcb290ecef19af28e7faeb1f..8667ae5256ecec08f42648ad8ac685cde2ae224c 100644 (file)
@@ -582,8 +582,8 @@ void AliHadCorrTask::DoTrackLoop()
       if (!emccluster) continue;
 
       AliVCluster *cluster = emccluster->GetCluster();
-      if (!cluster->IsEMCAL()) continue;
       if (!cluster) continue;
+      if (!cluster->IsEMCAL()) continue;
 
       Double_t etadiff = 999;
       Double_t phidiff = 999;