]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PYTHIA6/AliPythiaRndm.h
Bug fixes, warnings only in case of debug option, more comments (P.Skowronski)
[u/mrichter/AliRoot.git] / PYTHIA6 / AliPythiaRndm.h
1 #ifndef ALIPYTHIARNDM_H
2 #define ALIPYTHIARNDM_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 AliPythiaRndm {
11  public:
12   AliPythiaRndm();
13   AliPythiaRndm(const AliPythiaRndm &rnd);
14   virtual ~AliPythiaRndm();
15   AliPythiaRndm & operator=(const AliPythiaRndm& rn) 
16     {rn.Copy(*this); return (*this);}
17   
18   static void SetPythiaRandom(TRandom *ran=0);
19   static TRandom * GetPythiaRandom();
20
21 private:
22   void Copy(AliPythiaRndm &rn) const;
23
24   static TRandom * fgPythiaRandom; //! pointer to the random number generator
25
26   ClassDef(AliPythiaRndm,0)  //Random Number generator wrapper (non persistent)
27 };
28
29 #endif 
30