#include <BaseHadronizer.h>
Definition at line 36 of file BaseHadronizer.h.
gen::BaseHadronizer::BaseHadronizer | ( | edm::ParameterSet const & | ps | ) |
Definition at line 6 of file BaseHadronizer.cc.
References edm::ParameterSet::getUntrackedParameter(), runInfo(), GenRunInfoProduct::setExternalXSecLO(), GenRunInfoProduct::setExternalXSecNLO(), and GenRunInfoProduct::setFilterEfficiency().
{ runInfo().setFilterEfficiency( ps.getUntrackedParameter<double>("filterEfficiency", -1.) ); runInfo().setExternalXSecLO( GenRunInfoProduct::XSec(ps.getUntrackedParameter<double>("crossSection", -1.)) ); runInfo().setExternalXSecNLO( GenRunInfoProduct::XSec(ps.getUntrackedParameter<double>("crossSectionNLO", -1.)) ); }
gen::BaseHadronizer::~BaseHadronizer | ( | ) | [inline] |
Definition at line 39 of file BaseHadronizer.h.
{}
std::auto_ptr<HepMC::GenEvent>& gen::BaseHadronizer::event | ( | ) | [inline, protected] |
Definition at line 62 of file BaseHadronizer.h.
References genEvent_.
Referenced by gen::PomwigHadronizer::decay(), Herwig6Hadronizer::decay(), gen::Pythia6Hadronizer::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), Herwig6Hadronizer::finalizeEvent(), gen::ExhumeHadronizer::finalizeEvent(), SherpaHadronizer::finalizeEvent(), gen::PomwigHadronizer::finalizeEvent(), ThePEGHadronizer::finalizeEvent(), gen::ExhumeHadronizer::generatePartonsAndHadronize(), gen::HijingHadronizer::generatePartonsAndHadronize(), ThePEGHadronizer::generatePartonsAndHadronize(), gen::AMPTHadronizer::generatePartonsAndHadronize(), Pythia8Hadronizer::generatePartonsAndHadronize(), gen::HydjetHadronizer::generatePartonsAndHadronize(), gen::PomwigHadronizer::generatePartonsAndHadronize(), gen::Pythia6Hadronizer::generatePartonsAndHadronize(), gen::PyquenHadronizer::generatePartonsAndHadronize(), Herwig6Hadronizer::hadronize(), gen::Pythia6Hadronizer::hadronize(), Pythia8Hadronizer::hadronize(), gen::Pythia6Hadronizer::imposeProperTime(), Herwig6Hadronizer::pythiaStatusCodes(), gen::Pythia6Hadronizer::residualDecay(), Pythia8Hadronizer::residualDecay(), and setEDMEvent().
{ return genEvent_; }
std::auto_ptr<GenEventInfoProduct>& gen::BaseHadronizer::eventInfo | ( | ) | [inline, protected] |
Definition at line 63 of file BaseHadronizer.h.
References genEventInfo_.
Referenced by gen::Pythia6Hadronizer::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), Herwig6Hadronizer::finalizeEvent(), and ThePEGHadronizer::finalizeEvent().
{ return genEventInfo_; }
edm::Event& gen::BaseHadronizer::getEDMEvent | ( | ) | const [inline] |
Definition at line 57 of file BaseHadronizer.h.
References edmEvent_.
Referenced by gen::HydjetHadronizer::generatePartonsAndHadronize(), and gen::PyquenHadronizer::generatePartonsAndHadronize().
{ return *edmEvent_; }
HepMC::GenEvent* gen::BaseHadronizer::getGenEvent | ( | ) | [inline] |
Definition at line 43 of file BaseHadronizer.h.
References genEvent_.
{ return genEvent_.release(); }
GenEventInfoProduct* gen::BaseHadronizer::getGenEventInfo | ( | ) | [inline] |
Definition at line 44 of file BaseHadronizer.h.
References genEventInfo_.
{ return genEventInfo_.release(); }
GenRunInfoProduct& gen::BaseHadronizer::getGenRunInfo | ( | ) | [inline] |
const boost::shared_ptr<lhef::LHERunInfo>& gen::BaseHadronizer::getLHERunInfo | ( | ) | const [inline] |
lhef::LHEEvent* gen::BaseHadronizer::lheEvent | ( | ) | [inline, protected] |
Definition at line 65 of file BaseHadronizer.h.
References lheEvent_.
Referenced by gen::Pythia6Hadronizer::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), Herwig6Hadronizer::finalizeEvent(), Herwig6Hadronizer::hadronize(), gen::Pythia6Hadronizer::hadronize(), Pythia8Hadronizer::hadronize(), and Herwig6Hadronizer::upEvnt().
{ return lheEvent_.get(); }
lhef::LHERunInfo* gen::BaseHadronizer::lheRunInfo | ( | ) | [inline, protected] |
Definition at line 66 of file BaseHadronizer.h.
References lheRunInfo_.
Referenced by gen::Pythia6Hadronizer::finalizeEvent(), Pythia8Hadronizer::finalizeEvent(), Herwig6Hadronizer::finalizeEvent(), Herwig6Hadronizer::initialize(), gen::Pythia6Hadronizer::initializeForExternalPartons(), Pythia8Hadronizer::initializeForExternalPartons(), Herwig6Hadronizer::readSettings(), and Herwig6Hadronizer::upInit().
{ return lheRunInfo_.get(); }
void gen::BaseHadronizer::resetEvent | ( | HepMC::GenEvent * | event | ) | [inline] |
Definition at line 46 of file BaseHadronizer.h.
References genEvent_.
Referenced by SherpaHadronizer::generatePartonsAndHadronize().
void gen::BaseHadronizer::resetEventInfo | ( | GenEventInfoProduct * | eventInfo | ) | [inline] |
Definition at line 47 of file BaseHadronizer.h.
References genEventInfo_.
{ genEventInfo_.reset(eventInfo); }
GenRunInfoProduct& gen::BaseHadronizer::runInfo | ( | ) | [inline, protected] |
Definition at line 61 of file BaseHadronizer.h.
References genRunInfo_.
Referenced by BaseHadronizer(), SherpaHadronizer::statistics(), gen::PomwigHadronizer::statistics(), ThePEGHadronizer::statistics(), Pythia8Hadronizer::statistics(), Herwig6Hadronizer::statistics(), gen::Pythia6Hadronizer::statistics(), and gen::ExhumeHadronizer::statistics().
{ return genRunInfo_; }
virtual bool gen::BaseHadronizer::select | ( | HepMC::GenEvent * | ) | const [inline, virtual] |
Reimplemented in gen::PyquenHadronizer.
Definition at line 58 of file BaseHadronizer.h.
{ return true;}
void gen::BaseHadronizer::setEDMEvent | ( | edm::Event & | event | ) | [inline] |
void gen::BaseHadronizer::setLHEEvent | ( | lhef::LHEEvent * | event | ) | [inline] |
void gen::BaseHadronizer::setLHERunInfo | ( | lhef::LHERunInfo * | runInfo | ) | [inline] |
Definition at line 52 of file BaseHadronizer.h.
References lheRunInfo_.
{ lheRunInfo_.reset(runInfo); }
edm::Event* gen::BaseHadronizer::edmEvent_ [private] |
Definition at line 76 of file BaseHadronizer.h.
Referenced by getEDMEvent(), and setEDMEvent().
std::auto_ptr<HepMC::GenEvent> gen::BaseHadronizer::genEvent_ [private] |
Definition at line 70 of file BaseHadronizer.h.
Referenced by event(), getGenEvent(), and resetEvent().
std::auto_ptr<GenEventInfoProduct> gen::BaseHadronizer::genEventInfo_ [private] |
Definition at line 71 of file BaseHadronizer.h.
Referenced by eventInfo(), getGenEventInfo(), and resetEventInfo().
Definition at line 69 of file BaseHadronizer.h.
Referenced by getGenRunInfo(), and runInfo().
std::auto_ptr<lhef::LHEEvent> gen::BaseHadronizer::lheEvent_ [private] |
Definition at line 74 of file BaseHadronizer.h.
Referenced by lheEvent(), and setLHEEvent().
boost::shared_ptr<lhef::LHERunInfo> gen::BaseHadronizer::lheRunInfo_ [private] |
Definition at line 73 of file BaseHadronizer.h.
Referenced by getLHERunInfo(), lheRunInfo(), and setLHERunInfo().