cov fix
authormcosenti <mcosenti@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 13 May 2013 14:57:40 +0000 (14:57 +0000)
committermcosenti <mcosenti@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 13 May 2013 14:57:40 +0000 (14:57 +0000)
PWGGA/EMCALTasks/AliAnalysisTaskEMCALPhoton.cxx

index f93098b..791400a 100644 (file)
@@ -715,8 +715,8 @@ void  AliAnalysisTaskEMCALPhoton::GetMcParts()
     }
     Double_t phi  = mcP->Phi();
     if (phi<1.0||phi>3.3){
-      mcp->fLabel = iTrack;
       mcp = static_cast<AliPhotonMcPartObj*>(fMyMcParts->New(iTrack));
+      mcp->fLabel = iTrack;
       continue;
     }
     // pion or eta meson or direct photon