]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HIJING/AliHijingRndm.h
Changes related to the initialization of random numbers generators. Now one can use...
[u/mrichter/AliRoot.git] / HIJING / AliHijingRndm.h
1 #ifndef ALIHIJINGRNDM_H
2 #define ALIHIJINGRNDM_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 #include "TRandom.h"
9
10 class AliHijingRndm {
11  public:
12   AliHijingRndm();
13   AliHijingRndm(const AliHijingRndm &rnd);
14   virtual ~AliHijingRndm();
15   AliHijingRndm & operator=(const AliHijingRndm& rn) 
16     {rn.Copy(*this); return (*this);}
17   
18   static void SetHijingRandom(TRandom *ran=0);
19   static TRandom * GetHijingRandom();
20
21 private:
22   void Copy(AliHijingRndm &rn) const;
23
24   static TRandom * fgHijingRandom; //! pointer to the random number generator
25
26   ClassDef(AliHijingRndm,0)  //Random Number generator wrapper (non persistent)
27 };
28
29 #endif 
30