evtgen
is hosted by
Hepforge
,
IPPP Durham
Home
Documentation
Downloads
Repository
Bug tracker
Join the mailing list
Contact the developers
Licence
Acknowledgements
EvtGen
2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
EvtGenExternal
EvtPythiaRandom.hh
Go to the documentation of this file.
1
2
/***********************************************************************
3
* Copyright 1998-2020 CERN for the benefit of the EvtGen authors *
4
* *
5
* This file is part of EvtGen. *
6
* *
7
* EvtGen is free software: you can redistribute it and/or modify *
8
* it under the terms of the GNU General Public License as published by *
9
* the Free Software Foundation, either version 3 of the License, or *
10
* (at your option) any later version. *
11
* *
12
* EvtGen is distributed in the hope that it will be useful, *
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15
* GNU General Public License for more details. *
16
* *
17
* You should have received a copy of the GNU General Public License *
18
* along with EvtGen. If not, see <https://www.gnu.org/licenses/>. *
19
***********************************************************************/
20
21
#ifdef EVTGEN_PYTHIA
22
23
#ifndef EVTPYTHIARANDOM_HH
24
#define EVTPYTHIARANDOM_HH
25
26
#include "
EvtGenBase/EvtRandom.hh
"
27
28
#include "Pythia8/Basics.h"
29
30
// Description: Class to specify the chosen EvtGen random number (engine)
31
// to also be used for Pythia 8.
32
33
class
EvtPythiaRandom :
public
Pythia8::RndmEngine {
34
public
:
35
EvtPythiaRandom(){};
36
37
virtual
~EvtPythiaRandom(){};
38
39
double
flat()
override
{
return
EvtRandom::Flat
(); }
40
41
private
:
42
};
43
44
#endif
45
46
#endif
EvtRandom.hh
EvtRandom::Flat
static double Flat()
Definition:
EvtRandom.cpp:72
Generated by
1.8.15