]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Correction for saving parent id.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 Aug 2007 09:29:37 +0000 (09:29 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 Aug 2007 09:29:37 +0000 (09:29 +0000)
TFluka/stuprf.cxx

index a8b9c5236a3c01ed7f9e0d4c4759f64330132b61..3bd2e2a543d389545c7a4f3df2b9e5dc33dc9fec 100644 (file)
@@ -51,11 +51,9 @@ extern "C" {
   if (numsec <= npprmr) {
       for (ispr = 0; ispr <= mkbmx1 - 1; ispr++) {
          FLKSTK.sparek[FLKSTK.npflka][ispr] = TRACKR.spausr[ispr];
-         TRACKR.spausr[ispr] = 0.;
       }  
       for (ispr = 0; ispr <= mkbmx2 - 1; ispr++) {
          FLKSTK.ispark[FLKSTK.npflka][ispr] = TRACKR.ispusr[ispr];
-         TRACKR.ispusr[ispr] = 0;
       }  
   }
   
@@ -86,7 +84,7 @@ extern "C" {
 // Now call the PushTrack(...)
     Int_t done = 0;
 
-    Int_t parent  =  TRACKR.ispusr[mkbmx2-1];
+    Int_t parent  = TRACKR.ispusr[mkbmx2-1];
     Int_t kpart   = GENSTK.kpart[numsec-1];
     if (kpart < -6) return; // -7 to -12 = "heavy" fragment
     Int_t  pdg  = fluka->PDGFromId(kpart);