#include <Cascade2Hadronizer.h>
Public Member Functions | |
Cascade2Hadronizer (edm::ParameterSet const &ps) | |
void | cascadePrintParameters () |
bool | cascadeReadParameters (const std::string &ParameterString) |
const char * | classname () const |
bool | decay () |
bool | declareSpecialSettings (const std::vector< std::string > &) |
bool | declareStableParticles (const std::vector< int > &) |
void | finalizeEvent () |
bool | generatePartonsAndHadronize () |
bool | hadronize () |
bool | initializeForExternalPartons () |
bool | initializeForInternalPartons () |
void | pythia6PrintParameters () |
bool | readSettings (int) |
bool | residualDecay () |
void | statistics () |
~Cascade2Hadronizer () 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< GenEventInfoProduct > | getGenEventInfo () |
virtual std::unique_ptr< GenLumiInfoHeader > | getGenLumiInfoHeader () const |
GenRunInfoProduct & | getGenRunInfo () |
std::unique_ptr< lhef::LHEEvent > | getLHEEvent () |
const std::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 (std::unique_ptr< HepMC::GenEvent > event) |
void | resetEventInfo (std::unique_ptr< GenEventInfoProduct > 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 |
void | fillTmpStorage () |
void | flushTmpStorage () |
void | imposeProperTime () |
Private Attributes | |
double | fComEnergy |
bool | fConvertToPDG |
bool | fDisplayPythiaBanner |
bool | fDisplayPythiaCards |
double | fextCrossSection |
double | fextCrossSectionError |
double | fFilterEfficiency |
bool | fHepMCVerbosity |
unsigned int | fMaxEventsToPrint |
edm::ParameterSet | fParameters |
Pythia6Service * | fPy6Service |
unsigned int | fPythiaListVerbosity |
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< GenEventInfoProduct > & | eventInfo () |
lhef::LHEEvent * | lheEvent () |
lhef::LHERunInfo * | lheRunInfo () |
GenRunInfoProduct & | runInfo () |
Protected Attributes inherited from gen::BaseHadronizer | |
std::string | lheFile_ |
int | randomIndex_ |
Definition at line 24 of file Cascade2Hadronizer.h.
gen::Cascade2Hadronizer::Cascade2Hadronizer | ( | edm::ParameterSet const & | ps | ) |
Definition at line 82 of file Cascade2Hadronizer.cc.
References gen::call_pygive(), edm::errors::Configuration, Exception, fConvertToPDG, fDisplayPythiaBanner, fDisplayPythiaCards, flushTmpStorage(), fParameters, and muonDTDigis_cfi::pset.
|
override |
Definition at line 123 of file Cascade2Hadronizer.cc.
References fPy6Service.
void gen::Cascade2Hadronizer::cascadePrintParameters | ( | ) |
Definition at line 726 of file Cascade2Hadronizer.cc.
References cagluon, cahflav, cainpu, caluco, capar1, capar6, captcut, cascol, cashower, caspdf, casprre, casshwr, gather_cfg::cout, fComEnergy, fextCrossSection, fextCrossSectionError, fFilterEfficiency, integr, jpsi, and scalf.
Referenced by initializeForInternalPartons().
bool gen::Cascade2Hadronizer::cascadeReadParameters | ( | const std::string & | ParameterString | ) |
Definition at line 626 of file Cascade2Hadronizer.cc.
References cagluon, cahflav, cainpu, caluco, capar1, capar6, captcut, cascol, cashower, casprre, casshwr, integr, jpsi, and scalf.
Referenced by initializeForInternalPartons().
const char * gen::Cascade2Hadronizer::classname | ( | ) | const |
Definition at line 622 of file Cascade2Hadronizer.cc.
bool gen::Cascade2Hadronizer::decay | ( | ) |
Definition at line 277 of file Cascade2Hadronizer.cc.
|
inline |
Definition at line 38 of file Cascade2Hadronizer.h.
bool gen::Cascade2Hadronizer::declareStableParticles | ( | const std::vector< int > & | _pdg | ) |
Definition at line 517 of file Cascade2Hadronizer.cc.
References gen::call_pygive(), mps_fire::i, and gen::pycomp_().
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 128 of file Cascade2Hadronizer.cc.
References cascade2RandomEngine, fPy6Service, gen::Pythia6Service::setRandomEngine(), and gen::v.
|
inlineoverrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 51 of file Cascade2Hadronizer.h.
References theSharedResources.
|
private |
Definition at line 147 of file Cascade2Hadronizer.cc.
References mps_fire::i, and gen::pyjets_local.
Referenced by generatePartonsAndHadronize().
void gen::Cascade2Hadronizer::finalizeEvent | ( | ) |
Definition at line 161 of file Cascade2Hadronizer.cc.
References gen::call_pylist(), gather_cfg::cout, debug, gen::BaseHadronizer::event(), gen::BaseHadronizer::eventInfo(), fConvertToPDG, fHepMCVerbosity, fMaxEventsToPrint, fPythiaListVerbosity, get, imposeProperTime(), pydat1, pyint1, and pypars.
|
private |
Definition at line 133 of file Cascade2Hadronizer.cc.
References mps_fire::i, and gen::pyjets_local.
Referenced by Cascade2Hadronizer(), and generatePartonsAndHadronize().
bool gen::Cascade2Hadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 249 of file Cascade2Hadronizer.cc.
References call_event(), gen::BaseHadronizer::event(), fillTmpStorage(), flushTmpStorage(), fPy6Service, gen::FortranCallback::getInstance(), hepevtio, pyint1, and gen::FortranCallback::resetIterationsPerEvent().
bool gen::Cascade2Hadronizer::hadronize | ( | ) |
Definition at line 247 of file Cascade2Hadronizer.cc.
|
private |
Definition at line 535 of file Cascade2Hadronizer.cc.
References funct::abs(), gen::FortranInstance::call(), class-composition::children, gen::BaseHadronizer::event(), DQMScaleToClient_cfi::factor, fPy6Service, dqm-mbProfile::log, gen::pycomp_(), pydat1, gen::pyr_(), mathSSE::sqrt(), and submitPVValidationJobs::t.
Referenced by finalizeEvent().
bool gen::Cascade2Hadronizer::initializeForExternalPartons | ( | ) |
Definition at line 445 of file Cascade2Hadronizer.cc.
bool gen::Cascade2Hadronizer::initializeForInternalPartons | ( | ) |
Definition at line 447 of file Cascade2Hadronizer.cc.
References cainpu, call_caend(), call_cascade(), call_cascha(), call_casini(), cascadePrintParameters(), cascadeReadParameters(), gen::Pythia6Service::closeSLHA(), edm::errors::Configuration, Exception, fComEnergy, fParameters, fPy6Service, edm::ParameterSet::getParameter(), mps_fire::i, pythia6PrintParameters(), gen::Pythia6Service::setCSAParams(), gen::Pythia6Service::setGeneralParams(), gen::Pythia6Service::setPYUPDAParams(), and gen::Pythia6Service::setSLHAParams().
void gen::Cascade2Hadronizer::pythia6PrintParameters | ( | ) |
Definition at line 789 of file Cascade2Hadronizer.cc.
References gather_cfg::cout, and pydat1.
Referenced by initializeForInternalPartons().
bool gen::Cascade2Hadronizer::readSettings | ( | int | key | ) |
Definition at line 432 of file Cascade2Hadronizer.cc.
References fPy6Service, crabWrapper::key, gen::Pythia6Service::setCSAParams(), gen::Pythia6Service::setGeneralParams(), and gen::Pythia6Service::setSLHAParams().
bool gen::Cascade2Hadronizer::residualDecay | ( | ) |
Definition at line 279 of file Cascade2Hadronizer.cc.
References gen::BaseHadronizer::event(), fPy6Service, GenParticle::GenParticle, mps_fire::i, class-composition::parent, EgammaValidation_cff::pdgid, gen::pycomp_(), gen::pydecy_(), gen::pyjets_local, and mps_update::status.
void gen::Cascade2Hadronizer::statistics | ( | ) |
Definition at line 602 of file Cascade2Hadronizer.cc.
References caeffic, call_caend(), fextCrossSection, fextCrossSectionError, gen::BaseHadronizer::runInfo(), GenRunInfoProduct::setExternalXSecLO(), GenRunInfoProduct::setExternalXSecNLO(), and GenRunInfoProduct::setInternalXSec().
|
private |
Definition at line 68 of file Cascade2Hadronizer.h.
Referenced by cascadePrintParameters(), and initializeForInternalPartons().
|
private |
Definition at line 80 of file Cascade2Hadronizer.h.
Referenced by Cascade2Hadronizer(), and finalizeEvent().
|
private |
Definition at line 77 of file Cascade2Hadronizer.h.
Referenced by Cascade2Hadronizer().
|
private |
Definition at line 78 of file Cascade2Hadronizer.h.
Referenced by Cascade2Hadronizer().
|
private |
Definition at line 69 of file Cascade2Hadronizer.h.
Referenced by cascadePrintParameters(), and statistics().
|
private |
Definition at line 70 of file Cascade2Hadronizer.h.
Referenced by cascadePrintParameters(), and statistics().
|
private |
Definition at line 71 of file Cascade2Hadronizer.h.
Referenced by cascadePrintParameters().
|
private |
Definition at line 74 of file Cascade2Hadronizer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 73 of file Cascade2Hadronizer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 63 of file Cascade2Hadronizer.h.
Referenced by Cascade2Hadronizer(), and initializeForInternalPartons().
|
private |
Definition at line 65 of file Cascade2Hadronizer.h.
Referenced by doSetRandomEngine(), generatePartonsAndHadronize(), imposeProperTime(), initializeForInternalPartons(), readSettings(), residualDecay(), and ~Cascade2Hadronizer().
|
private |
Definition at line 75 of file Cascade2Hadronizer.h.
Referenced by finalizeEvent().
|
staticprivate |
Definition at line 53 of file Cascade2Hadronizer.h.
Referenced by doSharedResources().