![]() |
![]() |
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 | residualDecay () |
void | setSLHAFromHeader (const std::vector< std::string > &lines) |
void | statistics () |
~Herwig6Hadronizer () | |
![]() | |
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) |
void | setEDMEvent (edm::Event &event) |
void | setLHEEvent (lhef::LHEEvent *event) |
void | setLHERunInfo (lhef::LHERunInfo *runInfo) |
~BaseHadronizer () | |
![]() | |
bool | callWithTimeout (unsigned int secs, void(*fn)()) |
bool | give (const std::string &line) |
Herwig6Instance (CLHEP::HepRandomEngine *randomEngine=0) | |
Herwig6Instance (int dummy) | |
virtual | ~Herwig6Instance () |
![]() | |
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 | doMPInteraction |
bool | emulatePythiaStatusCodes |
bool | externalPartons |
bool | fConvertToPDG |
int | hepmcVerbosity |
int | herwigVerbosity |
int | maxEventsToPrint |
bool | needClear |
int | numTrials |
gen::ParameterCollector | parameters |
bool | printCards |
bool | readMCatNLOfile |
bool | useJimmy |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static T * | getInstance () |
![]() | |
std::auto_ptr< HepMC::GenEvent > & | event () |
std::auto_ptr < GenEventInfoProduct > & | eventInfo () |
lhef::LHEEvent * | lheEvent () |
lhef::LHERunInfo * | lheRunInfo () |
GenRunInfoProduct & | runInfo () |
![]() | |
virtual bool | hwwarn (const std::string &fn, int code) |
Definition at line 75 of file Herwig6Hadronizer.cc.
Herwig6Hadronizer::Herwig6Hadronizer | ( | const edm::ParameterSet & | params | ) |
Definition at line 136 of file Herwig6Hadronizer.cc.
References edm::ParameterSet::exists(), fConvertToPDG, and edm::ParameterSet::getParameter().
Herwig6Hadronizer::~Herwig6Hadronizer | ( | ) |
Definition at line 157 of file Herwig6Hadronizer.cc.
References clear().
|
inline |
Definition at line 99 of file Herwig6Hadronizer.cc.
|
private |
Definition at line 162 of file Herwig6Hadronizer.cc.
References gen::FortranInstance::call(), jmefin, needClear, and useJimmy.
Referenced by python.Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), initialize(), python.Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), python.Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and ~Herwig6Hadronizer().
bool Herwig6Hadronizer::decay | ( | ) |
Definition at line 571 of file Herwig6Hadronizer.cc.
References conv, gen::BaseHadronizer::event(), fConvertToPDG, and wrapper.
bool Herwig6Hadronizer::declareSpecialSettings | ( | const std::vector< std::string > | ) |
Definition at line 403 of file Herwig6Hadronizer.cc.
bool Herwig6Hadronizer::declareStableParticles | ( | const std::vector< int > & | pdgIds | ) |
Definition at line 394 of file Herwig6Hadronizer.cc.
void Herwig6Hadronizer::finalizeEvent | ( | ) |
Definition at line 465 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 424 of file Herwig6Hadronizer.cc.
References gen::Herwig6Instance::callWithTimeout(), lhef::LHEEvent::count(), doMPInteraction, error, gen::BaseHadronizer::event(), hwwarn_(), lhef::LHERunInfo::kAccepted, lhef::LHERunInfo::kKilled, gen::BaseHadronizer::lheEvent(), useJimmy, and wrapper.
Referenced by generatePartonsAndHadronize().
bool Herwig6Hadronizer::initialize | ( | const lhef::HEPRUP * | heprup | ) |
Definition at line 221 of file Herwig6Hadronizer.cc.
References gen::ParameterCollector::begin(), gen::FortranInstance::call(), clear(), comEnergy, edm::errors::Configuration, doMPInteraction, 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, parameters, lhef::LHERunInfo::pdfSetTranslation(), printCards, setSLHAFromHeader(), and useJimmy.
Referenced by initializeForExternalPartons(), and initializeForInternalPartons().
|
inline |
Definition at line 85 of file Herwig6Hadronizer.cc.
References initialize(), and gen::BaseHadronizer::lheRunInfo().
|
inline |
Definition at line 84 of file Herwig6Hadronizer.cc.
References initialize().
|
private |
Definition at line 650 of file Herwig6Hadronizer.cc.
References externalPartons, configurableAnalysis::GenParticle, lumiQueryAPI::q, and ntuplemaker::status.
Referenced by pythiaStatusCodes().
|
private |
Definition at line 736 of file Herwig6Hadronizer.cc.
References gen::BaseHadronizer::event(), and pythiaStatusCode().
Referenced by finalizeEvent().
bool Herwig6Hadronizer::residualDecay | ( | ) |
Definition at line 602 of file Herwig6Hadronizer.cc.
void Herwig6Hadronizer::setSLHAFromHeader | ( | const std::vector< std::string > & | lines | ) |
Definition at line 175 of file Herwig6Hadronizer.cc.
References Association::block, ExpressReco_HICollisions_FallBack::blocks, geometryCSVtoXML::line, pos, split, and EcalElecEmulTccFlatFileProducerFromTPG_cfg::tokens.
Referenced by initialize().
void Herwig6Hadronizer::statistics | ( | ) |
Definition at line 408 of file Herwig6Hadronizer.cc.
References gen::BaseHadronizer::runInfo(), and GenRunInfoProduct::setInternalXSec().
|
privatevirtual |
Reimplemented from gen::FortranInstance.
Definition at line 632 of file Herwig6Hadronizer.cc.
References begin, edm::errors::Configuration, lhef::CommonBlocks::fillHEPEUP(), lhef::LHEEvent::getComments(), gen::Herwig6Instance::give(), gen::BaseHadronizer::lheEvent(), and readMCatNLOfile.
|
privatevirtual |
Reimplemented from gen::FortranInstance.
Definition at line 607 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, and readMCatNLOfile.
|
private |
Definition at line 120 of file Herwig6Hadronizer.cc.
Referenced by initialize().
|
private |
Definition at line 110 of file Herwig6Hadronizer.cc.
Referenced by decay().
|
private |
Definition at line 122 of file Herwig6Hadronizer.cc.
Referenced by hadronize(), and initialize().
|
private |
Definition at line 119 of file Herwig6Hadronizer.cc.
Referenced by finalizeEvent().
|
private |
Definition at line 112 of file Herwig6Hadronizer.cc.
Referenced by finalizeEvent(), initialize(), and pythiaStatusCode().
|
private |
Definition at line 124 of file Herwig6Hadronizer.cc.
Referenced by decay(), and Herwig6Hadronizer().
|
private |
Definition at line 116 of file Herwig6Hadronizer.cc.
Referenced by initialize().
|
private |
Definition at line 115 of file Herwig6Hadronizer.cc.
Referenced by initialize().
|
private |
Definition at line 117 of file Herwig6Hadronizer.cc.
Referenced by initialize().
|
private |
Definition at line 111 of file Herwig6Hadronizer.cc.
Referenced by clear(), and initialize().
|
private |
Definition at line 123 of file Herwig6Hadronizer.cc.
|
private |
Definition at line 114 of file Herwig6Hadronizer.cc.
Referenced by initialize(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 118 of file Herwig6Hadronizer.cc.
Referenced by initialize().
|
private |
Definition at line 126 of file Herwig6Hadronizer.cc.
|
private |
Definition at line 121 of file Herwig6Hadronizer.cc.
Referenced by clear(), hadronize(), and initialize().