#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) |
~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 void | upEvnt () |
virtual void | upInit () |
virtual bool | upVeto () |
virtual | ~FortranInstance () |
Private Member Functions | |
void | clear () |
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 |
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 14 of file PomwigHadronizer.h.
gen::PomwigHadronizer::PomwigHadronizer | ( | const edm::ParameterSet & | params | ) |
Definition at line 89 of file PomwigHadronizer.cc.
References doPDGConvert, edm::ParameterSet::exists(), and edm::ParameterSet::getParameter().
gen::PomwigHadronizer::~PomwigHadronizer | ( | ) |
|
inline |
Definition at line 34 of file PomwigHadronizer.h.
|
private |
Definition at line 115 of file PomwigHadronizer.cc.
References gen::FortranInstance::call(), jmefin, needClear, and useJimmy.
Referenced by readSettings(), and ~PomwigHadronizer().
bool gen::PomwigHadronizer::decay | ( | ) |
Definition at line 348 of file PomwigHadronizer.cc.
References conv, doPDGConvert, gen::BaseHadronizer::event(), and wrapper.
|
inline |
Definition at line 25 of file PomwigHadronizer.h.
bool gen::PomwigHadronizer::declareStableParticles | ( | const std::vector< int > & | pdgIds | ) |
Definition at line 279 of file PomwigHadronizer.cc.
void gen::PomwigHadronizer::finalizeEvent | ( | ) |
Definition at line 339 of file PomwigHadronizer.cc.
References gen::BaseHadronizer::event(), and lhef::LHEEvent::fixHepMCEventTimeOrdering().
bool gen::PomwigHadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 304 of file PomwigHadronizer.cc.
References gen::Herwig6Instance::callWithTimeout(), doMPInteraction, error, gen::BaseHadronizer::event(), gen::hwwarn_(), useJimmy, and wrapper.
bool gen::PomwigHadronizer::hadronize | ( | ) |
Definition at line 299 of file PomwigHadronizer.cc.
|
private |
Definition at line 233 of file PomwigHadronizer.cc.
References printConversionInfo::aux, cl, edm::errors::Configuration, diffTopology, edm::hlt::Exception, python.connectstrParser::f2, h1fit, gen::qcd_1994(), and gen::qcd_2006().
Referenced by initializeForInternalPartons().
bool gen::PomwigHadronizer::initializeForExternalPartons | ( | ) |
Definition at line 128 of file PomwigHadronizer.cc.
bool gen::PomwigHadronizer::initializeForInternalPartons | ( | ) |
Definition at line 219 of file PomwigHadronizer.cc.
References gen::FortranInstance::call(), and initializeDPDF().
bool gen::PomwigHadronizer::readSettings | ( | int | ) |
Definition at line 133 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 379 of file PomwigHadronizer.cc.
void gen::PomwigHadronizer::statistics | ( | ) |
Definition at line 288 of file PomwigHadronizer.cc.
References gen::BaseHadronizer::runInfo(), GenRunInfoProduct::setInternalXSec(), and survivalProbability.
|
private |
Definition at line 48 of file PomwigHadronizer.h.
Referenced by readSettings().
|
private |
Definition at line 59 of file PomwigHadronizer.h.
Referenced by decay().
|
private |
Definition at line 50 of file PomwigHadronizer.h.
Referenced by initializeDPDF(), and readSettings().
|
private |
Definition at line 54 of file PomwigHadronizer.h.
Referenced by generatePartonsAndHadronize().
|
private |
Definition at line 57 of file PomwigHadronizer.h.
Referenced by decay(), and PomwigHadronizer().
|
private |
Definition at line 51 of file PomwigHadronizer.h.
Referenced by initializeDPDF().
|
private |
Definition at line 44 of file PomwigHadronizer.h.
|
private |
Definition at line 43 of file PomwigHadronizer.h.
Referenced by readSettings().
|
private |
Definition at line 45 of file PomwigHadronizer.h.
Referenced by readSettings().
|
private |
Definition at line 40 of file PomwigHadronizer.h.
Referenced by clear(), and readSettings().
|
private |
Definition at line 55 of file PomwigHadronizer.h.
|
private |
Definition at line 42 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 46 of file PomwigHadronizer.h.
|
private |
Definition at line 49 of file PomwigHadronizer.h.
Referenced by statistics().
|
private |
Definition at line 53 of file PomwigHadronizer.h.
Referenced by clear(), and generatePartonsAndHadronize().