Public Member Functions | |
const char * | classname () const override |
void | finalizeEvent () override |
bool | generatePartonsAndHadronize () override |
std::unique_ptr< GenLumiInfoHeader > | getGenLumiInfoHeader () const override |
bool | hadronize () |
bool | initializeForExternalPartons () |
bool | initializeForInternalPartons () override |
Pythia8HepMC3Hadronizer (const edm::ParameterSet ¶ms) | |
virtual bool | residualDecay () |
void | statistics () override |
~Pythia8HepMC3Hadronizer () override=default | |
Public Member Functions inherited from gen::Py8HMC3InterfaceBase | |
bool | decay () |
bool | declareSpecialSettings (const std::vector< std::string > &) |
bool | declareStableParticles (const std::vector< int > &) |
void | makeTmpSLHA (const std::string &) |
void | p8SetRandomEngine (CLHEP::HepRandomEngine *v) |
Py8HMC3InterfaceBase (edm::ParameterSet const &ps) | |
P8RndmEngine & | randomEngine () |
bool | readSettings (int) |
~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 () |
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) |
Private Types | |
enum | { PP, PPbar, ElectronPositron } |
Private Member Functions | |
void | doSetRandomEngine (CLHEP::HepRandomEngine *v) override |
std::vector< std::string > const & | doSharedResources () const override |
Private Attributes | |
double | comEnergy |
Center-of-Mass energy. More... | |
vector< float > | DJR |
int | EV1_emittedMode |
int | EV1_maxVetoCount |
bool | EV1_MPIvetoOn |
int | EV1_nFinal |
int | EV1_nFinalMode |
int | EV1_pTdefMode |
int | EV1_pTempMode |
int | EV1_pThardMode |
int | EV1_QEDvetoMode |
bool | EV1_vetoOn |
double | fBeam1PZ |
double | fBeam2PZ |
std::shared_ptr< BiasedTauDecayer > | fBiasedTauDecayer |
std::shared_ptr< UserHooksVector > | fCustomHooksVector |
std::shared_ptr< PowhegHooks > | fEmissionVetoHook |
std::shared_ptr< EmissionVetoHook1 > | fEmissionVetoHook1 |
int | fInitialState |
std::shared_ptr< JetMatchingHook > | fJetMatchingHook |
std::shared_ptr< Pythia8::JetMatchingMadgraph > | fJetMatchingPy8InternalHook |
std::shared_ptr< Pythia8::amcnlo_unitarised_interface > | fMergingHook |
std::shared_ptr< PowhegHooksBB4L > | fPowhegHooksBB4L |
std::shared_ptr< PowhegResHook > | fPowhegResHook |
std::shared_ptr< PTFilterHook > | fPTFilterHook |
std::shared_ptr< ResonanceDecayFilterHook > | fResonanceDecayFilterHook |
std::shared_ptr< UserHooks > | fReweightEmpUserHook |
std::shared_ptr< UserHooks > | fReweightPtHatRapUserHook |
std::shared_ptr< UserHooks > | fReweightRapUserHook |
std::shared_ptr< UserHooks > | fReweightUserHook |
std::shared_ptr< UserHooksVector > | fUserHooksVector |
std::shared_ptr< LHAupLesHouches > | lhaUP |
std::string | LHEInputFileName |
int | nFSRveto |
int | nISRveto |
int | nME |
int | nMEFiltered |
bool | UserHooksSet |
Static Private Attributes | |
static const std::vector< std::string > | p8SharedResources = {edm::SharedResourceNames::kPythia8} |
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 () |
Protected Attributes inherited from gen::Py8HMC3InterfaceBase | |
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_ |
Definition at line 78 of file Pythia8HepMC3Hadronizer.cc.
|
private |
Enumerator | |
---|---|
PP | |
PPbar | |
ElectronPositron |
Definition at line 109 of file Pythia8HepMC3Hadronizer.cc.
Pythia8HepMC3Hadronizer::Pythia8HepMC3Hadronizer | ( | const edm::ParameterSet & | params | ) |
Definition at line 176 of file Pythia8HepMC3Hadronizer.cc.
References edm::errors::Configuration, ElectronPositron, EV1_emittedMode, EV1_maxVetoCount, EV1_MPIvetoOn, EV1_nFinal, EV1_nFinalMode, EV1_pTdefMode, EV1_pTempMode, EV1_pThardMode, EV1_QEDvetoMode, EV1_vetoOn, Exception, edm::ParameterSet::exists(), fCustomHooksVector, fEmissionVetoHook1, fInitialState, fJetMatchingHook, gen::Py8HMC3InterfaceBase::fMasterGen, fReweightEmpUserHook, fReweightPtHatRapUserHook, fReweightRapUserHook, fReweightUserHook, get, edm::ParameterSet::getParameter(), gen::BaseHadronizer::ivhepmc, submitPVValidationJobs::params, PP, PPbar, push_back(), generator_cfi::scheme, AlCaHLTBitMon_QueryRunRegistry::string, and gen::Py8HMC3InterfaceBase::toHepMC.
|
overridedefault |
|
inlineoverridevirtual |
Implements gen::Py8HMC3InterfaceBase.
Definition at line 95 of file Pythia8HepMC3Hadronizer.cc.
|
inlineoverrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 100 of file Pythia8HepMC3Hadronizer.cc.
References findQualityFiles::v.
|
inlineoverrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 101 of file Pythia8HepMC3Hadronizer.cc.
|
overridevirtual |
Implements gen::Py8HMC3InterfaceBase.
Definition at line 951 of file Pythia8HepMC3Hadronizer.cc.
References gather_cfg::cout, DJR, relativeConstraints::empty, gen::BaseHadronizer::event3(), gen::BaseHadronizer::eventInfo3(), gen::Py8HMC3InterfaceBase::fMasterGen, gen::BaseHadronizer::lheEvent(), mps_splice::line, gen::Py8HMC3InterfaceBase::maxEventsToPrint, nME, nMEFiltered, AlCaHLTBitMon_ParallelJobs::p, ecalTrigSettings_cff::particles, push_back(), gen::Py8HMC3InterfaceBase::pythiaHepMCVerbosity, gen::Py8HMC3InterfaceBase::pythiaHepMCVerbosityParticles, gen::Py8HMC3InterfaceBase::pythiaPylistVerbosity, and hltDeepSecondaryVertexTagInfosPFPuppi_cfi::weights.
|
overridevirtual |
Implements gen::Py8HMC3InterfaceBase.
Definition at line 700 of file Pythia8HepMC3Hadronizer.cc.
References funct::abs(), DJR, gen::BaseHadronizer::event(), gen::BaseHadronizer::event3(), gen::Py8HMC3InterfaceBase::evtgenDecays, fEmissionVetoHook, fJetMatchingHook, fJetMatchingPy8InternalHook, gen::Py8HMC3InterfaceBase::fMasterGen, fMergingHook, mps_fire::i, crabWrapper::key, gen::BaseHadronizer::lheEvent(), SiStripPI::min, nFSRveto, nISRveto, nME, nMEFiltered, and gen::Py8HMC3InterfaceBase::toHepMC.
|
overridevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 999 of file Pythia8HepMC3Hadronizer.cc.
References gen::Py8HMC3InterfaceBase::fMasterGen, genWeightsTable_cfi::genLumiInfoHeader, mps_fire::i, crabWrapper::key, and AlCaHLTBitMon_QueryRunRegistry::string.
bool Pythia8HepMC3Hadronizer::hadronize | ( | ) |
Definition at line 813 of file Pythia8HepMC3Hadronizer.cc.
References funct::abs(), lhef::LHEEvent::count(), DJR, gen::BaseHadronizer::event(), gen::BaseHadronizer::event3(), gen::Py8HMC3InterfaceBase::evtgenDecays, fEmissionVetoHook, fJetMatchingHook, fJetMatchingPy8InternalHook, gen::Py8HMC3InterfaceBase::fMasterGen, fMergingHook, mps_fire::i, lhef::LHERunInfo::kAccepted, lhef::LHERunInfo::kSelected, lhaUP, gen::BaseHadronizer::lheEvent(), LHEInputFileName, SiStripPI::min, nFSRveto, nISRveto, nME, nMEFiltered, and gen::Py8HMC3InterfaceBase::toHepMC.
bool Pythia8HepMC3Hadronizer::initializeForExternalPartons | ( | ) |
Definition at line 513 of file Pythia8HepMC3Hadronizer.cc.
References l1ct::clear(), edm::errors::Configuration, gen::Py8HMC3InterfaceBase::evtgenDecays, gen::Py8HMC3InterfaceBase::evtgenDecFile, gen::Py8HMC3InterfaceBase::evtgenPdlFile, gen::Py8HMC3InterfaceBase::evtgenUserFiles, Exception, fBiasedTauDecayer, fCustomHooksVector, gen::Py8HMC3InterfaceBase::fDecayer, fEmissionVetoHook, fEmissionVetoHook1, fJetMatchingHook, fJetMatchingPy8InternalHook, gen::Py8HMC3InterfaceBase::fMasterGen, fMergingHook, fPowhegHooksBB4L, fPowhegResHook, fPTFilterHook, fResonanceDecayFilterHook, fReweightEmpUserHook, fReweightPtHatRapUserHook, fReweightRapUserHook, fReweightUserHook, fUserHooksVector, mps_fire::i, lhaUP, LHEInputFileName, gen::BaseHadronizer::lheRunInfo(), push_back(), gen::Py8HMC3InterfaceBase::pythiaPylistVerbosity, MatrixUtil::remove(), generator_cfi::scheme, gen::Py8HMC3InterfaceBase::slhafile_, mps_update::status, gen::Py8HMC3InterfaceBase::useEvtGen, and UserHooksSet.
|
overridevirtual |
Implements gen::Py8HMC3InterfaceBase.
Definition at line 341 of file Pythia8HepMC3Hadronizer.cc.
References l1ct::clear(), comEnergy, edm::errors::Configuration, ElectronPositron, gen::Py8HMC3InterfaceBase::evtgenDecays, gen::Py8HMC3InterfaceBase::evtgenDecFile, gen::Py8HMC3InterfaceBase::evtgenPdlFile, gen::Py8HMC3InterfaceBase::evtgenUserFiles, Exception, fBiasedTauDecayer, fCustomHooksVector, gen::Py8HMC3InterfaceBase::fDecayer, fEmissionVetoHook, fEmissionVetoHook1, fInitialState, fJetMatchingHook, fJetMatchingPy8InternalHook, gen::Py8HMC3InterfaceBase::fMasterGen, fMergingHook, fPowhegHooksBB4L, fPowhegResHook, fPTFilterHook, fResonanceDecayFilterHook, fReweightEmpUserHook, fReweightPtHatRapUserHook, fReweightRapUserHook, fReweightUserHook, fUserHooksVector, mps_fire::i, gen::BaseHadronizer::lheFile_, PP, PPbar, push_back(), gen::Py8HMC3InterfaceBase::pythiaPylistVerbosity, MatrixUtil::remove(), generator_cfi::scheme, gen::Py8HMC3InterfaceBase::slhafile_, mps_update::status, gen::Py8HMC3InterfaceBase::useEvtGen, and UserHooksSet.
|
virtual |
Definition at line 891 of file Pythia8HepMC3Hadronizer.cc.
References gen::BaseHadronizer::event(), gen::BaseHadronizer::event3(), gen::Py8HMC3InterfaceBase::fDecayer, gen::Py8HMC3InterfaceBase::fMasterGen, GenParticle::GenParticle, AlCaHLTBitMon_ParallelJobs::p, ecalTrigSettings_cff::particles, mps_fire::result, and gen::Py8HMC3InterfaceBase::toHepMC.
|
overridevirtual |
Reimplemented from gen::Py8HMC3InterfaceBase.
Definition at line 684 of file Pythia8HepMC3Hadronizer.cc.
References submitPVResolutionJobs::err, fEmissionVetoHook, gen::Py8HMC3InterfaceBase::fMasterGen, nFSRveto, nISRveto, gen::BaseHadronizer::runInfo(), and GenRunInfoProduct::setInternalXSec().
|
private |
Center-of-Mass energy.
Definition at line 104 of file Pythia8HepMC3Hadronizer.cc.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 166 of file Pythia8HepMC3Hadronizer.cc.
Referenced by finalizeEvent(), generatePartonsAndHadronize(), and hadronize().
|
private |
Definition at line 158 of file Pythia8HepMC3Hadronizer.cc.
Referenced by Pythia8HepMC3Hadronizer().
|
private |
Definition at line 155 of file Pythia8HepMC3Hadronizer.cc.
Referenced by Pythia8HepMC3Hadronizer().
|
private |
Definition at line 160 of file Pythia8HepMC3Hadronizer.cc.
Referenced by Pythia8HepMC3Hadronizer().
|
private |
Definition at line 153 of file Pythia8HepMC3Hadronizer.cc.
Referenced by Pythia8HepMC3Hadronizer().
|
private |
Definition at line 162 of file Pythia8HepMC3Hadronizer.cc.
Referenced by Pythia8HepMC3Hadronizer().
|
private |
Definition at line 159 of file Pythia8HepMC3Hadronizer.cc.
Referenced by Pythia8HepMC3Hadronizer().
|
private |
Definition at line 157 of file Pythia8HepMC3Hadronizer.cc.
Referenced by Pythia8HepMC3Hadronizer().
|
private |
Definition at line 156 of file Pythia8HepMC3Hadronizer.cc.
Referenced by Pythia8HepMC3Hadronizer().
|
private |
Definition at line 161 of file Pythia8HepMC3Hadronizer.cc.
Referenced by Pythia8HepMC3Hadronizer().
|
private |
Definition at line 154 of file Pythia8HepMC3Hadronizer.cc.
Referenced by Pythia8HepMC3Hadronizer().
|
private |
Definition at line 112 of file Pythia8HepMC3Hadronizer.cc.
|
private |
Definition at line 113 of file Pythia8HepMC3Hadronizer.cc.
|
private |
Definition at line 142 of file Pythia8HepMC3Hadronizer.cc.
Referenced by initializeForExternalPartons(), and initializeForInternalPartons().
|
private |
Definition at line 151 of file Pythia8HepMC3Hadronizer.cc.
Referenced by initializeForExternalPartons(), initializeForInternalPartons(), and Pythia8HepMC3Hadronizer().
|
private |
Definition at line 134 of file Pythia8HepMC3Hadronizer.cc.
Referenced by generatePartonsAndHadronize(), hadronize(), initializeForExternalPartons(), initializeForInternalPartons(), and statistics().
|
private |
Definition at line 135 of file Pythia8HepMC3Hadronizer.cc.
Referenced by initializeForExternalPartons(), initializeForInternalPartons(), and Pythia8HepMC3Hadronizer().
|
private |
Definition at line 110 of file Pythia8HepMC3Hadronizer.cc.
Referenced by initializeForInternalPartons(), and Pythia8HepMC3Hadronizer().
|
private |
Definition at line 128 of file Pythia8HepMC3Hadronizer.cc.
Referenced by generatePartonsAndHadronize(), hadronize(), initializeForExternalPartons(), initializeForInternalPartons(), and Pythia8HepMC3Hadronizer().
|
private |
Definition at line 129 of file Pythia8HepMC3Hadronizer.cc.
Referenced by generatePartonsAndHadronize(), hadronize(), initializeForExternalPartons(), and initializeForInternalPartons().
|
private |
Definition at line 130 of file Pythia8HepMC3Hadronizer.cc.
Referenced by generatePartonsAndHadronize(), hadronize(), initializeForExternalPartons(), and initializeForInternalPartons().
|
private |
Definition at line 139 of file Pythia8HepMC3Hadronizer.cc.
Referenced by initializeForExternalPartons(), and initializeForInternalPartons().
|
private |
Definition at line 138 of file Pythia8HepMC3Hadronizer.cc.
Referenced by initializeForExternalPartons(), and initializeForInternalPartons().
|
private |
Definition at line 148 of file Pythia8HepMC3Hadronizer.cc.
Referenced by initializeForExternalPartons(), and initializeForInternalPartons().
|
private |
Definition at line 145 of file Pythia8HepMC3Hadronizer.cc.
Referenced by initializeForExternalPartons(), and initializeForInternalPartons().
|
private |
Definition at line 122 of file Pythia8HepMC3Hadronizer.cc.
Referenced by initializeForExternalPartons(), initializeForInternalPartons(), and Pythia8HepMC3Hadronizer().
|
private |
Definition at line 124 of file Pythia8HepMC3Hadronizer.cc.
Referenced by initializeForExternalPartons(), initializeForInternalPartons(), and Pythia8HepMC3Hadronizer().
|
private |
Definition at line 123 of file Pythia8HepMC3Hadronizer.cc.
Referenced by initializeForExternalPartons(), initializeForInternalPartons(), and Pythia8HepMC3Hadronizer().
|
private |
Definition at line 121 of file Pythia8HepMC3Hadronizer.cc.
Referenced by initializeForExternalPartons(), initializeForInternalPartons(), and Pythia8HepMC3Hadronizer().
|
private |
Definition at line 116 of file Pythia8HepMC3Hadronizer.cc.
Referenced by initializeForExternalPartons(), and initializeForInternalPartons().
|
private |
Definition at line 107 of file Pythia8HepMC3Hadronizer.cc.
Referenced by hadronize(), and initializeForExternalPartons().
|
private |
Definition at line 106 of file Pythia8HepMC3Hadronizer.cc.
Referenced by hadronize(), and initializeForExternalPartons().
|
private |
Definition at line 171 of file Pythia8HepMC3Hadronizer.cc.
Referenced by generatePartonsAndHadronize(), hadronize(), and statistics().
|
private |
Definition at line 170 of file Pythia8HepMC3Hadronizer.cc.
Referenced by generatePartonsAndHadronize(), hadronize(), and statistics().
|
private |
Definition at line 167 of file Pythia8HepMC3Hadronizer.cc.
Referenced by finalizeEvent(), generatePartonsAndHadronize(), and hadronize().
|
private |
Definition at line 168 of file Pythia8HepMC3Hadronizer.cc.
Referenced by finalizeEvent(), generatePartonsAndHadronize(), and hadronize().
|
staticprivate |
Definition at line 164 of file Pythia8HepMC3Hadronizer.cc.
|
private |
Definition at line 117 of file Pythia8HepMC3Hadronizer.cc.
Referenced by initializeForExternalPartons(), and initializeForInternalPartons().