#include <BaseHadronizer.h>
Public Member Functions | |
BaseHadronizer (edm::ParameterSet const &ps) | |
edm::Event & | getEDMEvent () const |
HepMC::GenEvent * | getGenEvent () |
GenEventInfoProduct * | getGenEventInfo () |
GenRunInfoProduct & | getGenRunInfo () |
const boost::shared_ptr < lhef::LHERunInfo > & | getLHERunInfo () const |
void | resetEvent (HepMC::GenEvent *event) |
void | resetEventInfo (GenEventInfoProduct *eventInfo) |
void | setEDMEvent (edm::Event &event) |
void | setLHEEvent (lhef::LHEEvent *event) |
void | setLHERunInfo (lhef::LHERunInfo *runInfo) |
~BaseHadronizer () | |
Protected Member Functions | |
std::auto_ptr< HepMC::GenEvent > & | event () |
std::auto_ptr < GenEventInfoProduct > & | eventInfo () |
lhef::LHEEvent * | lheEvent () |
lhef::LHERunInfo * | lheRunInfo () |
GenRunInfoProduct & | runInfo () |
Private Attributes | |
edm::Event * | edmEvent_ |
std::auto_ptr< HepMC::GenEvent > | genEvent_ |
std::auto_ptr < GenEventInfoProduct > | genEventInfo_ |
GenRunInfoProduct | genRunInfo_ |
std::auto_ptr< lhef::LHEEvent > | lheEvent_ |
boost::shared_ptr < lhef::LHERunInfo > | lheRunInfo_ |
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 61 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(), ThePEGHadronizer::finalizeEvent(), gen::PomwigHadronizer::finalizeEvent(), gen::ExhumeHadronizer::generatePartonsAndHadronize(), ThePEGHadronizer::generatePartonsAndHadronize(), gen::HijingHadronizer::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(), and setEDMEvent().
{ return genEvent_; }
std::auto_ptr<GenEventInfoProduct>& gen::BaseHadronizer::eventInfo | ( | ) | [inline, protected] |
Definition at line 62 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 64 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 65 of file BaseHadronizer.h.
References lheRunInfo_.
Referenced by gen::Pythia6Hadronizer::finalizeEvent(), Herwig6Hadronizer::finalizeEvent(), Herwig6Hadronizer::initialize(), gen::Pythia6Hadronizer::initializeForExternalPartons(), Pythia8Hadronizer::initializeForExternalPartons(), Herwig6Hadronizer::initializeForExternalPartons(), 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 60 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_; }
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 75 of file BaseHadronizer.h.
Referenced by getEDMEvent(), and setEDMEvent().
std::auto_ptr<HepMC::GenEvent> gen::BaseHadronizer::genEvent_ [private] |
Definition at line 69 of file BaseHadronizer.h.
Referenced by event(), getGenEvent(), and resetEvent().
std::auto_ptr<GenEventInfoProduct> gen::BaseHadronizer::genEventInfo_ [private] |
Definition at line 70 of file BaseHadronizer.h.
Referenced by eventInfo(), getGenEventInfo(), and resetEventInfo().
Definition at line 68 of file BaseHadronizer.h.
Referenced by getGenRunInfo(), and runInfo().
std::auto_ptr<lhef::LHEEvent> gen::BaseHadronizer::lheEvent_ [private] |
Definition at line 73 of file BaseHadronizer.h.
Referenced by lheEvent(), and setLHEEvent().
boost::shared_ptr<lhef::LHERunInfo> gen::BaseHadronizer::lheRunInfo_ [private] |
Definition at line 72 of file BaseHadronizer.h.
Referenced by getLHERunInfo(), lheRunInfo(), and setLHERunInfo().