]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HIJING/AliHijingRndm.h
update config objects for MultiplicityCorrelations
[u/mrichter/AliRoot.git] / HIJING / AliHijingRndm.h
CommitLineData
7cdba479 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
3fe46493 8#include <Rtypes.h>
9#include <TError.h>
10
11class TRandom;
7cdba479 12
13class AliHijingRndm {
14 public:
3fe46493 15 AliHijingRndm() {
16 // Default constructor. The static data member is initialized
17 // in the implementation file
18 }
19 AliHijingRndm(const AliHijingRndm &/*rn*/) {
20 // Copy constructor: no copy allowed for the object
21 ::Fatal("Copy constructor","Not allowed\n");
22 }
23 virtual ~AliHijingRndm() {
24 // Destructor
25 fgHijingRandom=0;
26 }
27 AliHijingRndm & operator=(const AliHijingRndm& /*rn*/) {
28 // Assignment operator: no assignment allowed
29 ::Fatal("Assignment operator","Not allowed\n");
30 return (*this);
31 }
7cdba479 32
33 static void SetHijingRandom(TRandom *ran=0);
34 static TRandom * GetHijingRandom();
35
36private:
7cdba479 37
38 static TRandom * fgHijingRandom; //! pointer to the random number generator
39
40 ClassDef(AliHijingRndm,0) //Random Number generator wrapper (non persistent)
41};
42
43#endif
44