]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix for multiple events per file: inhibit decrease of size of fParticleFileMap.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 9 Mar 2001 14:27:26 +0000 (14:27 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 9 Mar 2001 14:27:26 +0000 (14:27 +0000)
STEER/AliRun.cxx

index 8b0f876ba5dbc24cd97ac2c53878f33f08e93587..5447c982610741830e62220d95d800406ec33b3b 100644 (file)
 
 /*
 $Log$
+Revision 1.57  2001/02/23 17:40:23  buncic
+All trees needed for simulation created in RunMC(). TreeR and its branches
+are now created in new RunReco() method.
+
 Revision 1.56  2001/02/14 15:45:20  hristov
 Algorithmic way of getting entry index in fParticleMap. Protection of fParticleFileMap (I.Hrivnacova)
 
@@ -597,6 +601,7 @@ void AliRun::FinishEvent()
     CleanParents();
     if(fTreeK->GetEntries() ==0) {
       // set the fParticleFileMap size for the first time
+      if (fHgwmk+1 > fParticleFileMap.GetSize())
       fParticleFileMap.Set(fHgwmk+1);
     }
      //    fTreeK->Fill();