#include <BaseHadronizer.h>
Protected Member Functions | |
std::auto_ptr< HepMC::GenEvent > & | event () |
std::auto_ptr< GenEventInfoProduct > & | eventInfo () |
lhef::LHEEvent * | lheEvent () |
lhef::LHERunInfo * | lheRunInfo () |
GenRunInfoProduct & | runInfo () |
Protected Attributes | |
std::string | lheFile_ |
int | randomIndex_ |
Private Member Functions | |
virtual void | doSetRandomEngine (CLHEP::HepRandomEngine *v) |
virtual std::vector< std::string > const & | doSharedResources () const |
Private Attributes | |
edm::Event * | edmEvent_ |
std::auto_ptr< HepMC::GenEvent > | genEvent_ |
std::auto_ptr< GenEventInfoProduct > | genEventInfo_ |
GenRunInfoProduct | genRunInfo_ |
std::vector< std::string > | gridpackPaths_ |
std::auto_ptr< lhef::LHEEvent > | lheEvent_ |
boost::shared_ptr< lhef::LHERunInfo > | lheRunInfo_ |
std::vector< std::string > | randomInitConfigDescriptions_ |
std::vector< double > | randomInitWeights_ |
Static Private Attributes | |
static const std::vector< std::string > | theSharedResources |
Definition at line 47 of file BaseHadronizer.h.
gen::BaseHadronizer::BaseHadronizer | ( | edm::ParameterSet const & | ps | ) |
Definition at line 12 of file BaseHadronizer.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), gridpackPaths_, randomInitConfigDescriptions_, randomInitWeights_, runInfo(), GenRunInfoProduct::setExternalXSecLO(), GenRunInfoProduct::setExternalXSecNLO(), GenRunInfoProduct::setFilterEfficiency(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlinevirtual |
Definition at line 50 of file BaseHadronizer.h.
void gen::BaseHadronizer::cleanLHE | ( | ) |
|
inlineprivatevirtual |
Reimplemented in gen::ReggeGribovPartonMCHadronizer, Herwig6Hadronizer, gen::Hydjet2Hadronizer, Pythia8Hadronizer, gen::Pythia6Hadronizer, gen::ExhumeHadronizer, Herwig7Hadronizer, SherpaHadronizer, gen::HydjetHadronizer, gen::AMPTHadronizer, gen::Cascade2Hadronizer, gen::PyquenHadronizer, gen::HijingHadronizer, and gen::PomwigHadronizer.
Definition at line 96 of file BaseHadronizer.h.
|
inlineprivatevirtual |
Reimplemented in Herwig6Hadronizer, gen::Hydjet2Hadronizer, Pythia8Hadronizer, gen::Pythia6Hadronizer, gen::ExhumeHadronizer, gen::HydjetHadronizer, gen::Cascade2Hadronizer, gen::PyquenHadronizer, gen::HijingHadronizer, and gen::PomwigHadronizer.
Definition at line 98 of file BaseHadronizer.h.
|
inlineprotected |
Definition at line 86 of file BaseHadronizer.h.
Referenced by gen::PomwigHadronizer::decay(), gen::PomwigHadronizer::finalizeEvent(), gen::Cascade2Hadronizer::finalizeEvent(), gen::Py8GunBase::finalizeEvent(), Herwig7Hadronizer::finalizeEvent(), SherpaHadronizer::finalizeEvent(), gen::ExhumeHadronizer::finalizeEvent(), gen::Pythia6Hadronizer::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), Herwig6Hadronizer::finalizeEvent(), gen::Py8PtGun::generatePartonsAndHadronize(), gen::Py8EGun::generatePartonsAndHadronize(), gen::Py8JetGun::generatePartonsAndHadronize(), gen::HijingHadronizer::generatePartonsAndHadronize(), gen::PomwigHadronizer::generatePartonsAndHadronize(), gen::PyquenHadronizer::generatePartonsAndHadronize(), gen::AMPTHadronizer::generatePartonsAndHadronize(), gen::HydjetHadronizer::generatePartonsAndHadronize(), gen::Cascade2Hadronizer::generatePartonsAndHadronize(), Herwig7Hadronizer::generatePartonsAndHadronize(), gen::ExhumeHadronizer::generatePartonsAndHadronize(), gen::Pythia6Hadronizer::generatePartonsAndHadronize(), gen::Hydjet2Hadronizer::generatePartonsAndHadronize(), Pythia8Hadronizer::generatePartonsAndHadronize(), gen::ReggeGribovPartonMCHadronizer::generatePartonsAndHadronize(), gen::Pythia6Hadronizer::hadronize(), Pythia8Hadronizer::hadronize(), Herwig6Hadronizer::hadronize(), gen::Cascade2Hadronizer::imposeProperTime(), gen::Pythia6Hadronizer::imposeProperTime(), Herwig6Hadronizer::pythiaStatusCodes(), gen::Cascade2Hadronizer::residualDecay(), gen::Py8GunBase::residualDecay(), gen::Pythia6Hadronizer::residualDecay(), and Pythia8Hadronizer::residualDecay().
|
inlineprotected |
Definition at line 87 of file BaseHadronizer.h.
Referenced by gen::Cascade2Hadronizer::finalizeEvent(), Herwig7Hadronizer::finalizeEvent(), gen::Pythia6Hadronizer::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), and Herwig6Hadronizer::finalizeEvent().
void gen::BaseHadronizer::generateLHE | ( | edm::LuminosityBlock const & | lumi, |
CLHEP::HepRandomEngine * | rengine, | ||
unsigned int | ncpu | ||
) |
Definition at line 78 of file BaseHadronizer.cc.
References createfilelist::args, begin, constexpr, relativeConstraints::empty, Exception, edm::FileInPath::fullPath(), edm::pset::Registry::getMapped(), gridpackPath(), edm::LuminosityBlockBase::id(), edm::pset::Registry::instance(), lheFile_, edm::LuminosityBlockID::luminosityBlock(), sysUtil::pid, edm::LuminosityBlock::processHistory(), edm::ProcessHistory::rbegin(), edm::LuminosityBlockID::run(), and mps_update::status.
|
inline |
Definition at line 69 of file BaseHadronizer.h.
Referenced by gen::PyquenHadronizer::generatePartonsAndHadronize(), gen::HydjetHadronizer::generatePartonsAndHadronize(), and gen::Hydjet2Hadronizer::generatePartonsAndHadronize().
|
inline |
Definition at line 54 of file BaseHadronizer.h.
|
inline |
Definition at line 55 of file BaseHadronizer.h.
|
virtual |
Reimplemented in Pythia8Hadronizer, Herwig7Hadronizer, and SherpaHadronizer.
Definition at line 47 of file BaseHadronizer.cc.
References nano_cff::genLumiInfoHeader, randomIndex_, randomInitConfigDescription(), GenLumiInfoHeader::setConfigDescription(), and GenLumiInfoHeader::setRandomConfigIndex().
|
inline |
Definition at line 53 of file BaseHadronizer.h.
|
inline |
Definition at line 62 of file BaseHadronizer.h.
|
inline |
Definition at line 78 of file BaseHadronizer.h.
References SiStripPI::max.
Referenced by generateLHE().
|
inlineprotected |
Definition at line 89 of file BaseHadronizer.h.
Referenced by gen::Pythia6Hadronizer::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), Herwig6Hadronizer::finalizeEvent(), Pythia8Hadronizer::generatePartonsAndHadronize(), gen::Pythia6Hadronizer::hadronize(), Pythia8Hadronizer::hadronize(), Herwig6Hadronizer::hadronize(), and Herwig6Hadronizer::upEvnt().
|
inlineprotected |
Definition at line 90 of file BaseHadronizer.h.
Referenced by gen::Pythia6Hadronizer::finalizeEvent(), Herwig6Hadronizer::finalizeEvent(), Herwig6Hadronizer::initialize(), gen::Pythia6Hadronizer::initializeForExternalPartons(), Pythia8Hadronizer::initializeForExternalPartons(), Herwig6Hadronizer::readSettings(), and Herwig6Hadronizer::upInit().
|
inline |
Definition at line 76 of file BaseHadronizer.h.
Referenced by gen::Py8InterfaceBase::readSettings().
|
inline |
Definition at line 77 of file BaseHadronizer.h.
Referenced by getGenLumiInfoHeader().
void gen::BaseHadronizer::randomizeIndex | ( | edm::LuminosityBlock const & | lumi, |
CLHEP::HepRandomEngine * | rengine | ||
) |
Definition at line 61 of file BaseHadronizer.cc.
References edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), randomIndex_, randomInitWeights_, and edm::LuminosityBlockID::run().
|
inline |
Definition at line 58 of file BaseHadronizer.h.
Referenced by SherpaHadronizer::generatePartonsAndHadronize().
|
inline |
Definition at line 59 of file BaseHadronizer.h.
|
inlineprotected |
Definition at line 85 of file BaseHadronizer.h.
Referenced by BaseHadronizer(), gen::PomwigHadronizer::statistics(), gen::Cascade2Hadronizer::statistics(), Herwig7Hadronizer::statistics(), SherpaHadronizer::statistics(), gen::Py8GunBase::statistics(), gen::ExhumeHadronizer::statistics(), gen::Pythia6Hadronizer::statistics(), Pythia8Hadronizer::statistics(), and Herwig6Hadronizer::statistics().
|
inlinevirtual |
Reimplemented in gen::PyquenHadronizer.
Definition at line 70 of file BaseHadronizer.h.
|
inline |
|
inline |
Definition at line 65 of file BaseHadronizer.h.
|
inline |
Definition at line 64 of file BaseHadronizer.h.
|
inline |
Definition at line 72 of file BaseHadronizer.h.
Referenced by CMS_SHERPA_RNG::CMS_SHERPA_RNG().
|
inline |
Definition at line 74 of file BaseHadronizer.h.
|
private |
Definition at line 107 of file BaseHadronizer.h.
|
private |
Definition at line 101 of file BaseHadronizer.h.
|
private |
Definition at line 102 of file BaseHadronizer.h.
|
private |
Definition at line 100 of file BaseHadronizer.h.
|
private |
Definition at line 113 of file BaseHadronizer.h.
Referenced by BaseHadronizer().
|
private |
Definition at line 105 of file BaseHadronizer.h.
|
protected |
Definition at line 92 of file BaseHadronizer.h.
Referenced by cleanLHE(), generateLHE(), and Pythia8Hadronizer::initializeForInternalPartons().
|
private |
Definition at line 104 of file BaseHadronizer.h.
|
protected |
Definition at line 91 of file BaseHadronizer.h.
Referenced by getGenLumiInfoHeader(), and randomizeIndex().
|
private |
Definition at line 112 of file BaseHadronizer.h.
Referenced by BaseHadronizer().
|
private |
Definition at line 111 of file BaseHadronizer.h.
Referenced by BaseHadronizer(), and randomizeIndex().
|
staticprivate |
Definition at line 109 of file BaseHadronizer.h.