#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 | makeTmpSLHA (const std::string &) |
void | p8SetRandomEngine (CLHEP::HepRandomEngine *v) |
Py8InterfaceBase (edm::ParameterSet const &ps) | |
P8RndmEngine & | randomEngine () |
bool | readSettings (int) |
virtual void | statistics () |
~Py8InterfaceBase () override | |
Public Member Functions inherited from gen::BaseHadronizer | |
BaseHadronizer (edm::ParameterSet const &ps) | |
void | cleanLHE () |
void | generateLHE (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine, unsigned int ncpu) |
edm::Event & | getEDMEvent () const |
std::unique_ptr< HepMC::GenEvent > | getGenEvent () |
std::unique_ptr< GenEventInfoProduct > | getGenEventInfo () |
virtual std::unique_ptr< GenLumiInfoHeader > | getGenLumiInfoHeader () const |
GenRunInfoProduct & | getGenRunInfo () |
std::unique_ptr< lhef::LHEEvent > | getLHEEvent () |
const std::shared_ptr< lhef::LHERunInfo > & | getLHERunInfo () const |
const std::string & | gridpackPath () const |
int | randomIndex () const |
const std::string & | randomInitConfigDescription () const |
void | randomizeIndex (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine) |
void | resetEvent (std::unique_ptr< HepMC::GenEvent > event) |
void | resetEventInfo (std::unique_ptr< GenEventInfoProduct > eventInfo) |
virtual bool | select (HepMC::GenEvent *) const |
void | setEDMEvent (edm::Event &event) |
void | setLHEEvent (std::unique_ptr< lhef::LHEEvent > event) |
void | setLHERunInfo (std::unique_ptr< lhef::LHERunInfo > runInfo) |
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
std::vector< std::string > const & | sharedResources () const |
virtual | ~BaseHadronizer () noexcept(false) |
Protected Attributes | |
HepMC::IO_AsciiParticles * | ascii_io |
std::shared_ptr< Pythia8::EvtGenDecays > | evtgenDecays |
std::string | evtgenDecFile |
std::string | evtgenPdlFile |
std::vector< std::string > | evtgenUserFiles |
std::unique_ptr< Pythia8::Pythia > | fDecayer |
std::unique_ptr< Pythia8::Pythia > | fMasterGen |
edm::ParameterSet | fParameters |
unsigned int | maxEventsToPrint |
bool | pythiaHepMCVerbosity |
bool | pythiaHepMCVerbosityParticles |
unsigned int | pythiaPylistVerbosity |
std::string | slhafile_ |
HepMC::Pythia8ToHepMC | toHepMC |
bool | useEvtGen |
Protected Attributes inherited from gen::BaseHadronizer | |
std::string | lheFile_ |
int | randomIndex_ |
Private Attributes | |
P8RndmEngine | p8RndmEngine_ |
Additional Inherited Members | |
Protected Member Functions inherited from gen::BaseHadronizer | |
std::unique_ptr< HepMC::GenEvent > & | event () |
std::unique_ptr< GenEventInfoProduct > & | eventInfo () |
lhef::LHEEvent * | lheEvent () |
lhef::LHERunInfo * | lheRunInfo () |
GenRunInfoProduct & | runInfo () |
Definition at line 27 of file Py8InterfaceBase.h.
gen::Py8InterfaceBase::Py8InterfaceBase | ( | edm::ParameterSet const & | ps | ) |
Definition at line 19 of file Py8InterfaceBase.cc.
References ascii_io, evtgenDecFile, evtgenPdlFile, evtgenUserFiles, edm::ParameterSet::exists(), ztee::fd, fParameters, edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, maxEventsToPrint, MillePedeFileConverter_cfg::out, pythiaHepMCVerbosity, pythiaHepMCVerbosityParticles, pythiaPylistVerbosity, AlCaHLTBitMon_QueryRunRegistry::string, useEvtGen, and writeEcalDQMStatus::write.
|
inlineoverride |
Definition at line 30 of file Py8InterfaceBase.h.
|
pure virtual |
Implemented in Pythia8Hadronizer, gen::Py8EGun, gen::Py8JetGun, gen::Py8MassGun, gen::Py8PtAndDxyGun, gen::Py8PtGun, and gen::Py8PtotGun.
|
inline |
Definition at line 33 of file Py8InterfaceBase.h.
bool gen::Py8InterfaceBase::declareSpecialSettings | ( | const std::vector< std::string > & | settings | ) |
Definition at line 212 of file Py8InterfaceBase.cc.
References fDecayer, spr::find(), fMasterGen, and AlCaHLTBitMon_QueryRunRegistry::string.
bool gen::Py8InterfaceBase::declareStableParticles | ( | const std::vector< int > & | pdgIds | ) |
Definition at line 185 of file Py8InterfaceBase.cc.
References fMasterGen, mps_fire::i, and CosmicGenFilterHelix_cfi::pdgIds.
|
pure virtual |
Implemented in Pythia8Hadronizer, and gen::Py8GunBase.
|
pure virtual |
Implemented in Pythia8Hadronizer, gen::Py8EGun, gen::Py8JetGun, gen::Py8MassGun, gen::Py8PtAndDxyGun, gen::Py8PtGun, and gen::Py8PtotGun.
|
pure virtual |
Implemented in Pythia8Hadronizer, and gen::Py8GunBase.
void gen::Py8InterfaceBase::makeTmpSLHA | ( | const std::string & | slhatable | ) |
Definition at line 173 of file Py8InterfaceBase.cc.
References ztee::fd, fMasterGen, slhafile_, and writeEcalDQMStatus::write.
Referenced by readSettings().
|
inline |
Definition at line 43 of file Py8InterfaceBase.h.
References p8RndmEngine_, gen::P8RndmEngine::setRandomEngine(), and gen::v.
Referenced by gen::Py8GunBase::setRandomEngine().
|
inline |
Definition at line 44 of file Py8InterfaceBase.h.
References p8RndmEngine_.
Referenced by gen::Py8PtAndDxyGun::generatePartonsAndHadronize(), gen::Py8PtGun::generatePartonsAndHadronize(), gen::Py8PtotGun::generatePartonsAndHadronize(), gen::Py8JetGun::generatePartonsAndHadronize(), gen::Py8EGun::generatePartonsAndHadronize(), and gen::Py8MassGun::generatePartonsAndHadronize().
bool gen::Py8InterfaceBase::readSettings | ( | int | ) |
Definition at line 72 of file Py8InterfaceBase.cc.
References gen::ParameterCollector::begin(), gen::ParameterCollector::end(), edm::ParameterSet::exists(), DeadROC_duringRun::f1, fDecayer, fMasterGen, fParameters, get, edm::ParameterSet::getParameter(), mps_splice::line, makeTmpSLHA(), p8RndmEngine_, gen::BaseHadronizer::randomIndex(), DQM::reader, slhafile_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Reimplemented in Pythia8Hadronizer, and gen::Py8GunBase.
Definition at line 227 of file Py8InterfaceBase.cc.
References fMasterGen.
|
protected |
Definition at line 57 of file Py8InterfaceBase.h.
Referenced by gen::Py8GunBase::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), and Py8InterfaceBase().
|
protected |
Definition at line 62 of file Py8InterfaceBase.h.
Referenced by gen::Py8GunBase::evtGenDecay(), Pythia8Hadronizer::generatePartonsAndHadronize(), Pythia8Hadronizer::hadronize(), Pythia8Hadronizer::initializeForExternalPartons(), gen::Py8GunBase::initializeForInternalPartons(), and Pythia8Hadronizer::initializeForInternalPartons().
|
protected |
Definition at line 63 of file Py8InterfaceBase.h.
Referenced by Pythia8Hadronizer::initializeForExternalPartons(), gen::Py8GunBase::initializeForInternalPartons(), Pythia8Hadronizer::initializeForInternalPartons(), and Py8InterfaceBase().
|
protected |
Definition at line 64 of file Py8InterfaceBase.h.
Referenced by Pythia8Hadronizer::initializeForExternalPartons(), gen::Py8GunBase::initializeForInternalPartons(), Pythia8Hadronizer::initializeForInternalPartons(), and Py8InterfaceBase().
|
protected |
Definition at line 65 of file Py8InterfaceBase.h.
Referenced by Pythia8Hadronizer::initializeForExternalPartons(), gen::Py8GunBase::initializeForInternalPartons(), Pythia8Hadronizer::initializeForInternalPartons(), and Py8InterfaceBase().
|
protected |
Definition at line 48 of file Py8InterfaceBase.h.
Referenced by declareSpecialSettings(), Pythia8Hadronizer::initializeForExternalPartons(), gen::Py8GunBase::initializeForInternalPartons(), Pythia8Hadronizer::initializeForInternalPartons(), readSettings(), gen::Py8GunBase::residualDecay(), and Pythia8Hadronizer::residualDecay().
|
protected |
Definition at line 47 of file Py8InterfaceBase.h.
Referenced by declareSpecialSettings(), declareStableParticles(), gen::Py8GunBase::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), gen::Py8PtGun::generatePartonsAndHadronize(), gen::Py8PtAndDxyGun::generatePartonsAndHadronize(), gen::Py8PtotGun::generatePartonsAndHadronize(), gen::Py8JetGun::generatePartonsAndHadronize(), gen::Py8EGun::generatePartonsAndHadronize(), gen::Py8MassGun::generatePartonsAndHadronize(), Pythia8Hadronizer::generatePartonsAndHadronize(), Pythia8Hadronizer::getGenLumiInfoHeader(), Pythia8Hadronizer::hadronize(), Pythia8Hadronizer::initializeForExternalPartons(), gen::Py8GunBase::initializeForInternalPartons(), Pythia8Hadronizer::initializeForInternalPartons(), makeTmpSLHA(), Pythia8Hadronizer::Pythia8Hadronizer(), readSettings(), gen::Py8GunBase::residualDecay(), Pythia8Hadronizer::residualDecay(), statistics(), gen::Py8GunBase::statistics(), and Pythia8Hadronizer::statistics().
|
protected |
Definition at line 51 of file Py8InterfaceBase.h.
Referenced by Py8InterfaceBase(), and readSettings().
|
protected |
Definition at line 56 of file Py8InterfaceBase.h.
Referenced by gen::Py8GunBase::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), and Py8InterfaceBase().
|
private |
Definition at line 70 of file Py8InterfaceBase.h.
Referenced by p8SetRandomEngine(), randomEngine(), and readSettings().
|
protected |
Definition at line 54 of file Py8InterfaceBase.h.
Referenced by gen::Py8GunBase::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), and Py8InterfaceBase().
|
protected |
Definition at line 55 of file Py8InterfaceBase.h.
Referenced by gen::Py8GunBase::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), and Py8InterfaceBase().
|
protected |
Definition at line 53 of file Py8InterfaceBase.h.
Referenced by gen::Py8GunBase::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), Pythia8Hadronizer::initializeForExternalPartons(), Pythia8Hadronizer::initializeForInternalPartons(), and Py8InterfaceBase().
|
protected |
Definition at line 67 of file Py8InterfaceBase.h.
Referenced by Pythia8Hadronizer::initializeForExternalPartons(), Pythia8Hadronizer::initializeForInternalPartons(), makeTmpSLHA(), and readSettings().
|
protected |
Definition at line 49 of file Py8InterfaceBase.h.
Referenced by gen::Py8PtAndDxyGun::generatePartonsAndHadronize(), gen::Py8PtGun::generatePartonsAndHadronize(), gen::Py8PtotGun::generatePartonsAndHadronize(), gen::Py8JetGun::generatePartonsAndHadronize(), gen::Py8EGun::generatePartonsAndHadronize(), gen::Py8MassGun::generatePartonsAndHadronize(), Pythia8Hadronizer::generatePartonsAndHadronize(), Pythia8Hadronizer::hadronize(), Pythia8Hadronizer::Pythia8Hadronizer(), gen::Py8GunBase::residualDecay(), and Pythia8Hadronizer::residualDecay().
|
protected |
Definition at line 61 of file Py8InterfaceBase.h.
Referenced by Pythia8Hadronizer::initializeForExternalPartons(), gen::Py8GunBase::initializeForInternalPartons(), Pythia8Hadronizer::initializeForInternalPartons(), and Py8InterfaceBase().