#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 () 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 |
std::unique_ptr< HepMC::GenEvent > | getGenEvent () |
std::unique_ptr< HepMC3::GenEvent > | getGenEvent3 () |
std::unique_ptr< GenEventInfoProduct > | getGenEventInfo () |
std::unique_ptr< GenEventInfoProduct3 > | getGenEventInfo3 () |
virtual std::unique_ptr< GenLumiInfoHeader > | getGenLumiInfoHeader () const |
GenRunInfoProduct & | getGenRunInfo () |
std::unique_ptr< lhef::LHEEvent > | getLHEEvent () |
const std::shared_ptr< lhef::LHERunInfo > & | getLHERunInfo () const |
unsigned int | getVHepMC () |
const std::string & | gridpackPath () const |
int | randomIndex () const |
const std::string & | randomInitConfigDescription () const |
void | randomizeIndex (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine) |
void | resetEvent (std::unique_ptr< HepMC::GenEvent > event) |
void | resetEvent3 (std::unique_ptr< HepMC3::GenEvent > event3) |
void | resetEventInfo (std::unique_ptr< GenEventInfoProduct > eventInfo) |
void | resetEventInfo3 (std::unique_ptr< GenEventInfoProduct3 > eventInfo) |
virtual bool | select (HepMC::GenEvent *) const |
void | setEDMEvent (edm::Event &event) |
void | setLHEEvent (std::unique_ptr< lhef::LHEEvent > event) |
void | setLHERunInfo (std::unique_ptr< lhef::LHERunInfo > runInfo) |
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
std::vector< std::string > const & | sharedResources () const |
virtual | ~BaseHadronizer () noexcept(false) |
Private Member Functions | |
void | doSetRandomEngine (CLHEP::HepRandomEngine *v) override |
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::unique_ptr< HepMC::GenEvent > & | event () |
std::unique_ptr< HepMC3::GenEvent > & | event3 () |
std::unique_ptr< GenEventInfoProduct > & | eventInfo () |
std::unique_ptr< GenEventInfoProduct3 > & | eventInfo3 () |
lhef::LHEEvent * | lheEvent () |
lhef::LHERunInfo * | lheRunInfo () |
GenRunInfoProduct & | runInfo () |
Protected Attributes inherited from gen::BaseHadronizer | |
unsigned int | ivhepmc = 2 |
std::string | lheFile_ |
int | randomIndex_ |
Definition at line 36 of file ExhumeHadronizer.h.
gen::ExhumeHadronizer::ExhumeHadronizer | ( | edm::ParameterSet const & | ps | ) |
Definition at line 76 of file ExhumeHadronizer.cc.
References convertToPDG_, and muonDTDigis_cfi::pset.
|
override |
Definition at line 94 of file ExhumeHadronizer.cc.
References exhumeEvent_, exhumeProcess_, and pythia6Service_.
const char * gen::ExhumeHadronizer::classname | ( | ) | const |
Definition at line 273 of file ExhumeHadronizer.cc.
bool gen::ExhumeHadronizer::decay | ( | ) |
Definition at line 168 of file ExhumeHadronizer.cc.
bool gen::ExhumeHadronizer::declareSpecialSettings | ( | const std::vector< std::string > & | ) |
Definition at line 244 of file ExhumeHadronizer.cc.
bool gen::ExhumeHadronizer::declareStableParticles | ( | const std::vector< int > & | _pdg | ) |
Definition at line 229 of file ExhumeHadronizer.cc.
References gen::call_pygive(), gather_cfg::cout, mps_fire::i, and pycomp.
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 101 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 60 of file ExhumeHadronizer.h.
References theSharedResources.
void gen::ExhumeHadronizer::finalizeEvent | ( | ) |
Definition at line 109 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 151 of file ExhumeHadronizer.cc.
References gen::BaseHadronizer::event(), exhume_conv, exhumeEvent_, exhumeProcess_, Exhume::Event::Generate(), gen::FortranCallback::getInstance(), Exhume::CrossSection::Hadronise(), pythia6Service_, and gen::FortranCallback::resetIterationsPerEvent().
bool gen::ExhumeHadronizer::hadronize | ( | ) |
Definition at line 166 of file ExhumeHadronizer.cc.
bool gen::ExhumeHadronizer::initializeForExternalPartons | ( | ) |
Definition at line 172 of file ExhumeHadronizer.cc.
bool gen::ExhumeHadronizer::initializeForInternalPartons | ( | ) |
Definition at line 182 of file ExhumeHadronizer.cc.
References edm::errors::Configuration, hltExoticaValidator_cfi::DiPhoton, Exception, exhumeEvent_, exhumeProcess_, edm::ParameterSet::getParameter(), myPSet_, pypars, pythia6Service_, randomEngine_, Exhume::Event::SetMassRange(), Exhume::Event::SetParameterSpace(), AlCaHLTBitMon_QueryRunRegistry::string, and muonRecoAnalyzer_cfi::thetaMin.
bool gen::ExhumeHadronizer::readSettings | ( | int | ) |
Definition at line 174 of file ExhumeHadronizer.cc.
References pythia6Service_, and gen::Pythia6Service::setGeneralParams().
bool gen::ExhumeHadronizer::residualDecay | ( | ) |
Definition at line 170 of file ExhumeHadronizer.cc.
void gen::ExhumeHadronizer::statistics | ( | ) |
Definition at line 246 of file ExhumeHadronizer.cc.
References Exhume::Event::CrossSectionCalculation(), callgraph::cs, exhumeEvent_, exhumeProcess_, Exhume::Event::GetEfficiency(), Exhume::CrossSection::GetName(), Skims_PA_cff::name, gen::BaseHadronizer::runInfo(), GenRunInfoProduct::setInternalXSec(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 68 of file ExhumeHadronizer.h.
|
private |
Definition at line 78 of file ExhumeHadronizer.h.
Referenced by ExhumeHadronizer(), and finalizeEvent().
|
private |
Definition at line 81 of file ExhumeHadronizer.h.
Referenced by doSetRandomEngine(), generatePartonsAndHadronize(), initializeForInternalPartons(), statistics(), and ~ExhumeHadronizer().
|
private |
Definition at line 82 of file ExhumeHadronizer.h.
Referenced by generatePartonsAndHadronize(), initializeForInternalPartons(), statistics(), and ~ExhumeHadronizer().
|
private |
Definition at line 74 of file ExhumeHadronizer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 75 of file ExhumeHadronizer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 72 of file ExhumeHadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 64 of file ExhumeHadronizer.h.
Referenced by doSetRandomEngine(), generatePartonsAndHadronize(), initializeForInternalPartons(), readSettings(), and ~ExhumeHadronizer().
|
private |
Definition at line 76 of file ExhumeHadronizer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 66 of file ExhumeHadronizer.h.
Referenced by doSetRandomEngine(), and initializeForInternalPartons().
|
staticprivate |
Definition at line 62 of file ExhumeHadronizer.h.
Referenced by doSharedResources().