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 cbdbf54..8667ae5 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;