PandaRoot
ChiGenRandomEngine.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 /*
14  * @author Alexey Luchinsky
15  * @author Stanislav Poslavsky (stvlpos (at) mail.ru)
16  */
17 
18 #ifndef CHIGENRANDOMENGINE_H
19 #define CHIGENRANDOMENGINE_H
20 
21 #include "EvtGenBase/EvtRandomEngine.hh"
22 #include "Basics.h"
23 #include "TNamed.h"
24 
25 namespace chigen {
26 
27 class ChiGenRandomEngine : public EvtRandomEngine, public Pythia8::RndmEngine, public TNamed {
28  public:
34  ChiGenRandomEngine(long seed = 1L);
35 
42  virtual double random();
48  virtual double flat();
49 
55  int getSeed() const { return seed; }
56 
57  private:
58  long seed;
59 };
60 } // namespace chigen
61 
62 #endif /* CHIGENRANDOMENGINE_H */
Definition: ChiGen.h:24
virtual double random()
ChiGenRandomEngine(long seed=1L)