]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
In Particle() use GetEntriesFast() to avoid slowing down. (Ivana Hrivnacova)
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 29 Jun 2001 07:59:56 +0000 (07:59 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 29 Jun 2001 07:59:56 +0000 (07:59 +0000)
STEER/AliStack.cxx

index ac9e0bd015c5cae20c2db09ddcfef9a0c2f71b17..e8d41a2e1fce45b3cf865ec08743121f709f6395 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.6  2001/05/31 06:59:06  fca
+Clean setting and deleting of fParticleBuffer
+
 Revision 1.5  2001/05/30 12:18:46  hristov
 Loop variables declared once
 
@@ -552,7 +555,7 @@ TParticle* AliStack::Particle(Int_t i)
   // Return particle with specified ID
   
   if(!(*fParticleMap)[i]) {
-    Int_t nentries = fParticles->GetEntries();
+    Int_t nentries = fParticles->GetEntriesFast();
     // algorithmic way of getting entry index
     // (primary particles are filled after secondaries)
     Int_t entry;