]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
cosmetics
authormcosenti <mcosenti@cern.ch>
Wed, 26 Nov 2014 11:05:55 +0000 (09:05 -0200)
committermcosenti <mcosenti@cern.ch>
Wed, 26 Nov 2014 11:06:36 +0000 (09:06 -0200)
PWGGA/EMCALTasks/AliAnalysisTaskEMCALIsoPhoton.cxx

index 9aa95512121a31933e10321275419543b6988e6c..60dbe040813ce92c46be7d0df247aa0f4bc86dd7 100644 (file)
@@ -967,14 +967,12 @@ void AliAnalysisTaskEMCALIsoPhoton::GetCeIso(TVector3 vec, Int_t maxid, Float_t
       continue;
     if(maxid==id)
       continue;
-    Double_t matchedpt =  0;
+    Double_t matchedpt =  GetTrackMatchedPt(c->GetTrackMatchedIndex());
     if(fCpvFromTrack){
-      matchedpt = GetTrackMatchedPt(c->GetTrackMatchedIndex());
       if(matchedpt>0 && fRemMatchClus )
        continue;
     } else {
       if(TMath::Abs(c->GetTrackDx())<0.03 && TMath::Abs(c->GetTrackDz())<0.02){
-       matchedpt = GetTrackMatchedPt(c->GetTrackMatchedIndex());
        if(fRemMatchClus){
          if(fDebug)
            printf("This isolation cluster is matched to a track!++++++++++++++++++++++++++++++++++++++++++++++++++\n");