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 38c3f88680e8e250b06b189cf9ec1e70c9d44d5c..0e28cbd3965c93143b6042ba425a113d9f0d6e8a 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 50596f288ad3134c34d786d7af473ed1eebd38cf..8e58a55825eef152e56733166bb42621cb6ea4e8 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));