Avoid warning.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 1 Aug 2003 13:16:15 +0000 (13:16 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 1 Aug 2003 13:16:15 +0000 (13:16 +0000)
FASTSIM/readPrimaries.C

index 6cf78ff..d790290 100644 (file)
@@ -23,11 +23,10 @@ void readPrimaries(Int_t evNumber1=0, Int_t evNumber2=0)
 //
 //   Loop over events 
 //
-    
+    rl->LoadKinematics();
+    rl->LoadHeader();    
     for (Int_t nev=0; nev<= evNumber2; nev++) {
        rl->GetEvent(nev);
-       rl->LoadKinematics();
-       rl->LoadHeader();
        AliStack* stack = rl->Stack();
        Int_t npart = stack->GetNprimary();
        if (nev < evNumber1) continue;