Correcting warnings
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Mar 2008 13:43:46 +0000 (13:43 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 20 Mar 2008 13:43:46 +0000 (13:43 +0000)
DPMJET/pythia6115dpm3.f
TDPMjet/AliGenDPMjet.cxx

index 38c3f88..0e28cbd 100644 (file)
@@ -37724,7 +37724,7 @@ C...Update counters. Random number to output.
         MRPY2=MRPY2+1
         MRPY3=0
       ENDIF
-      PYR=RUNI
+      XPYR=RUNI
 
       RETURN
       END
index 50596f2..8e58a55 100644 (file)
@@ -303,7 +303,7 @@ void AliGenDPMjet::Generate()
              if (hasMother) {
                  imo = iparticle->GetFirstMother();
                  mother = (TParticle *) fParticles->At(imo);
-                 imo = (mother->GetPdgCode() != 92) ? imo = newPos[imo] : -1;
+                 imo = (mother->GetPdgCode() != 92) ? newPos[imo] : -1;
              } // if has mother   
 
              Bool_t tFlag = (fTrackIt && (ks == 1));