Public Member Functions | |
const char * | classname () const override |
void | finalizeEvent () override |
bool | generatePartonsAndHadronize () override |
GenLumiInfoHeader * | getGenLumiInfoHeader () const override |
bool | hadronize () |
bool | initializeForExternalPartons () |
bool | initializeForInternalPartons () override |
Pythia8Hadronizer (const edm::ParameterSet ¶ms) | |
virtual bool | residualDecay () |
void | statistics () override |
~Pythia8Hadronizer () | |
Public Member Functions inherited from gen::Py8InterfaceBase | |
bool | decay () |
bool | declareSpecialSettings (const std::vector< std::string > &) |
bool | declareStableParticles (const std::vector< int > &) |
void | p8SetRandomEngine (CLHEP::HepRandomEngine *v) |
Py8InterfaceBase (edm::ParameterSet const &ps) | |
P8RndmEngine & | randomEngine () |
bool | readSettings (int) |
virtual | ~Py8InterfaceBase () |
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 |
HepMC::GenEvent * | getGenEvent () |
GenEventInfoProduct * | getGenEventInfo () |
GenRunInfoProduct & | getGenRunInfo () |
const boost::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 (HepMC::GenEvent *event) |
void | resetEventInfo (GenEventInfoProduct *eventInfo) |
virtual bool | select (HepMC::GenEvent *) const |
void | setEDMEvent (edm::Event &event) |
void | setLHEEvent (lhef::LHEEvent *event) |
void | setLHERunInfo (lhef::LHERunInfo *runInfo) |
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
std::vector< std::string > const & | sharedResources () const |
virtual | ~BaseHadronizer ()(false) |
Private Types | |
enum | { PP, PPbar, ElectronPositron } |
Private Member Functions | |
virtual void | doSetRandomEngine (CLHEP::HepRandomEngine *v) override |
virtual std::vector< std::string > const & | doSharedResources () const override |
Static Private Attributes | |
static const std::vector< std::string > | p8SharedResources = { edm::SharedResourceNames::kPythia8 } |
Additional Inherited Members | |
Protected Member Functions inherited from gen::BaseHadronizer | |
std::auto_ptr< HepMC::GenEvent > & | event () |
std::auto_ptr< GenEventInfoProduct > & | eventInfo () |
lhef::LHEEvent * | lheEvent () |
lhef::LHERunInfo * | lheRunInfo () |
GenRunInfoProduct & | runInfo () |
Protected Attributes inherited from gen::Py8InterfaceBase | |
HepMC::IO_AsciiParticles * | ascii_io |
std::auto_ptr< EvtGenDecays > | evtgenDecays |
std::string | evtgenDecFile |
std::string | evtgenPdlFile |
std::vector< std::string > | evtgenUserFiles |
std::auto_ptr< Pythia8::Pythia > | fDecayer |
std::auto_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_ |
Definition at line 72 of file Pythia8Hadronizer.cc.
|
private |
Enumerator | |
---|---|
PP | |
PPbar | |
ElectronPositron |
Definition at line 106 of file Pythia8Hadronizer.cc.
Pythia8Hadronizer::Pythia8Hadronizer | ( | const edm::ParameterSet & | params | ) |
Definition at line 166 of file Pythia8Hadronizer.cc.
References edm::errors::Configuration, ElectronPositron, EV1_emittedMode, EV1_maxVetoCount, EV1_MPIvetoOn, EV1_nFinal, EV1_pTdefMode, EV1_pTempMode, EV1_pThardMode, EV1_vetoOn, Exception, edm::ParameterSet::exists(), fEmissionVetoHook1, fInitialState, fJetMatchingHook, gen::Py8InterfaceBase::fMasterGen, fReweightEmpUserHook, fReweightPtHatRapUserHook, fReweightRapUserHook, fReweightUserHook, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), PP, PPbar, and AlCaHLTBitMon_QueryRunRegistry::string.
Pythia8Hadronizer::~Pythia8Hadronizer | ( | ) |
Definition at line 311 of file Pythia8Hadronizer.cc.
|
inlineoverridevirtual |
Implements gen::Py8InterfaceBase.
Definition at line 91 of file Pythia8Hadronizer.cc.
|
inlineoverrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 97 of file Pythia8Hadronizer.cc.
|
inlineoverrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 98 of file Pythia8Hadronizer.cc.
|
overridevirtual |
Implements gen::Py8InterfaceBase.
Definition at line 851 of file Pythia8Hadronizer.cc.
References gen::Py8InterfaceBase::ascii_io, gather_cfg::cout, DJR, gen::BaseHadronizer::event(), gen::BaseHadronizer::eventInfo(), gen::Py8InterfaceBase::fMasterGen, gen::BaseHadronizer::lheEvent(), gen::Py8InterfaceBase::maxEventsToPrint, nME, nMEFiltered, gen::Py8InterfaceBase::pythiaHepMCVerbosity, gen::Py8InterfaceBase::pythiaHepMCVerbosityParticles, and gen::Py8InterfaceBase::pythiaPylistVerbosity.
|
overridevirtual |
Implements gen::Py8InterfaceBase.
Definition at line 645 of file Pythia8Hadronizer.cc.
References funct::abs(), DJR, gen::BaseHadronizer::event(), gen::Py8InterfaceBase::evtgenDecays, fEmissionVetoHook, fJetMatchingHook, fJetMatchingPy8InternalHook, gen::Py8InterfaceBase::fMasterGen, fMergingHook, fPowhegHooksBB4L, mps_fire::i, crabWrapper::key, gen::BaseHadronizer::lheEvent(), min(), nFSRveto, nFSRvetoBB4L, nISRveto, nME, nMEFiltered, and gen::Py8InterfaceBase::toHepMC.
|
overridevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 896 of file Pythia8Hadronizer.cc.
References gen::Py8InterfaceBase::fMasterGen, mps_fire::i, crabWrapper::key, GenLumiInfoHeader::lheHeaders(), AlCaHLTBitMon_QueryRunRegistry::string, and GenLumiInfoHeader::weightNames().
bool Pythia8Hadronizer::hadronize | ( | ) |
Definition at line 734 of file Pythia8Hadronizer.cc.
References funct::abs(), lhef::LHEEvent::count(), DJR, gen::BaseHadronizer::event(), gen::Py8InterfaceBase::evtgenDecays, fEmissionVetoHook, fJetMatchingHook, fJetMatchingPy8InternalHook, gen::Py8InterfaceBase::fMasterGen, fMergingHook, lhef::LHERunInfo::kAccepted, lhef::LHERunInfo::kSelected, lhaUP, gen::BaseHadronizer::lheEvent(), LHEInputFileName, min(), nFSRveto, nISRveto, nME, nMEFiltered, AlCaHLTBitMon_QueryRunRegistry::string, and gen::Py8InterfaceBase::toHepMC.
bool Pythia8Hadronizer::initializeForExternalPartons | ( | ) |
Definition at line 470 of file Pythia8Hadronizer.cc.
References edm::errors::Configuration, gen::Py8InterfaceBase::evtgenDecays, gen::Py8InterfaceBase::evtgenDecFile, gen::Py8InterfaceBase::evtgenPdlFile, gen::Py8InterfaceBase::evtgenUserFiles, Exception, gen::Py8InterfaceBase::fDecayer, fEmissionVetoHook, fEmissionVetoHook1, fJetMatchingHook, fJetMatchingPy8InternalHook, gen::Py8InterfaceBase::fMasterGen, fMergingHook, fMultiUserHook, fPowhegHooksBB4L, fPowhegResHook, fPTFilterHook, fResonanceDecayFilterHook, fReweightEmpUserHook, fReweightPtHatRapUserHook, fReweightRapUserHook, fReweightUserHook, mps_fire::i, lhaUP, LHEInputFileName, gen::BaseHadronizer::lheRunInfo(), gen::Py8InterfaceBase::pythiaPylistVerbosity, MatrixUtil::remove(), gen::Py8InterfaceBase::slhafile_, mps_update::status, AlCaHLTBitMon_QueryRunRegistry::string, and gen::Py8InterfaceBase::useEvtGen.
|
overridevirtual |
Implements gen::Py8InterfaceBase.
Definition at line 316 of file Pythia8Hadronizer.cc.
References comEnergy, edm::errors::Configuration, ElectronPositron, gen::Py8InterfaceBase::evtgenDecays, gen::Py8InterfaceBase::evtgenDecFile, gen::Py8InterfaceBase::evtgenPdlFile, gen::Py8InterfaceBase::evtgenUserFiles, Exception, gen::Py8InterfaceBase::fDecayer, fEmissionVetoHook, fEmissionVetoHook1, fInitialState, fJetMatchingHook, fJetMatchingPy8InternalHook, gen::Py8InterfaceBase::fMasterGen, fMergingHook, fMultiUserHook, fPowhegHooksBB4L, fPowhegResHook, fPTFilterHook, fResonanceDecayFilterHook, fReweightEmpUserHook, fReweightPtHatRapUserHook, fReweightRapUserHook, fReweightUserHook, mps_fire::i, gen::BaseHadronizer::lheFile_, PP, PPbar, gen::Py8InterfaceBase::pythiaPylistVerbosity, MatrixUtil::remove(), gen::Py8InterfaceBase::slhafile_, mps_update::status, and gen::Py8InterfaceBase::useEvtGen.
|
virtual |
Definition at line 802 of file Pythia8Hadronizer.cc.
References gen::BaseHadronizer::event(), gen::Py8InterfaceBase::fDecayer, gen::Py8InterfaceBase::fMasterGen, GenParticle::GenParticle, mps_fire::result, and gen::Py8InterfaceBase::toHepMC.
|
overridevirtual |
Reimplemented from gen::Py8InterfaceBase.
Definition at line 621 of file Pythia8Hadronizer.cc.
References fEmissionVetoHook, gen::Py8InterfaceBase::fMasterGen, fPowhegHooksBB4L, nFSRveto, nFSRvetoBB4L, nISRveto, gen::BaseHadronizer::runInfo(), and GenRunInfoProduct::setInternalXSec().
|
private |
Center-of-Mass energy.
Definition at line 101 of file Pythia8Hadronizer.cc.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 154 of file Pythia8Hadronizer.cc.
Referenced by finalizeEvent(), generatePartonsAndHadronize(), and hadronize().
|
private |
Definition at line 148 of file Pythia8Hadronizer.cc.
Referenced by Pythia8Hadronizer().
|
private |
Definition at line 145 of file Pythia8Hadronizer.cc.
Referenced by Pythia8Hadronizer().
|
private |
Definition at line 150 of file Pythia8Hadronizer.cc.
Referenced by Pythia8Hadronizer().
|
private |
Definition at line 143 of file Pythia8Hadronizer.cc.
Referenced by Pythia8Hadronizer().
|
private |
Definition at line 149 of file Pythia8Hadronizer.cc.
Referenced by Pythia8Hadronizer().
|
private |
Definition at line 147 of file Pythia8Hadronizer.cc.
Referenced by Pythia8Hadronizer().
|
private |
Definition at line 146 of file Pythia8Hadronizer.cc.
Referenced by Pythia8Hadronizer().
|
private |
Definition at line 144 of file Pythia8Hadronizer.cc.
Referenced by Pythia8Hadronizer().
|
private |
Definition at line 109 of file Pythia8Hadronizer.cc.
|
private |
Definition at line 110 of file Pythia8Hadronizer.cc.
|
private |
Definition at line 130 of file Pythia8Hadronizer.cc.
Referenced by generatePartonsAndHadronize(), hadronize(), initializeForExternalPartons(), initializeForInternalPartons(), and statistics().
|
private |
Definition at line 131 of file Pythia8Hadronizer.cc.
Referenced by initializeForExternalPartons(), initializeForInternalPartons(), and Pythia8Hadronizer().
|
private |
Definition at line 107 of file Pythia8Hadronizer.cc.
Referenced by initializeForInternalPartons(), and Pythia8Hadronizer().
|
private |
Definition at line 124 of file Pythia8Hadronizer.cc.
Referenced by generatePartonsAndHadronize(), hadronize(), initializeForExternalPartons(), initializeForInternalPartons(), and Pythia8Hadronizer().
|
private |
Definition at line 125 of file Pythia8Hadronizer.cc.
Referenced by generatePartonsAndHadronize(), hadronize(), initializeForExternalPartons(), and initializeForInternalPartons().
|
private |
Definition at line 126 of file Pythia8Hadronizer.cc.
Referenced by generatePartonsAndHadronize(), hadronize(), initializeForExternalPartons(), and initializeForInternalPartons().
|
private |
Definition at line 113 of file Pythia8Hadronizer.cc.
Referenced by initializeForExternalPartons(), and initializeForInternalPartons().
|
private |
Definition at line 135 of file Pythia8Hadronizer.cc.
Referenced by generatePartonsAndHadronize(), initializeForExternalPartons(), initializeForInternalPartons(), and statistics().
|
private |
Definition at line 134 of file Pythia8Hadronizer.cc.
Referenced by initializeForExternalPartons(), and initializeForInternalPartons().
|
private |
Definition at line 141 of file Pythia8Hadronizer.cc.
Referenced by initializeForExternalPartons(), and initializeForInternalPartons().
|
private |
Definition at line 138 of file Pythia8Hadronizer.cc.
Referenced by initializeForExternalPartons(), and initializeForInternalPartons().
|
private |
Definition at line 118 of file Pythia8Hadronizer.cc.
Referenced by initializeForExternalPartons(), initializeForInternalPartons(), and Pythia8Hadronizer().
|
private |
Definition at line 120 of file Pythia8Hadronizer.cc.
Referenced by initializeForExternalPartons(), initializeForInternalPartons(), and Pythia8Hadronizer().
|
private |
Definition at line 119 of file Pythia8Hadronizer.cc.
Referenced by initializeForExternalPartons(), initializeForInternalPartons(), and Pythia8Hadronizer().
|
private |
Definition at line 117 of file Pythia8Hadronizer.cc.
Referenced by initializeForExternalPartons(), initializeForInternalPartons(), and Pythia8Hadronizer().
|
private |
Definition at line 104 of file Pythia8Hadronizer.cc.
Referenced by hadronize(), and initializeForExternalPartons().
|
private |
Definition at line 103 of file Pythia8Hadronizer.cc.
Referenced by hadronize(), and initializeForExternalPartons().
|
private |
Definition at line 159 of file Pythia8Hadronizer.cc.
Referenced by generatePartonsAndHadronize(), hadronize(), and statistics().
|
private |
Definition at line 160 of file Pythia8Hadronizer.cc.
Referenced by generatePartonsAndHadronize(), and statistics().
|
private |
Definition at line 158 of file Pythia8Hadronizer.cc.
Referenced by generatePartonsAndHadronize(), hadronize(), and statistics().
|
private |
Definition at line 155 of file Pythia8Hadronizer.cc.
Referenced by finalizeEvent(), generatePartonsAndHadronize(), and hadronize().
|
private |
Definition at line 156 of file Pythia8Hadronizer.cc.
Referenced by finalizeEvent(), generatePartonsAndHadronize(), and hadronize().
|
staticprivate |
Definition at line 152 of file Pythia8Hadronizer.cc.