1 #ifndef ALIHERWIGRNDM_H
2 #define ALIHERWIGRNDM_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //-----------------------------------------------------------------------------
9 // Class: AliHerwigRndm
10 // Responsibilities: Interface to Root random number generator
11 // from Fortran (re-implements FINCTION RLU_HERWIG
13 //-----------------------------------------------------------------------------
23 // Default constructor. The static data member is initialized
24 // in the implementation file
26 AliHerwigRndm(const AliHerwigRndm &/*rn*/) {
27 // Copy constructor: no copy allowed for the object
28 ::Fatal("Copy constructor","Not allowed\n");
30 virtual ~AliHerwigRndm() {
34 AliHerwigRndm & operator=(const AliHerwigRndm& /*rn*/) {
35 // Assignment operator: no assignment allowed
36 ::Fatal("Assignment operator","Not allowed\n");
40 static void SetHerwigRandom(TRandom *ran=0);
41 static TRandom * GetHerwigRandom();
45 static TRandom * fgHerwigRandom; //! pointer to the random number generator
47 ClassDef(AliHerwigRndm,0) //Random Number generator wrapper (non persistent)