Adding TAmpt (Constantin)
[u/mrichter/AliRoot.git] / TAmpt / AMPT / AliAmptRndm.h
CommitLineData
0119ef9a 1#ifndef ALIAMPTRNDM_H
2#define ALIAMPTRNDM_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
11class TRandom;
12
13class AliAmptRndm {
14 public:
15 AliAmptRndm() {}
16 virtual ~AliAmptRndm() {
17 fgAmptRandom=0;
18 }
19
20 static void SetAmptRandom(TRandom *ran=0);
21 static TRandom * GetAmptRandom();
22
23private:
24 AliAmptRndm(const AliAmptRndm &Ampt);
25 AliAmptRndm &operator=(const AliAmptRndm &rhs);
26
27 static TRandom * fgAmptRandom; //! pointer to the random number generator
28
29 ClassDef(AliAmptRndm,0) //Random Number generator wrapper (non persistent)
30};
31
32#endif
33