#include <Py8InterfaceBase.h>
Public Member Functions | |
virtual const char * | classname () const =0 |
bool | decay () |
bool | declareSpecialSettings (const std::vector< std::string > &) |
bool | declareStableParticles (const std::vector< int > &) |
virtual void | finalizeEvent ()=0 |
virtual bool | generatePartonsAndHadronize ()=0 |
virtual bool | initializeForInternalPartons ()=0 |
void | p8SetRandomEngine (CLHEP::HepRandomEngine *v) |
Py8InterfaceBase (edm::ParameterSet const &ps) | |
P8RndmEngine & | randomEngine () |
bool | readSettings (int) |
virtual void | statistics () |
~Py8InterfaceBase () | |
Protected Attributes | |
HepMC::IO_AsciiParticles * | ascii_io |
EvtGenDecays * | evtgenDecays |
std::string | evtgenDecFile |
std::string | evtgenPdlFile |
std::auto_ptr< Pythia8::Pythia > | fDecayer |
std::auto_ptr< Pythia8::Pythia > | fMasterGen |
ParameterCollector | fParameters |
unsigned int | maxEventsToPrint |
bool | pythiaHepMCVerbosity |
bool | pythiaHepMCVerbosityParticles |
unsigned int | pythiaPylistVerbosity |
HepMC::Pythia8ToHepMC | toHepMC |
bool | useEvtGen |
Private Attributes | |
P8RndmEngine | p8RndmEngine_ |
Definition at line 23 of file Py8InterfaceBase.h.
gen::Py8InterfaceBase::Py8InterfaceBase | ( | edm::ParameterSet const & | ps | ) |
Definition at line 14 of file Py8InterfaceBase.cc.
References ascii_io, evtgenDecFile, evtgenPdlFile, edm::ParameterSet::exists(), fDecayer, fMasterGen, fParameters, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), maxEventsToPrint, dbtoconf::out, p8RndmEngine_, pythiaHepMCVerbosity, pythiaHepMCVerbosityParticles, pythiaPylistVerbosity, AlCaHLTBitMon_QueryRunRegistry::string, and useEvtGen.
|
inline |
Definition at line 28 of file Py8InterfaceBase.h.
|
pure virtual |
Implemented in Pythia8Hadronizer, gen::Py8EGun, gen::Py8JetGun, and gen::Py8PtGun.
|
inline |
Definition at line 31 of file Py8InterfaceBase.h.
bool gen::Py8InterfaceBase::declareSpecialSettings | ( | const std::vector< std::string > & | settings | ) |
Definition at line 115 of file Py8InterfaceBase.cc.
References fDecayer, spr::find(), fMasterGen, AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
bool gen::Py8InterfaceBase::declareStableParticles | ( | const std::vector< int > & | pdgIds | ) |
Definition at line 82 of file Py8InterfaceBase.cc.
References fMasterGen, and i.
|
pure virtual |
Implemented in Pythia8Hadronizer, and gen::Py8GunBase.
|
pure virtual |
Implemented in Pythia8Hadronizer, gen::Py8EGun, gen::Py8JetGun, and gen::Py8PtGun.
|
pure virtual |
Implemented in Pythia8Hadronizer, and gen::Py8GunBase.
|
inline |
Definition at line 40 of file Py8InterfaceBase.h.
References p8RndmEngine_, and gen::P8RndmEngine::setRandomEngine().
Referenced by gen::Py8GunBase::setRandomEngine().
|
inline |
Definition at line 41 of file Py8InterfaceBase.h.
References p8RndmEngine_.
Referenced by gen::Py8JetGun::generatePartonsAndHadronize(), gen::Py8PtGun::generatePartonsAndHadronize(), and gen::Py8EGun::generatePartonsAndHadronize().
bool gen::Py8InterfaceBase::readSettings | ( | int | ) |
Definition at line 54 of file Py8InterfaceBase.cc.
References gen::ParameterCollector::begin(), gen::ParameterCollector::end(), fDecayer, fMasterGen, fParameters, and geometryCSVtoXML::line.
|
virtual |
Reimplemented in Pythia8Hadronizer, and gen::Py8GunBase.
Definition at line 132 of file Py8InterfaceBase.cc.
References fMasterGen.
|
protected |
Definition at line 54 of file Py8InterfaceBase.h.
Referenced by gen::Py8GunBase::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), and Py8InterfaceBase().
|
protected |
Definition at line 59 of file Py8InterfaceBase.h.
Referenced by gen::Py8EGun::generatePartonsAndHadronize(), Pythia8Hadronizer::generatePartonsAndHadronize(), Pythia8Hadronizer::hadronize(), Pythia8Hadronizer::initializeForExternalPartons(), gen::Py8GunBase::initializeForInternalPartons(), and Pythia8Hadronizer::initializeForInternalPartons().
|
protected |
Definition at line 60 of file Py8InterfaceBase.h.
Referenced by Pythia8Hadronizer::initializeForExternalPartons(), gen::Py8GunBase::initializeForInternalPartons(), Pythia8Hadronizer::initializeForInternalPartons(), and Py8InterfaceBase().
|
protected |
Definition at line 61 of file Py8InterfaceBase.h.
Referenced by Pythia8Hadronizer::initializeForExternalPartons(), gen::Py8GunBase::initializeForInternalPartons(), Pythia8Hadronizer::initializeForInternalPartons(), and Py8InterfaceBase().
|
protected |
Definition at line 46 of file Py8InterfaceBase.h.
Referenced by declareSpecialSettings(), Pythia8Hadronizer::initializeForExternalPartons(), gen::Py8GunBase::initializeForInternalPartons(), Pythia8Hadronizer::initializeForInternalPartons(), Py8InterfaceBase(), readSettings(), gen::Py8GunBase::residualDecay(), and Pythia8Hadronizer::residualDecay().
|
protected |
Definition at line 45 of file Py8InterfaceBase.h.
Referenced by declareSpecialSettings(), declareStableParticles(), gen::Py8GunBase::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), gen::Py8JetGun::generatePartonsAndHadronize(), gen::Py8PtGun::generatePartonsAndHadronize(), gen::Py8EGun::generatePartonsAndHadronize(), Pythia8Hadronizer::generatePartonsAndHadronize(), Pythia8Hadronizer::hadronize(), Pythia8Hadronizer::initializeForExternalPartons(), gen::Py8GunBase::initializeForInternalPartons(), Pythia8Hadronizer::initializeForInternalPartons(), Py8InterfaceBase(), Pythia8Hadronizer::Pythia8Hadronizer(), readSettings(), gen::Py8GunBase::residualDecay(), Pythia8Hadronizer::residualDecay(), statistics(), gen::Py8GunBase::statistics(), and Pythia8Hadronizer::statistics().
|
protected |
Definition at line 48 of file Py8InterfaceBase.h.
Referenced by Py8InterfaceBase(), Pythia8Hadronizer::Pythia8Hadronizer(), and readSettings().
|
protected |
Definition at line 53 of file Py8InterfaceBase.h.
Referenced by gen::Py8GunBase::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), and Py8InterfaceBase().
|
private |
Definition at line 65 of file Py8InterfaceBase.h.
Referenced by p8SetRandomEngine(), Py8InterfaceBase(), and randomEngine().
|
protected |
Definition at line 51 of file Py8InterfaceBase.h.
Referenced by gen::Py8GunBase::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), and Py8InterfaceBase().
|
protected |
Definition at line 52 of file Py8InterfaceBase.h.
Referenced by gen::Py8GunBase::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), and Py8InterfaceBase().
|
protected |
Definition at line 50 of file Py8InterfaceBase.h.
Referenced by gen::Py8GunBase::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), Pythia8Hadronizer::initializeForExternalPartons(), Pythia8Hadronizer::initializeForInternalPartons(), and Py8InterfaceBase().
|
protected |
Definition at line 47 of file Py8InterfaceBase.h.
Referenced by gen::Py8JetGun::generatePartonsAndHadronize(), gen::Py8PtGun::generatePartonsAndHadronize(), gen::Py8EGun::generatePartonsAndHadronize(), Pythia8Hadronizer::generatePartonsAndHadronize(), Pythia8Hadronizer::hadronize(), gen::Py8GunBase::residualDecay(), and Pythia8Hadronizer::residualDecay().
|
protected |
Definition at line 58 of file Py8InterfaceBase.h.
Referenced by Pythia8Hadronizer::initializeForExternalPartons(), gen::Py8GunBase::initializeForInternalPartons(), Pythia8Hadronizer::initializeForInternalPartons(), and Py8InterfaceBase().