#include <ExhumeHadronizer.h>
Public Member Functions | |
const char * | classname () const |
bool | decay () |
bool | declareSpecialSettings (const std::vector< std::string > &) |
bool | declareStableParticles (const std::vector< int > &) |
ExhumeHadronizer (edm::ParameterSet const &ps) | |
void | finalizeEvent () |
bool | generatePartonsAndHadronize () |
bool | hadronize () |
bool | initializeForExternalPartons () |
bool | initializeForInternalPartons () |
bool | readSettings (int) |
bool | residualDecay () |
void | statistics () |
~ExhumeHadronizer () | |
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) |
Private Member Functions | |
virtual void | doSetRandomEngine (CLHEP::HepRandomEngine *v) override |
virtual std::vector< std::string > const & | doSharedResources () const override |
Private Attributes | |
double | comEnergy_ |
bool | convertToPDG_ |
Exhume::Event * | exhumeEvent_ |
Exhume::CrossSection * | exhumeProcess_ |
bool | hepMCVerbosity_ |
unsigned int | maxEventsToPrint_ |
edm::ParameterSet | myPSet_ |
Pythia6Service * | pythia6Service_ |
unsigned int | pythiaListVerbosity_ |
CLHEP::HepRandomEngine * | randomEngine_ |
Static Private Attributes | |
static const std::vector< std::string > | theSharedResources |
Additional Inherited Members | |
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 Attributes inherited from gen::BaseHadronizer | |
std::string | lheFile_ |
int | randomIndex_ |
Definition at line 41 of file ExhumeHadronizer.h.
gen::ExhumeHadronizer::ExhumeHadronizer | ( | edm::ParameterSet const & | ps | ) |
Definition at line 78 of file ExhumeHadronizer.cc.
References convertToPDG_, edm::ParameterSet::exists(), and edm::ParameterSet::getParameter().
gen::ExhumeHadronizer::~ExhumeHadronizer | ( | ) |
Definition at line 99 of file ExhumeHadronizer.cc.
References exhumeEvent_, exhumeProcess_, and pythia6Service_.
const char * gen::ExhumeHadronizer::classname | ( | ) | const |
Definition at line 301 of file ExhumeHadronizer.cc.
bool gen::ExhumeHadronizer::decay | ( | ) |
Definition at line 181 of file ExhumeHadronizer.cc.
bool gen::ExhumeHadronizer::declareSpecialSettings | ( | const std::vector< std::string > & | ) |
Definition at line 273 of file ExhumeHadronizer.cc.
bool gen::ExhumeHadronizer::declareStableParticles | ( | const std::vector< int > & | _pdg | ) |
Definition at line 255 of file ExhumeHadronizer.cc.
References gen::call_pygive(), gather_cfg::cout, mps_fire::i, and pycomp.
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 106 of file ExhumeHadronizer.cc.
References exhumeEvent_, pythia6Service_, randomEngine_, Exhume::Event::SetRandomEngine(), gen::Pythia6Service::setRandomEngine(), and gen::v.
|
inlineoverrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 68 of file ExhumeHadronizer.h.
void gen::ExhumeHadronizer::finalizeEvent | ( | ) |
Definition at line 115 of file ExhumeHadronizer.cc.
References gen::call_pylist(), convertToPDG_, gather_cfg::cout, gen::BaseHadronizer::event(), hepMCVerbosity_, maxEventsToPrint_, pyint1, pypars, and pythiaListVerbosity_.
bool gen::ExhumeHadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 160 of file ExhumeHadronizer.cc.
References conv, gen::BaseHadronizer::event(), exhumeEvent_, exhumeProcess_, Exhume::Event::Generate(), gen::FortranCallback::getInstance(), Exhume::CrossSection::Hadronise(), pythia6Service_, and gen::FortranCallback::resetIterationsPerEvent().
bool gen::ExhumeHadronizer::hadronize | ( | ) |
Definition at line 176 of file ExhumeHadronizer.cc.
bool gen::ExhumeHadronizer::initializeForExternalPartons | ( | ) |
Definition at line 191 of file ExhumeHadronizer.cc.
bool gen::ExhumeHadronizer::initializeForInternalPartons | ( | ) |
Definition at line 207 of file ExhumeHadronizer.cc.
References edm::errors::Configuration, Exception, exhumeEvent_, exhumeProcess_, edm::ParameterSet::getParameter(), myPSet_, pypars, pythia6Service_, randomEngine_, Exhume::Event::SetMassRange(), Exhume::Event::SetParameterSpace(), and AlCaHLTBitMon_QueryRunRegistry::string.
bool gen::ExhumeHadronizer::readSettings | ( | int | ) |
Definition at line 196 of file ExhumeHadronizer.cc.
References pythia6Service_, and gen::Pythia6Service::setGeneralParams().
bool gen::ExhumeHadronizer::residualDecay | ( | ) |
Definition at line 186 of file ExhumeHadronizer.cc.
void gen::ExhumeHadronizer::statistics | ( | ) |
Definition at line 278 of file ExhumeHadronizer.cc.
References Exhume::Event::CrossSectionCalculation(), fwrapper::cs, exhumeEvent_, exhumeProcess_, Exhume::Event::GetEfficiency(), Exhume::CrossSection::GetName(), dataset::name, gen::BaseHadronizer::runInfo(), GenRunInfoProduct::setInternalXSec(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 76 of file ExhumeHadronizer.h.
|
private |
Definition at line 86 of file ExhumeHadronizer.h.
Referenced by ExhumeHadronizer(), and finalizeEvent().
|
private |
Definition at line 89 of file ExhumeHadronizer.h.
Referenced by doSetRandomEngine(), generatePartonsAndHadronize(), initializeForInternalPartons(), statistics(), and ~ExhumeHadronizer().
|
private |
Definition at line 90 of file ExhumeHadronizer.h.
Referenced by generatePartonsAndHadronize(), initializeForInternalPartons(), statistics(), and ~ExhumeHadronizer().
|
private |
Definition at line 82 of file ExhumeHadronizer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 83 of file ExhumeHadronizer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 80 of file ExhumeHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 72 of file ExhumeHadronizer.h.
Referenced by doSetRandomEngine(), generatePartonsAndHadronize(), initializeForInternalPartons(), readSettings(), and ~ExhumeHadronizer().
|
private |
Definition at line 84 of file ExhumeHadronizer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 74 of file ExhumeHadronizer.h.
Referenced by doSetRandomEngine(), and initializeForInternalPartons().
|
staticprivate |
Definition at line 70 of file ExhumeHadronizer.h.
Referenced by gen::call_pygive().