#include <Pythia6Hadronizer.h>
Public Member Functions | |
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 () |
Pythia6Hadronizer (edm::ParameterSet const &ps) | |
bool | readSettings (int) |
bool | residualDecay () |
void | statistics () |
virtual | ~Pythia6Hadronizer () |
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) |
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 () |
Protected Attributes inherited from gen::BaseHadronizer | |
std::string | lheFile_ |
int | randomIndex_ |
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, 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.
|
virtual |
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, Exception, spr::find(), gen::pycomp_(), gen::pydat1_, and AlCaHLTBitMon_QueryRunRegistry::string.
bool gen::Pythia6Hadronizer::declareStableParticles | ( | const std::vector< int > & | pdg | ) |
Definition at line 890 of file Pythia6Hadronizer.cc.
References gen::call_pygive(), mps_fire::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.
|
private |
Definition at line 280 of file Pythia6Hadronizer.cc.
References mps_fire::i, gen::pyjets_local, and reco::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, alignBH_cfg::fixed, 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 mps_fire::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 data-class-funcs::classname, myMessageLogger_cff::statistics, and findQualityFiles::v.
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(), 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::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, 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, mps_fire::i, class-composition::parent, BPhysicsValidation_cfi::pdgid, gen::pycomp_(), gen::pydecy_(), gen::pyjets_local, and mps_update::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 hadronize(), initializeForExternalPartons(), Pythia6Hadronizer(), gen::Pythia6ServiceWithCallback::upVeto(), 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 gen::Pythia6ServiceWithCallback::upVeto().