#include <Py8HMC3InterfaceBase.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) |
Py8HMC3InterfaceBase (edm::ParameterSet const &ps) | |
P8RndmEngine & | randomEngine () |
bool | readSettings (int) |
virtual void | statistics () |
~Py8HMC3InterfaceBase () override=default | |
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< HepMC3::GenEvent > | getGenEvent3 () |
std::unique_ptr< GenEventInfoProduct > | getGenEventInfo () |
std::unique_ptr< GenEventInfoProduct3 > | getGenEventInfo3 () |
virtual std::unique_ptr< GenLumiInfoHeader > | getGenLumiInfoHeader () const |
GenRunInfoProduct & | getGenRunInfo () |
std::unique_ptr< lhef::LHEEvent > | getLHEEvent () |
const std::shared_ptr< lhef::LHERunInfo > & | getLHERunInfo () const |
unsigned int | getVHepMC () |
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 | resetEvent3 (std::unique_ptr< HepMC3::GenEvent > event3) |
void | resetEventInfo (std::unique_ptr< GenEventInfoProduct > eventInfo) |
void | resetEventInfo3 (std::unique_ptr< GenEventInfoProduct3 > 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 | |
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_ |
HepMC3::Pythia8ToHepMC3 | toHepMC |
bool | useEvtGen |
Protected Attributes inherited from gen::BaseHadronizer | |
unsigned int | ivhepmc = 2 |
std::string | lheFile_ |
int | randomIndex_ |
Private Attributes | |
std::shared_ptr< P8RndmEngine > | p8RndmEngine_ |
Additional Inherited Members | |
Protected Member Functions inherited from gen::BaseHadronizer | |
std::unique_ptr< HepMC::GenEvent > & | event () |
std::unique_ptr< HepMC3::GenEvent > & | event3 () |
std::unique_ptr< GenEventInfoProduct > & | eventInfo () |
std::unique_ptr< GenEventInfoProduct3 > & | eventInfo3 () |
lhef::LHEEvent * | lheEvent () |
lhef::LHERunInfo * | lheRunInfo () |
GenRunInfoProduct & | runInfo () |
Definition at line 24 of file Py8HMC3InterfaceBase.h.
gen::Py8HMC3InterfaceBase::Py8HMC3InterfaceBase | ( | edm::ParameterSet const & | ps | ) |
Definition at line 15 of file Py8HMC3InterfaceBase.cc.
References evtgenDecFile, evtgenPdlFile, evtgenUserFiles, edm::ParameterSet::exists(), ztee::fd, fParameters, edm::FileInPath::fullPath(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, maxEventsToPrint, p8RndmEngine_, pythiaHepMCVerbosity, pythiaHepMCVerbosityParticles, pythiaPylistVerbosity, AlCaHLTBitMon_QueryRunRegistry::string, useEvtGen, and writeEcalDQMStatus::write.
|
overridedefault |
|
pure virtual |
Implemented in Pythia8HepMC3Hadronizer.
|
inline |
Definition at line 30 of file Py8HMC3InterfaceBase.h.
bool gen::Py8HMC3InterfaceBase::declareSpecialSettings | ( | const std::vector< std::string > & | settings | ) |
Definition at line 202 of file Py8HMC3InterfaceBase.cc.
References fDecayer, spr::find(), fMasterGen, and AlCaHLTBitMon_QueryRunRegistry::string.
bool gen::Py8HMC3InterfaceBase::declareStableParticles | ( | const std::vector< int > & | pdgIds | ) |
Definition at line 181 of file Py8HMC3InterfaceBase.cc.
References fMasterGen, mps_fire::i, and CosmicGenFilterHelix_cfi::pdgIds.
|
pure virtual |
Implemented in Pythia8HepMC3Hadronizer.
|
pure virtual |
Implemented in Pythia8HepMC3Hadronizer.
|
pure virtual |
Implemented in Pythia8HepMC3Hadronizer.
void gen::Py8HMC3InterfaceBase::makeTmpSLHA | ( | const std::string & | slhatable | ) |
Definition at line 169 of file Py8HMC3InterfaceBase.cc.
References ztee::fd, fMasterGen, slhafile_, and writeEcalDQMStatus::write.
Referenced by readSettings().
|
inline |
Definition at line 40 of file Py8HMC3InterfaceBase.h.
References p8RndmEngine_, and gen::v.
|
inline |
Definition at line 41 of file Py8HMC3InterfaceBase.h.
References p8RndmEngine_.
bool gen::Py8HMC3InterfaceBase::readSettings | ( | int | ) |
Definition at line 68 of file Py8HMC3InterfaceBase.cc.
References gen::ParameterCollector::begin(), gen::ParameterCollector::end(), edm::ParameterSet::exists(), validate-o2o-wbm::f1, fDecayer, fMasterGen, fParameters, get, edm::ParameterSet::getParameter(), mps_splice::line, makeTmpSLHA(), p8RndmEngine_, gen::BaseHadronizer::randomIndex(), SQLiteCheck_cfg::reader, slhafile_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Reimplemented in Pythia8HepMC3Hadronizer.
Definition at line 217 of file Py8HMC3InterfaceBase.cc.
References fMasterGen.
|
protected |
|
protected |
Definition at line 58 of file Py8HMC3InterfaceBase.h.
Referenced by Pythia8HepMC3Hadronizer::initializeForExternalPartons(), Pythia8HepMC3Hadronizer::initializeForInternalPartons(), and Py8HMC3InterfaceBase().
|
protected |
Definition at line 59 of file Py8HMC3InterfaceBase.h.
Referenced by Pythia8HepMC3Hadronizer::initializeForExternalPartons(), Pythia8HepMC3Hadronizer::initializeForInternalPartons(), and Py8HMC3InterfaceBase().
|
protected |
Definition at line 60 of file Py8HMC3InterfaceBase.h.
Referenced by Pythia8HepMC3Hadronizer::initializeForExternalPartons(), Pythia8HepMC3Hadronizer::initializeForInternalPartons(), and Py8HMC3InterfaceBase().
|
protected |
Definition at line 45 of file Py8HMC3InterfaceBase.h.
Referenced by declareSpecialSettings(), Pythia8HepMC3Hadronizer::initializeForExternalPartons(), Pythia8HepMC3Hadronizer::initializeForInternalPartons(), readSettings(), and Pythia8HepMC3Hadronizer::residualDecay().
|
protected |
Definition at line 44 of file Py8HMC3InterfaceBase.h.
Referenced by declareSpecialSettings(), declareStableParticles(), Pythia8HepMC3Hadronizer::finalizeEvent(), Pythia8HepMC3Hadronizer::generatePartonsAndHadronize(), Pythia8HepMC3Hadronizer::getGenLumiInfoHeader(), Pythia8HepMC3Hadronizer::hadronize(), Pythia8HepMC3Hadronizer::initializeForExternalPartons(), Pythia8HepMC3Hadronizer::initializeForInternalPartons(), makeTmpSLHA(), Pythia8HepMC3Hadronizer::Pythia8HepMC3Hadronizer(), readSettings(), Pythia8HepMC3Hadronizer::residualDecay(), statistics(), and Pythia8HepMC3Hadronizer::statistics().
|
protected |
Definition at line 47 of file Py8HMC3InterfaceBase.h.
Referenced by Py8HMC3InterfaceBase(), and readSettings().
|
protected |
Definition at line 52 of file Py8HMC3InterfaceBase.h.
Referenced by Pythia8HepMC3Hadronizer::finalizeEvent(), and Py8HMC3InterfaceBase().
|
private |
Definition at line 65 of file Py8HMC3InterfaceBase.h.
Referenced by p8SetRandomEngine(), Py8HMC3InterfaceBase(), randomEngine(), and readSettings().
|
protected |
Definition at line 50 of file Py8HMC3InterfaceBase.h.
Referenced by Pythia8HepMC3Hadronizer::finalizeEvent(), and Py8HMC3InterfaceBase().
|
protected |
Definition at line 51 of file Py8HMC3InterfaceBase.h.
Referenced by Pythia8HepMC3Hadronizer::finalizeEvent(), and Py8HMC3InterfaceBase().
|
protected |
Definition at line 49 of file Py8HMC3InterfaceBase.h.
Referenced by Pythia8HepMC3Hadronizer::finalizeEvent(), Pythia8HepMC3Hadronizer::initializeForExternalPartons(), Pythia8HepMC3Hadronizer::initializeForInternalPartons(), and Py8HMC3InterfaceBase().
|
protected |
Definition at line 62 of file Py8HMC3InterfaceBase.h.
Referenced by Pythia8HepMC3Hadronizer::initializeForExternalPartons(), Pythia8HepMC3Hadronizer::initializeForInternalPartons(), makeTmpSLHA(), and readSettings().
|
protected |
Definition at line 46 of file Py8HMC3InterfaceBase.h.
Referenced by Pythia8HepMC3Hadronizer::generatePartonsAndHadronize(), Pythia8HepMC3Hadronizer::hadronize(), Pythia8HepMC3Hadronizer::Pythia8HepMC3Hadronizer(), and Pythia8HepMC3Hadronizer::residualDecay().
|
protected |
Definition at line 56 of file Py8HMC3InterfaceBase.h.
Referenced by Pythia8HepMC3Hadronizer::initializeForExternalPartons(), Pythia8HepMC3Hadronizer::initializeForInternalPartons(), and Py8HMC3InterfaceBase().