Public Member Functions | |
const char * | classname () const |
bool | decay () |
bool | declareSpecialSettings (const std::vector< std::string > &) |
bool | declareStableParticles (const std::vector< int > &pdgIds) |
void | finalizeEvent () |
bool | generatePartonsAndHadronize () |
bool | hadronize () |
Herwig6Hadronizer (const edm::ParameterSet ¶ms) | |
bool | initialize (const lhef::HEPRUP *heprup) |
bool | initializeForExternalPartons () |
bool | initializeForInternalPartons () |
bool | readSettings (int) |
bool | residualDecay () |
void | setSLHAFromHeader (const std::vector< std::string > &lines) |
void | statistics () |
~Herwig6Hadronizer () | |
Public Member Functions inherited from gen::BaseHadronizer | |
BaseHadronizer (edm::ParameterSet const &ps) | |
edm::Event & | getEDMEvent () const |
HepMC::GenEvent * | getGenEvent () |
GenEventInfoProduct * | getGenEventInfo () |
GenRunInfoProduct & | getGenRunInfo () |
const boost::shared_ptr < lhef::LHERunInfo > & | getLHERunInfo () const |
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) |
~BaseHadronizer () | |
Public Member Functions inherited from gen::Herwig6Instance | |
bool | callWithTimeout (unsigned int secs, void(*fn)()) |
bool | give (const std::string &line) |
Herwig6Instance (CLHEP::HepRandomEngine *randomEngine=0) | |
Herwig6Instance (int dummy) | |
void | openParticleSpecFile (const std::string fileName) |
virtual | ~Herwig6Instance () |
Public Member Functions inherited from gen::FortranInstance | |
void | call (void(&fn)()) |
template<typename T > | |
T | call (T(&fn)()) |
template<typename A > | |
void | call (void(&fn)(A), A a) |
template<typename T , typename A > | |
T | call (T(&fn)(A), A a) |
template<typename A1 , typename A2 > | |
void | call (void(&fn)(A1, A2), A1 a1, A2 a2) |
template<typename T , typename A1 , typename A2 > | |
T | call (T(&fn)(A1, A2), A1 a1, A2 a2) |
virtual void | enter () |
FortranInstance () | |
virtual void | leave () |
virtual bool | upVeto () |
virtual | ~FortranInstance () |
Private Member Functions | |
void | clear () |
int | pythiaStatusCode (const HepMC::GenParticle *p) const |
void | pythiaStatusCodes () |
virtual void | upEvnt () |
virtual void | upInit () |
Private Attributes | |
double | comEnergy |
HepMC::IO_HERWIG | conv |
bool | doMatching |
bool | doMPInteraction |
bool | emulatePythiaStatusCodes |
bool | externalPartons |
bool | fConvertToPDG |
int | hepmcVerbosity |
int | herwigVerbosity |
bool | inclusiveMatching |
double | matchingScale |
int | maxEventsToPrint |
bool | needClear |
int | nMatch |
int | numTrials |
gen::ParameterCollector | parameters |
std::string | particleSpecFileName |
bool | printCards |
bool | readMCatNLOfile |
bool | readParticleSpecFile |
bool | useJimmy |
Additional Inherited Members | |
Static Public Member Functions inherited from gen::FortranInstance | |
template<typename T > | |
static T * | getInstance () |
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 Member Functions inherited from gen::Herwig6Instance | |
virtual bool | hwwarn (const std::string &fn, int code) |
Definition at line 79 of file Herwig6Hadronizer.cc.
Herwig6Hadronizer::Herwig6Hadronizer | ( | const edm::ParameterSet & | params | ) |
Definition at line 154 of file Herwig6Hadronizer.cc.
References edm::ParameterSet::exists(), fConvertToPDG, and edm::ParameterSet::getParameter().
Herwig6Hadronizer::~Herwig6Hadronizer | ( | ) |
Definition at line 184 of file Herwig6Hadronizer.cc.
References clear().
|
inline |
Definition at line 108 of file Herwig6Hadronizer.cc.
|
private |
Definition at line 189 of file Herwig6Hadronizer.cc.
References gen::FortranInstance::call(), jmefin, needClear, and useJimmy.
Referenced by initialize(), readSettings(), and ~Herwig6Hadronizer().
bool Herwig6Hadronizer::decay | ( | ) |
Definition at line 851 of file Herwig6Hadronizer.cc.
bool Herwig6Hadronizer::declareSpecialSettings | ( | const std::vector< std::string > & | ) |
Definition at line 644 of file Herwig6Hadronizer.cc.
bool Herwig6Hadronizer::declareStableParticles | ( | const std::vector< int > & | pdgIds | ) |
Definition at line 614 of file Herwig6Hadronizer.cc.
void Herwig6Hadronizer::finalizeEvent | ( | ) |
Definition at line 745 of file Herwig6Hadronizer.cc.
References abs, emulatePythiaStatusCodes, gen::BaseHadronizer::event(), gen::BaseHadronizer::eventInfo(), externalPartons, lhef::LHEEvent::fillEventInfo(), lhef::LHEEvent::fillPdfInfo(), lhef::LHEEvent::fixHepMCEventTimeOrdering(), configurableAnalysis::GenParticle, hwuaem_(), hwualf_(), gen::BaseHadronizer::lheEvent(), gen::BaseHadronizer::lheRunInfo(), NULL, and pythiaStatusCodes().
|
inline |
bool Herwig6Hadronizer::hadronize | ( | ) |
Definition at line 665 of file Herwig6Hadronizer.cc.
References gen::Herwig6Instance::callWithTimeout(), conv, lhef::LHEEvent::count(), doMatching, doMPInteraction, error, gen::BaseHadronizer::event(), fConvertToPDG, hwwarn_(), lhef::LHERunInfo::kAccepted, lhef::LHERunInfo::kKilled, lhef::LHERunInfo::kSelected, gen::BaseHadronizer::lheEvent(), useJimmy, and wrapper.
Referenced by generatePartonsAndHadronize().
bool Herwig6Hadronizer::initialize | ( | const lhef::HEPRUP * | heprup | ) |
Definition at line 434 of file Herwig6Hadronizer.cc.
References gen::ParameterCollector::begin(), gen::FortranInstance::call(), clear(), comEnergy, edm::errors::Configuration, doMPInteraction, alignCSCRings::e, lhef::HEPRUP::EBMUP, gen::ParameterCollector::end(), edm::hlt::Exception, externalPartons, lhef::LHERunInfo::findHeader(), gen::Herwig6Instance::give(), hepmcVerbosity, herwigVerbosity, hwdspn, hwprch, i, lhef::HEPRUP::IDBMUP, info, jimmin, jminit, jmparm, gen::BaseHadronizer::lheRunInfo(), geometryCSVtoXML::line, maxEventsToPrint, needClear, gen::Herwig6Instance::openParticleSpecFile(), parameters, particleSpecFileName, lhef::LHERunInfo::pdfSetTranslation(), printCards, readParticleSpecFile, setSLHAFromHeader(), and useJimmy.
|
inline |
Definition at line 94 of file Herwig6Hadronizer.cc.
References initializeForInternalPartons().
bool Herwig6Hadronizer::initializeForInternalPartons | ( | ) |
Definition at line 415 of file Herwig6Hadronizer.cc.
References gen::FortranInstance::call(), jimmin, jminit, and useJimmy.
Referenced by initializeForExternalPartons().
|
private |
Definition at line 946 of file Herwig6Hadronizer.cc.
References externalPartons, configurableAnalysis::GenParticle, lumiQueryAPI::q, and ntuplemaker::status.
Referenced by pythiaStatusCodes().
|
private |
Definition at line 1032 of file Herwig6Hadronizer.cc.
References gen::BaseHadronizer::event(), and pythiaStatusCode().
Referenced by finalizeEvent().
bool Herwig6Hadronizer::readSettings | ( | int | key | ) |
Definition at line 248 of file Herwig6Hadronizer.cc.
References gen::ParameterCollector::begin(), gen::FortranInstance::call(), clear(), comEnergy, edm::errors::Configuration, doMatching, doMPInteraction, alignCSCRings::e, lhef::HEPRUP::EBMUP, gen::ParameterCollector::end(), edm::hlt::Exception, externalPartons, lhef::LHERunInfo::findHeader(), lhef::LHERunInfo::getHEPRUP(), gen::Herwig6Instance::give(), hepmcVerbosity, herwigVerbosity, hwdspn, hwmatchpram, hwprch, i, lhef::HEPRUP::IDBMUP, inclusiveMatching, info, jmparm, gen::BaseHadronizer::lheRunInfo(), geometryCSVtoXML::line, matchingScale, maxEventsToPrint, needClear, nMatch, gen::Herwig6Instance::openParticleSpecFile(), parameters, particleSpecFileName, lhef::LHERunInfo::pdfSetTranslation(), printCards, readParticleSpecFile, setSLHAFromHeader(), and useJimmy.
bool Herwig6Hadronizer::residualDecay | ( | ) |
Definition at line 898 of file Herwig6Hadronizer.cc.
void Herwig6Hadronizer::setSLHAFromHeader | ( | const std::vector< std::string > & | lines | ) |
Definition at line 202 of file Herwig6Hadronizer.cc.
References Association::block, gather_cfg::blocks, geometryCSVtoXML::line, pos, split, AlCaHLTBitMon_QueryRunRegistry::string, and create_public_pileup_plots::transform.
Referenced by initialize(), and readSettings().
void Herwig6Hadronizer::statistics | ( | ) |
Definition at line 649 of file Herwig6Hadronizer.cc.
References gen::BaseHadronizer::runInfo(), and GenRunInfoProduct::setInternalXSec().
|
privatevirtual |
Reimplemented from gen::FortranInstance.
Definition at line 928 of file Herwig6Hadronizer.cc.
References begin, edm::errors::Configuration, lhef::CommonBlocks::fillHEPEUP(), lhef::LHEEvent::getComments(), gen::Herwig6Instance::give(), gen::BaseHadronizer::lheEvent(), readMCatNLOfile, and AlCaHLTBitMon_QueryRunRegistry::string.
|
privatevirtual |
Reimplemented from gen::FortranInstance.
Definition at line 903 of file Herwig6Hadronizer.cc.
References edm::errors::Configuration, lhef::CommonBlocks::fillHEPRUP(), lhef::LHERunInfo::getHeaders(), gen::Herwig6Instance::give(), heprup_, gen::BaseHadronizer::lheRunInfo(), HEPRUP_::pdfgup, HEPRUP_::pdfsup, readMCatNLOfile, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 129 of file Herwig6Hadronizer.cc.
Referenced by initialize(), and readSettings().
|
private |
Definition at line 119 of file Herwig6Hadronizer.cc.
Referenced by hadronize().
|
private |
Definition at line 134 of file Herwig6Hadronizer.cc.
Referenced by hadronize(), and readSettings().
|
private |
Definition at line 131 of file Herwig6Hadronizer.cc.
Referenced by hadronize(), initialize(), and readSettings().
|
private |
Definition at line 128 of file Herwig6Hadronizer.cc.
Referenced by finalizeEvent().
|
private |
Definition at line 121 of file Herwig6Hadronizer.cc.
Referenced by finalizeEvent(), initialize(), pythiaStatusCode(), and readSettings().
|
private |
Definition at line 133 of file Herwig6Hadronizer.cc.
Referenced by hadronize(), and Herwig6Hadronizer().
|
private |
Definition at line 125 of file Herwig6Hadronizer.cc.
Referenced by initialize(), and readSettings().
|
private |
Definition at line 124 of file Herwig6Hadronizer.cc.
Referenced by initialize(), and readSettings().
|
private |
Definition at line 135 of file Herwig6Hadronizer.cc.
Referenced by readSettings().
|
private |
Definition at line 137 of file Herwig6Hadronizer.cc.
Referenced by readSettings().
|
private |
Definition at line 126 of file Herwig6Hadronizer.cc.
Referenced by initialize(), and readSettings().
|
private |
Definition at line 120 of file Herwig6Hadronizer.cc.
Referenced by clear(), initialize(), and readSettings().
|
private |
Definition at line 136 of file Herwig6Hadronizer.cc.
Referenced by readSettings().
|
private |
Definition at line 132 of file Herwig6Hadronizer.cc.
|
private |
Definition at line 123 of file Herwig6Hadronizer.cc.
Referenced by initialize(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), readSettings(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 142 of file Herwig6Hadronizer.cc.
Referenced by initialize(), and readSettings().
|
private |
Definition at line 127 of file Herwig6Hadronizer.cc.
Referenced by initialize(), and readSettings().
|
private |
Definition at line 139 of file Herwig6Hadronizer.cc.
|
private |
Definition at line 143 of file Herwig6Hadronizer.cc.
Referenced by initialize(), and readSettings().
|
private |
Definition at line 130 of file Herwig6Hadronizer.cc.
Referenced by clear(), hadronize(), initialize(), initializeForInternalPartons(), and readSettings().