#include <Pythia6Hadronizer.h>
Static Public Member Functions | |
static JetMatching * | getJetMatching () |
Private Types | |
enum | { PP, PPbar, ElectronPositron, ElectronProton, PositronProton } |
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 | fBeam1PZ |
double | fBeam2PZ |
double | fCOMEnergy |
bool | fConvertToPDG |
bool | fDisplayPythiaBanner |
bool | fDisplayPythiaCards |
bool | fGluinoHadronsEnabled |
bool | fHepMCVerbosity |
bool | fImposeProperTime |
int | fInitialState |
unsigned int | fMaxEventsToPrint |
Pythia6Service * | fPy6Service |
unsigned int | fPythiaListVerbosity |
bool | fStopHadronsEnabled |
Static Private Attributes | |
static JetMatching * | fJetMatching = 0 |
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 42 of file Pythia6Hadronizer.h.
|
private |
Enumerator | |
---|---|
PP | |
PPbar | |
ElectronPositron | |
ElectronProton | |
PositronProton |
Definition at line 89 of file Pythia6Hadronizer.h.
gen::Pythia6Hadronizer::Pythia6Hadronizer | ( | edm::ParameterSet const & | ps | ) |
Definition at line 104 of file Pythia6Hadronizer.cc.
References gen::call_pygive(), edm::errors::Configuration, gather_cfg::cout, gen::JetMatching::create(), ElectronPositron, ElectronProton, edm::hlt::Exception, edm::ParameterSet::exists(), fBeam1PZ, fBeam2PZ, fConvertToPDG, fDisplayPythiaBanner, fDisplayPythiaCards, fGluinoHadronsEnabled, fImposeProperTime, fInitialState, fJetMatching, flushTmpStorage(), fStopHadronsEnabled, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), PositronProton, PP, and PPbar.
gen::Pythia6Hadronizer::~Pythia6Hadronizer | ( | ) |
Definition at line 251 of file Pythia6Hadronizer.cc.
References fJetMatching, and fPy6Service.
const char * gen::Pythia6Hadronizer::classname | ( | ) | const |
Definition at line 1039 of file Pythia6Hadronizer.cc.
bool gen::Pythia6Hadronizer::decay | ( | ) |
Definition at line 566 of file Pythia6Hadronizer.cc.
bool gen::Pythia6Hadronizer::declareSpecialSettings | ( | const std::vector< std::string > & | settings | ) |
Definition at line 912 of file Pythia6Hadronizer.cc.
References gen::call_pygive(), edm::errors::Configuration, edm::hlt::Exception, spr::find(), contentValuesFiles::number, gen::pycomp_(), gen::pydat1_, AlCaHLTBitMon_QueryRunRegistry::string, and relativeConstraints::value.
bool gen::Pythia6Hadronizer::declareStableParticles | ( | const std::vector< int > & | pdg | ) |
Definition at line 890 of file Pythia6Hadronizer.cc.
References gen::call_pygive(), i, and gen::pycomp_().
|
overrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 257 of file Pythia6Hadronizer.cc.
References fPy6Service, and gen::Pythia6Service::setRandomEngine().
|
inlineoverrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 73 of file Pythia6Hadronizer.h.
References theSharedResources.
|
private |
Definition at line 280 of file Pythia6Hadronizer.cc.
References i, gen::pyjets_local, and mathSSE::return().
Referenced by generatePartonsAndHadronize(), and hadronize().
void gen::Pythia6Hadronizer::finalizeEvent | ( | ) |
Definition at line 299 of file Pythia6Hadronizer.cc.
References funct::abs(), gen::call_pylist(), gather_cfg::cout, fwrapper::cs, gen::BaseHadronizer::event(), gen::BaseHadronizer::eventInfo(), fConvertToPDG, fDisplayPythiaCards, fHepMCVerbosity, lhef::LHEEvent::fillEventInfo(), lhef::LHEEvent::fillPdfInfo(), fImposeProperTime, fMaxEventsToPrint, fPythiaListVerbosity, imposeProperTime(), gen::BaseHadronizer::lheEvent(), gen::BaseHadronizer::lheRunInfo(), pydat1, pyint1, pypars, and mathSSE::sqrt().
|
private |
Definition at line 262 of file Pythia6Hadronizer.cc.
References i, and gen::pyjets_local.
Referenced by generatePartonsAndHadronize(), hadronize(), and Pythia6Hadronizer().
bool gen::Pythia6Hadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 444 of file Pythia6Hadronizer.cc.
References gen::call_pygive(), conv, gen::BaseHadronizer::event(), fGluinoHadronsEnabled, fillTmpStorage(), flushTmpStorage(), fPy6Service, fStopHadronsEnabled, gen::FortranCallback::getInstance(), gen::pyglfr_(), pyint1, gen::pystfr_(), and gen::FortranCallback::resetIterationsPerEvent().
|
inlinestatic |
Definition at line 60 of file Pythia6Hadronizer.h.
References fJetMatching.
Referenced by gen::Pythia6ServiceWithCallback::upEvnt(), and gen::Pythia6ServiceWithCallback::upVeto().
bool gen::Pythia6Hadronizer::hadronize | ( | ) |
Definition at line 495 of file Pythia6Hadronizer.cc.
References gen::JetMatching::beforeHadronisation(), gen::call_pygive(), conv, lhef::LHEEvent::count(), gen::BaseHadronizer::event(), fGluinoHadronsEnabled, fillTmpStorage(), fJetMatching, flushTmpStorage(), fPy6Service, fStopHadronsEnabled, gen::FortranCallback::getInstance(), hepeup_, lhef::LHERunInfo::kAccepted, lhef::LHERunInfo::kSelected, gen::BaseHadronizer::lheEvent(), HEPEUP_::nup, gen::pyglfr_(), pyint1, pypars, gen::pystfr_(), gen::FortranCallback::resetIterationsPerEvent(), gen::JetMatching::resetMatchingStatus(), and gen::FortranCallback::setLHEEvent().
|
private |
Definition at line 955 of file Pythia6Hadronizer.cc.
References funct::abs(), gen::FortranInstance::call(), gen::BaseHadronizer::event(), fPy6Service, cmsBatch::log, gen::pycomp_(), pydat1, gen::pyr_(), mathSSE::sqrt(), edmStreamStallGrapher::t, vbegin, vend, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by finalizeEvent().
bool gen::Pythia6Hadronizer::initializeForExternalPartons | ( | ) |
Definition at line 764 of file Pythia6Hadronizer.cc.
References gen::call_pygive(), gen::Pythia6Service::closeSLHA(), fGluinoHadronsEnabled, lhef::LHERunInfo::findHeader(), fJetMatching, fPy6Service, fStopHadronsEnabled, gen::FortranCallback::getInstance(), gen::JetMatching::init(), gen::BaseHadronizer::lheRunInfo(), gen::pyglrhad_(), gen::pystrhad_(), gen::FortranCallback::setLHERunInfo(), gen::Pythia6Service::setPYUPDAParams(), and gen::Pythia6Service::setSLHAFromHeader().
bool gen::Pythia6Hadronizer::initializeForInternalPartons | ( | ) |
Definition at line 818 of file Pythia6Hadronizer.cc.
References gen::call_pygive(), gen::Pythia6Service::closeSLHA(), edm::errors::Configuration, ElectronPositron, ElectronProton, edm::hlt::Exception, fBeam1PZ, fBeam2PZ, fCOMEnergy, fGluinoHadronsEnabled, fInitialState, fPy6Service, fStopHadronsEnabled, PositronProton, PP, PPbar, gen::pyglrhad_(), gen::pystrhad_(), and gen::Pythia6Service::setPYUPDAParams().
bool gen::Pythia6Hadronizer::readSettings | ( | int | key | ) |
Definition at line 751 of file Pythia6Hadronizer.cc.
References fPy6Service, gen::Pythia6Service::setCSAParams(), gen::Pythia6Service::setGeneralParams(), and gen::Pythia6Service::setSLHAParams().
bool gen::Pythia6Hadronizer::residualDecay | ( | ) |
Definition at line 571 of file Pythia6Hadronizer.cc.
References gen::BaseHadronizer::event(), fPy6Service, GenParticle::GenParticle, i, dbtoconf::parent, gen::pycomp_(), gen::pydecy_(), gen::pyjets_local, and ntuplemaker::status.
void gen::Pythia6Hadronizer::statistics | ( | ) |
Definition at line 1021 of file Pythia6Hadronizer.cc.
References fwrapper::cs, pypars, gen::BaseHadronizer::runInfo(), and GenRunInfoProduct::setInternalXSec().
|
private |
Definition at line 94 of file Pythia6Hadronizer.h.
Referenced by initializeForInternalPartons(), and Pythia6Hadronizer().
|
private |
Definition at line 95 of file Pythia6Hadronizer.h.
Referenced by initializeForInternalPartons(), and Pythia6Hadronizer().
|
private |
Definition at line 92 of file Pythia6Hadronizer.h.
Referenced by initializeForInternalPartons().
|
private |
Definition at line 119 of file Pythia6Hadronizer.h.
Referenced by finalizeEvent(), and Pythia6Hadronizer().
|
private |
Definition at line 105 of file Pythia6Hadronizer.h.
Referenced by Pythia6Hadronizer().
|
private |
Definition at line 106 of file Pythia6Hadronizer.h.
Referenced by finalizeEvent(), and Pythia6Hadronizer().
|
private |
Definition at line 113 of file Pythia6Hadronizer.h.
Referenced by generatePartonsAndHadronize(), hadronize(), initializeForExternalPartons(), initializeForInternalPartons(), and Pythia6Hadronizer().
|
private |
Definition at line 99 of file Pythia6Hadronizer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 116 of file Pythia6Hadronizer.h.
Referenced by finalizeEvent(), and Pythia6Hadronizer().
|
private |
Definition at line 91 of file Pythia6Hadronizer.h.
Referenced by initializeForInternalPartons(), and Pythia6Hadronizer().
|
staticprivate |
Definition at line 97 of file Pythia6Hadronizer.h.
Referenced by getJetMatching(), hadronize(), initializeForExternalPartons(), Pythia6Hadronizer(), and ~Pythia6Hadronizer().
|
private |
Definition at line 100 of file Pythia6Hadronizer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 83 of file Pythia6Hadronizer.h.
Referenced by doSetRandomEngine(), generatePartonsAndHadronize(), hadronize(), imposeProperTime(), initializeForExternalPartons(), initializeForInternalPartons(), readSettings(), residualDecay(), and ~Pythia6Hadronizer().
|
private |
Definition at line 104 of file Pythia6Hadronizer.h.
Referenced by finalizeEvent().
|
private |
Definition at line 112 of file Pythia6Hadronizer.h.
Referenced by generatePartonsAndHadronize(), hadronize(), initializeForExternalPartons(), initializeForInternalPartons(), and Pythia6Hadronizer().
|
staticprivate |
Definition at line 124 of file Pythia6Hadronizer.h.
Referenced by doSharedResources().