Corrected event counter.
authorloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 5 Nov 2004 09:28:20 +0000 (09:28 +0000)
committerloizides <loizides@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 5 Nov 2004 09:28:20 +0000 (09:28 +0000)
JETAN/AliJetParticlesReader.cxx
JETAN/AliJetParticlesReaderESD.cxx
JETAN/AliJetParticlesReaderHLT.cxx
JETAN/AliJetParticlesReaderKine.cxx
JETAN/AliJetParticlesReaderKineGoodTPC.cxx

index 7961214..321d9ce 100644 (file)
@@ -86,7 +86,7 @@ Int_t AliJetParticlesReader::Next()
        fTree->Branch("particles","AliJetEventParticles",&fEventParticles,32000,1);
        fNewTree=0;
       }
-      fEventParticles->SetEventNr(fNEventsRead);
+      fEventParticles->SetEventNr(fCurrentDir*1000+fCurrentEvent);
       fTree->Fill();
   }
   return kTRUE;
index 7f9b813..d3bbb3f 100644 (file)
@@ -98,7 +98,7 @@ Int_t AliJetParticlesReaderESD::ReadESD(AliESD* esd)
   }
   AliKalmanTrack::SetMagneticField(mf/10.);
 
-  Info("ReadESD","Reading Event %d",fCurrentEvent);
+  Info("ReadESD","Reading Event %d",fCurrentDir*1000+fCurrentEvent);
   if((!fOwner) || (fEventParticles==0)) 
     fEventParticles = new AliJetEventParticles();
 
index d52b344..3ae37f9 100644 (file)
@@ -72,7 +72,7 @@ Int_t AliJetParticlesReaderHLT::ReadESD(AliESD* esd)
   }
   AliKalmanTrack::SetMagneticField(mf/10.);
 
-  Info("ReadESD","Reading Event %d",fCurrentEvent);
+  Info("ReadESD","Reading Event %d",fCurrentDir*1000+fCurrentEvent);
   if((!fOwner) || (fEventParticles==0)) 
     fEventParticles = new AliJetEventParticles();
 
index 1fb6b95..0e7effe 100644 (file)
@@ -100,7 +100,7 @@ Int_t AliJetParticlesReaderKine::ReadNext()
          continue; 
        }
      
-      Info("ReadNext","Reading Event %d",fCurrentEvent);
+      Info("ReadNext","Reading Event %d",fCurrentDir*1000+fCurrentEvent);
       fRunLoader->GetEvent(fCurrentEvent);
       AliStack* stack = fRunLoader->Stack();
       if (!stack)
index 10f0cdb..9701081 100644 (file)
@@ -85,7 +85,7 @@ Int_t AliJetParticlesReaderKineGoodTPC::ReadNext()
        continue;
       }
     
-      Info("ReadNext","Reading Event %d",fCurrentEvent);
+      Info("ReadNext","Reading Event %d",fCurrentDir*1000+fCurrentEvent);
 
       Int_t label,code;
       Float_t px,py,pz,x,y,z;