#include <Cascade2Hadronizer.h>
Private Member Functions | |
virtual void | doSetRandomEngine (CLHEP::HepRandomEngine *v) override |
virtual 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 () |
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, edm::hlt::Exception, edm::ParameterSet::exists(), fConvertToPDG, fDisplayPythiaBanner, fDisplayPythiaCards, flushTmpStorage(), fParameters, and edm::ParameterSet::getParameter().
gen::Cascade2Hadronizer::~Cascade2Hadronizer | ( | ) |
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.
bool gen::Cascade2Hadronizer::declareStableParticles | ( | const std::vector< int > & | _pdg | ) |
Definition at line 522 of file Cascade2Hadronizer.cc.
References gen::call_pygive(), 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.
References theSharedResources.
|
private |
Definition at line 154 of file Cascade2Hadronizer.cc.
References i, gen::pyjets_local, and reco::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 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(), gen::BaseHadronizer::event(), fPy6Service, fff_deleter::log, gen::pycomp_(), pydat1, gen::pyr_(), mathSSE::sqrt(), edmStreamStallGrapher::t, vbegin, vend, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
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, edm::hlt::Exception, fComEnergy, fParameters, fPy6Service, edm::ParameterSet::getParameter(), 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, configurableAnalysis::GenParticle, i, dbtoconf::parent, gen::pycomp_(), gen::pydecy_(), gen::pyjets_local, and ntuplemaker::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.
Referenced by doSharedResources().