Set sRandom in all cases
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 1 Dec 2000 22:27:23 +0000 (22:27 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 1 Dec 2000 22:27:23 +0000 (22:27 +0000)
STEER/AliRndm.h

index f446b78..f4d9396 100644 (file)
@@ -23,7 +23,7 @@ public:
   
   // Random number generator bit
   virtual void SetRandom(TRandom *ran=0)
-  {if(ran) fRandom=ran;
+  {if(ran) fRandom=sRandom=ran;
   else fRandom=sRandom=gRandom;}
 
   virtual TRandom* GetRandom() const {return fRandom;}