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 7961214f5300f5cfc86102aa217f1d3e486bc3d9..321d9ce4b43e3bb74bf619e708abdc6b6fdcc43c 100644 (file)
@@ -86,7 +86,7 @@ Int_t AliJetParticlesReader::Next()
        fTree->Branch("particles","AliJetEventParticles",&fEventParticles,32000,1);
        fNewTree=0;
       }
        fTree->Branch("particles","AliJetEventParticles",&fEventParticles,32000,1);
        fNewTree=0;
       }
-      fEventParticles->SetEventNr(fNEventsRead);
+      fEventParticles->SetEventNr(fCurrentDir*1000+fCurrentEvent);
       fTree->Fill();
   }
   return kTRUE;
       fTree->Fill();
   }
   return kTRUE;
index 7f9b813ae4dfdef10f01fadad1542f545bdfe2e1..d3bbb3f3380d9800d4abe87ab05c15c68c6be041 100644 (file)
@@ -98,7 +98,7 @@ Int_t AliJetParticlesReaderESD::ReadESD(AliESD* esd)
   }
   AliKalmanTrack::SetMagneticField(mf/10.);
 
   }
   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();
 
   if((!fOwner) || (fEventParticles==0)) 
     fEventParticles = new AliJetEventParticles();
 
index d52b344a88a0c507915fc15fdea9d726c195c657..3ae37f9dab78e997a8838d17a844623d18f40b56 100644 (file)
@@ -72,7 +72,7 @@ Int_t AliJetParticlesReaderHLT::ReadESD(AliESD* esd)
   }
   AliKalmanTrack::SetMagneticField(mf/10.);
 
   }
   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();
 
   if((!fOwner) || (fEventParticles==0)) 
     fEventParticles = new AliJetEventParticles();
 
index 1fb6b9533d74637743b8e935fcf250fdfb0ca44d..0e7effeec09561a7c748b80b739c2eccfff92d22 100644 (file)
@@ -100,7 +100,7 @@ Int_t AliJetParticlesReaderKine::ReadNext()
          continue; 
        }
      
          continue; 
        }
      
-      Info("ReadNext","Reading Event %d",fCurrentEvent);
+      Info("ReadNext","Reading Event %d",fCurrentDir*1000+fCurrentEvent);
       fRunLoader->GetEvent(fCurrentEvent);
       AliStack* stack = fRunLoader->Stack();
       if (!stack)
       fRunLoader->GetEvent(fCurrentEvent);
       AliStack* stack = fRunLoader->Stack();
       if (!stack)
index 10f0cdb3a132271e8653c1d3e9556555dbfd1876..9701081c7eae025789f97c5d273c0b8b9a94ec7a 100644 (file)
@@ -85,7 +85,7 @@ Int_t AliJetParticlesReaderKineGoodTPC::ReadNext()
        continue;
       }
     
        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;
 
       Int_t label,code;
       Float_t px,py,pz,x,y,z;