#include <PomwigHadronizer.h>
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 () |
bool | initializeForExternalPartons () |
bool | initializeForInternalPartons () |
PomwigHadronizer (const edm::ParameterSet ¶ms) | |
bool | readSettings (int) |
bool | residualDecay () |
void | statistics () |
~PomwigHadronizer () | |
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) |
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
std::vector< std::string > const & | sharedResources () const |
~BaseHadronizer () | |
Public Member Functions inherited from gen::Herwig6Instance | |
bool | callWithTimeout (unsigned int secs, void(*fn)()) |
bool | give (const std::string &line) |
Herwig6Instance () | |
void | openParticleSpecFile (const std::string fileName) |
void | setHerwigRandomEngine (CLHEP::HepRandomEngine *v) |
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 void | upEvnt () |
virtual void | upInit () |
virtual bool | upVeto () |
virtual | ~FortranInstance () |
Private Member Functions | |
void | clear () |
virtual void | doSetRandomEngine (CLHEP::HepRandomEngine *v) override |
virtual std::vector < std::string > const & | doSharedResources () const override |
bool | initializeDPDF () |
Private Attributes | |
double | comEnergy |
HepMC::IO_HERWIG | conv |
int | diffTopology |
bool | doMPInteraction |
bool | doPDGConvert |
int | h1fit |
int | hepmcVerbosity |
int | herwigVerbosity |
int | maxEventsToPrint |
bool | needClear |
int | numTrials |
gen::ParameterCollector | parameters |
bool | printCards |
double | survivalProbability |
bool | useJimmy |
Static Private Attributes | |
static const std::vector < std::string > | theSharedResources |
Additional Inherited Members | |
Static Public Member Functions inherited from gen::FortranInstance | |
template<typename T > | |
static T * | getInstance () |
Static Public Attributes inherited from gen::FortranInstance | |
static const std::string | kFortranInstance = "FortranInstance" |
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 21 of file PomwigHadronizer.h.
gen::PomwigHadronizer::PomwigHadronizer | ( | const edm::ParameterSet & | params | ) |
Definition at line 94 of file PomwigHadronizer.cc.
References doPDGConvert, edm::ParameterSet::exists(), and edm::ParameterSet::getParameter().
gen::PomwigHadronizer::~PomwigHadronizer | ( | ) |
|
inline |
Definition at line 41 of file PomwigHadronizer.h.
|
private |
Definition at line 125 of file PomwigHadronizer.cc.
References gen::FortranInstance::call(), jmefin, needClear, and useJimmy.
Referenced by readSettings(), and ~PomwigHadronizer().
bool gen::PomwigHadronizer::decay | ( | ) |
Definition at line 358 of file PomwigHadronizer.cc.
References conv, doPDGConvert, gen::BaseHadronizer::event(), and wrapper.
|
inline |
Definition at line 32 of file PomwigHadronizer.h.
bool gen::PomwigHadronizer::declareStableParticles | ( | const std::vector< int > & | pdgIds | ) |
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 120 of file PomwigHadronizer.cc.
References gen::Herwig6Instance::setHerwigRandomEngine().
|
inlineoverrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 46 of file PomwigHadronizer.h.
References theSharedResources.
void gen::PomwigHadronizer::finalizeEvent | ( | ) |
Definition at line 349 of file PomwigHadronizer.cc.
References gen::BaseHadronizer::event(), and lhef::LHEEvent::fixHepMCEventTimeOrdering().
bool gen::PomwigHadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 314 of file PomwigHadronizer.cc.
References gen::Herwig6Instance::callWithTimeout(), doMPInteraction, relativeConstraints::error, gen::BaseHadronizer::event(), gen::hwwarn_(), useJimmy, and wrapper.
bool gen::PomwigHadronizer::hadronize | ( | ) |
Definition at line 309 of file PomwigHadronizer.cc.
|
private |
Definition at line 243 of file PomwigHadronizer.cc.
References printConversionInfo::aux, GetRecoTauVFromDQM_MC_cff::cl, edm::errors::Configuration, diffTopology, edm::hlt::Exception, python.connectstrParser::f2, h1fit, qcd_1994, qcd_2006, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by initializeForInternalPartons().
bool gen::PomwigHadronizer::initializeForExternalPartons | ( | ) |
Definition at line 138 of file PomwigHadronizer.cc.
bool gen::PomwigHadronizer::initializeForInternalPartons | ( | ) |
Definition at line 229 of file PomwigHadronizer.cc.
References gen::FortranInstance::call(), and initializeDPDF().
bool gen::PomwigHadronizer::readSettings | ( | int | ) |
Definition at line 143 of file PomwigHadronizer.cc.
References gen::ParameterCollector::begin(), gen::FortranInstance::call(), clear(), comEnergy, edm::errors::Configuration, diffTopology, gen::ParameterCollector::end(), edm::hlt::Exception, gen::Herwig6Instance::give(), herwigVerbosity, hwdspn, hwprch, i, geometryCSVtoXML::line, maxEventsToPrint, needClear, and parameters.
bool gen::PomwigHadronizer::residualDecay | ( | ) |
Definition at line 389 of file PomwigHadronizer.cc.
void gen::PomwigHadronizer::statistics | ( | ) |
Definition at line 298 of file PomwigHadronizer.cc.
References gen::BaseHadronizer::runInfo(), GenRunInfoProduct::setInternalXSec(), and survivalProbability.
|
private |
Definition at line 61 of file PomwigHadronizer.h.
Referenced by readSettings().
|
private |
Definition at line 72 of file PomwigHadronizer.h.
Referenced by decay().
|
private |
Definition at line 63 of file PomwigHadronizer.h.
Referenced by initializeDPDF(), and readSettings().
|
private |
Definition at line 67 of file PomwigHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 70 of file PomwigHadronizer.h.
Referenced by decay(), and PomwigHadronizer().
|
private |
Definition at line 64 of file PomwigHadronizer.h.
Referenced by initializeDPDF().
|
private |
Definition at line 57 of file PomwigHadronizer.h.
|
private |
Definition at line 56 of file PomwigHadronizer.h.
Referenced by readSettings().
|
private |
Definition at line 58 of file PomwigHadronizer.h.
Referenced by readSettings().
|
private |
Definition at line 53 of file PomwigHadronizer.h.
Referenced by clear(), and readSettings().
|
private |
Definition at line 68 of file PomwigHadronizer.h.
|
private |
Definition at line 55 of file PomwigHadronizer.h.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), readSettings(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
private |
Definition at line 59 of file PomwigHadronizer.h.
|
private |
Definition at line 62 of file PomwigHadronizer.h.
Referenced by statistics().
|
staticprivate |
Definition at line 51 of file PomwigHadronizer.h.
Referenced by doSharedResources().
|
private |
Definition at line 66 of file PomwigHadronizer.h.
Referenced by clear(), and generatePartonsAndHadronize().