]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PYTHIA6/AliPythiaRndm.h
Changes related to the initialization of random numbers generators. Now one can use...
[u/mrichter/AliRoot.git] / PYTHIA6 / AliPythiaRndm.h
CommitLineData
7cdba479 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
10class 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
21private:
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