#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 () override | |
Public Member Functions inherited from gen::BaseHadronizer | |
BaseHadronizer (edm::ParameterSet const &ps) | |
void | cleanLHE () |
void | generateLHE (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine, unsigned int ncpu) |
edm::Event & | getEDMEvent () const |
HepMC::GenEvent * | getGenEvent () |
GenEventInfoProduct * | getGenEventInfo () |
virtual GenLumiInfoHeader * | getGenLumiInfoHeader () const |
GenRunInfoProduct & | getGenRunInfo () |
const boost::shared_ptr< lhef::LHERunInfo > & | getLHERunInfo () const |
const std::string & | gridpackPath () const |
int | randomIndex () const |
const std::string & | randomInitConfigDescription () const |
void | randomizeIndex (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine) |
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 |
virtual | ~BaseHadronizer ()(false) |
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) |
~Herwig6Instance () override | |
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 () noexcept(false) |
Private Member Functions | |
void | clear () |
void | doSetRandomEngine (CLHEP::HepRandomEngine *v) override |
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::unique_ptr< HepMC::GenEvent > & | event () |
std::unique_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) |
Protected Attributes inherited from gen::BaseHadronizer | |
std::string | lheFile_ |
int | randomIndex_ |
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().
|
override |
Definition at line 115 of file PomwigHadronizer.cc.
References clear().
|
inline |
Definition at line 41 of file PomwigHadronizer.h.
References findQualityFiles::v.
|
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.
References SelectingProcedure_cff::decay, and myMessageLogger_cff::statistics.
bool gen::PomwigHadronizer::declareStableParticles | ( | const std::vector< int > & | pdgIds | ) |
Definition at line 289 of file PomwigHadronizer.cc.
|
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 hitfit::clear().
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, Exception, 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::FortranInstance::call(), clear(), comEnergy, edm::errors::Configuration, diffTopology, Exception, gen::Herwig6Instance::give(), herwigVerbosity, hwdspn, hwprch, mps_fire::i, mps_splice::line, maxEventsToPrint, and needClear.
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(), 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.
|
private |
Definition at line 66 of file PomwigHadronizer.h.
Referenced by clear(), and generatePartonsAndHadronize().