]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/FLOW/AliFlowTasks/AliFlowEvent.cxx
added some QA to flow track cuts and event cuts, trackID fix, better redoFinish and...
[u/mrichter/AliRoot.git] / PWG2 / FLOW / AliFlowTasks / AliFlowEvent.cxx
index 845d8bfafccc5602bf314841f24b53c60fa11e09..e1bba7af3c738a41b69531871af3a2c969e98182 100644 (file)
@@ -641,13 +641,6 @@ void AliFlowEvent::Fill( AliFlowTrackCuts* rpCuts,
         if (!poiCuts->FillFlowTrack(pTrack)) continue;
         pTrack->TagPOI();
       }
-      
-      //store the index of the ESD track for AODs and ESDs
-      //TODO: should be moved to AliFlowTrackCuts
-      Int_t trackID = -1;
-      AliVTrack *toGetfID = dynamic_cast<AliVTrack*> (particle);
-      if (toGetfID) trackID = toGetfID->GetID();
-      pTrack->SetID(trackID);
       fNumberOfTracks++;
     }//end of while (i < numberOfTracks)
   }
@@ -745,14 +738,6 @@ AliFlowEvent::AliFlowEvent( AliFlowTrackCuts* rpCuts,
         if (!pTrack) continue;
         pTrack->TagPOI();
       }
-      
-      //store the index of the ESD track for AODs and ESDs
-      //TODO: should be moved to AliFlowTrackCuts
-      Int_t trackID = -1;
-      AliVTrack *toGetfID = dynamic_cast<AliVTrack*> (particle);
-      if (toGetfID) trackID = toGetfID->GetID();
-      pTrack->SetID(trackID);
-
       AddTrack(pTrack);
     }//end of while (i < numberOfTracks)
   }