#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 |
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 | |
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::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 24 of file Cascade2Hadronizer.h.
gen::Cascade2Hadronizer::Cascade2Hadronizer | ( | edm::ParameterSet const & | ps | ) |
Definition at line 86 of file Cascade2Hadronizer.cc.
References gen::call_pygive(), edm::errors::Configuration, Exception, edm::ParameterSet::exists(), fConvertToPDG, fDisplayPythiaBanner, fDisplayPythiaCards, flushTmpStorage(), fParameters, and edm::ParameterSet::getParameter().
|
override |
void gen::Cascade2Hadronizer::cascadePrintParameters | ( | ) |
Definition at line 734 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 | ) |
const char * gen::Cascade2Hadronizer::classname | ( | ) | const |
Definition at line 628 of file Cascade2Hadronizer.cc.
bool gen::Cascade2Hadronizer::decay | ( | ) |
Definition at line 276 of file Cascade2Hadronizer.cc.
|
inline |
Definition at line 40 of file Cascade2Hadronizer.h.
References data-class-funcs::classname, SelectingProcedure_cff::decay, myMessageLogger_cff::statistics, and findQualityFiles::v.
bool gen::Cascade2Hadronizer::declareStableParticles | ( | const std::vector< int > & | _pdg | ) |
Definition at line 522 of file Cascade2Hadronizer.cc.
References gen::call_pygive(), mps_fire::i, and gen::pycomp_().
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 134 of file Cascade2Hadronizer.cc.
References cascade2RandomEngine, fPy6Service, gen::Pythia6Service::setRandomEngine(), and gen::v.
|
inlineoverrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 54 of file Cascade2Hadronizer.h.
|
private |
Definition at line 154 of file Cascade2Hadronizer.cc.
References mps_fire::i, gen::pyjets_local, and mathSSE::return().
Referenced by generatePartonsAndHadronize().
void gen::Cascade2Hadronizer::finalizeEvent | ( | ) |
Definition at line 169 of file Cascade2Hadronizer.cc.
References gen::call_pylist(), gather_cfg::cout, debug, gen::BaseHadronizer::event(), gen::BaseHadronizer::eventInfo(), fConvertToPDG, fHepMCVerbosity, fMaxEventsToPrint, fPythiaListVerbosity, imposeProperTime(), pydat1, pyint1, and pypars.
|
private |
Definition at line 139 of file Cascade2Hadronizer.cc.
References mps_fire::i, and gen::pyjets_local.
Referenced by Cascade2Hadronizer(), and generatePartonsAndHadronize().
bool gen::Cascade2Hadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 247 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 243 of file Cascade2Hadronizer.cc.
|
private |
Definition at line 540 of file Cascade2Hadronizer.cc.
References funct::abs(), gen::FortranInstance::call(), class-composition::children, gen::BaseHadronizer::event(), fPy6Service, cmsBatch::log, gen::pycomp_(), pydat1, gen::pyr_(), mathSSE::sqrt(), lumiQTWidget::t, vbegin, and vend.
Referenced by finalizeEvent().
bool gen::Cascade2Hadronizer::initializeForExternalPartons | ( | ) |
Definition at line 445 of file Cascade2Hadronizer.cc.
bool gen::Cascade2Hadronizer::initializeForInternalPartons | ( | ) |
Definition at line 449 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 797 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, gen::Pythia6Service::setCSAParams(), gen::Pythia6Service::setGeneralParams(), and gen::Pythia6Service::setSLHAParams().
bool gen::Cascade2Hadronizer::residualDecay | ( | ) |
Definition at line 280 of file Cascade2Hadronizer.cc.
References gen::BaseHadronizer::event(), fPy6Service, GenParticle::GenParticle, mps_fire::i, class-composition::parent, BPhysicsValidation_cfi::pdgid, gen::pycomp_(), gen::pydecy_(), gen::pyjets_local, and mps_update::status.
void gen::Cascade2Hadronizer::statistics | ( | ) |
Definition at line 607 of file Cascade2Hadronizer.cc.
References caeffic, call_caend(), fextCrossSection, fextCrossSectionError, gen::BaseHadronizer::runInfo(), GenRunInfoProduct::setExternalXSecLO(), GenRunInfoProduct::setExternalXSecNLO(), and GenRunInfoProduct::setInternalXSec().
|
private |
Definition at line 70 of file Cascade2Hadronizer.h.
Referenced by cascadePrintParameters(), and initializeForInternalPartons().
|
private |
Definition at line 82 of file Cascade2Hadronizer.h.
Referenced by Cascade2Hadronizer(), and finalizeEvent().
|
private |
Definition at line 79 of file Cascade2Hadronizer.h.
Referenced by Cascade2Hadronizer().
|
private |
Definition at line 80 of file Cascade2Hadronizer.h.
Referenced by Cascade2Hadronizer().
|
private |
Definition at line 71 of file Cascade2Hadronizer.h.
Referenced by cascadePrintParameters(), and statistics().
|
private |
Definition at line 72 of file Cascade2Hadronizer.h.
Referenced by cascadePrintParameters(), and statistics().
|
private |
Definition at line 73 of file Cascade2Hadronizer.h.
Referenced by cascadePrintParameters().
|
private |
Definition at line 76 of file Cascade2Hadronizer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 75 of file Cascade2Hadronizer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 66 of file Cascade2Hadronizer.h.
Referenced by Cascade2Hadronizer(), and initializeForInternalPartons().
|
private |
Definition at line 68 of file Cascade2Hadronizer.h.
Referenced by doSetRandomEngine(), generatePartonsAndHadronize(), imposeProperTime(), initializeForInternalPartons(), readSettings(), residualDecay(), and ~Cascade2Hadronizer().
|
private |
Definition at line 77 of file Cascade2Hadronizer.h.
Referenced by finalizeEvent().
|
staticprivate |
Definition at line 56 of file Cascade2Hadronizer.h.