]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ISAJET/AliIsajetRndm.h
Bug fix. Missing {} that was causing a false information message that the trigger...
[u/mrichter/AliRoot.git] / ISAJET / AliIsajetRndm.h
1 #ifndef ALIISAJETRNDM_H
2 #define ALIISAJETRNDM_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 <Rtypes.h>
9 #include <TError.h>
10
11 class TRandom;
12
13 class AliIsajetRndm {
14  public:
15   AliIsajetRndm() {
16     // Default constructor. The static data member is initialized
17     // in the implementation file
18   }
19   AliIsajetRndm(const AliIsajetRndm &/*rn*/) {
20     // Copy constructor: no copy allowed for the object
21     ::Fatal("Copy constructor","Not allowed\n");
22   }
23   virtual ~AliIsajetRndm() {
24     // Destructor
25     fgIsajetRandom=0;
26   }
27   AliIsajetRndm & operator=(const AliIsajetRndm &/*rn*/) {
28     // Assignment operator: no assignment allowed
29     ::Fatal("Assignment operator","Not allowed\n");
30     return (*this);
31   }
32   
33   static void SetIsajetRandom(TRandom *ran=0);
34   static TRandom * GetIsajetRandom();
35
36 private:
37
38   static TRandom * fgIsajetRandom; //! pointer to the random number generator
39
40   ClassDef(AliIsajetRndm,0)  //Random Number generator wrapper (non persistent)
41 };
42
43 #endif 
44