removed redundant check
authorsnelling <snelling@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 16 Jun 2009 09:51:26 +0000 (09:51 +0000)
committersnelling <snelling@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 16 Jun 2009 09:51:26 +0000 (09:51 +0000)
PWG2/FLOW/AliFlowTasks/AliFlowEventSimpleMaker.cxx

index 701944c..e28dc99 100644 (file)
@@ -397,14 +397,13 @@ AliFlowEventSimple* AliFlowEventSimpleMaker::FillTracks(AliESDEvent* anInput, Al
   
   AliFlowEventSimple* pEvent = new AliFlowEventSimple(10);
     
-  Int_t iN = iNumberOfInputTracks; //maximum number of tracks in AliFlowEventSimple
   Int_t iGoodTracks = 0;           //number of good tracks
   Int_t itrkN = 0;                 //track counter
   Int_t iSelParticlesPOI = 0;     //number of tracks selected for Diff
   Int_t iSelParticlesRP = 0;      //number of tracks selected for Int
 
   //normal loop
-  while (iGoodTracks < iN && itrkN < iNumberOfInputTracks) {
+  while (itrkN < iNumberOfInputTracks) {
     AliESDtrack* pParticle = anInput->GetTrack(itrkN);   //get input particle
     //make new AliFLowTrackSimple
     AliFlowTrackSimple* pTrack = new AliFlowTrackSimple();