#include <Py8GunBase.h>
Public Member Functions | |
void | finalizeEvent () |
edm::Event & | getEDMEvent () const |
HepMC::GenEvent * | getGenEvent () |
GenEventInfoProduct * | getGenEventInfo () |
GenRunInfoProduct & | getGenRunInfo () |
bool | initializeForInternalPartons () |
Py8GunBase (edm::ParameterSet const &ps) | |
void | resetEvent (HepMC::GenEvent *event) |
void | resetEventInfo (GenEventInfoProduct *eventInfo) |
virtual bool | residualDecay () |
virtual bool | select (HepMC::GenEvent *) const |
void | setEDMEvent (edm::Event &event) |
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
std::vector< std::string > const & | sharedResources () const |
void | statistics () |
~Py8GunBase () | |
Public Member Functions inherited from gen::Py8InterfaceBase | |
virtual const char * | classname () const =0 |
bool | decay () |
bool | declareSpecialSettings (const std::vector< std::string > &) |
bool | declareStableParticles (const std::vector< int > &) |
virtual bool | generatePartonsAndHadronize ()=0 |
void | p8SetRandomEngine (CLHEP::HepRandomEngine *v) |
Py8InterfaceBase (edm::ParameterSet const &ps) | |
P8RndmEngine & | randomEngine () |
bool | readSettings (int) |
~Py8InterfaceBase () | |
Protected Member Functions | |
std::auto_ptr< HepMC::GenEvent > & | event () |
std::auto_ptr < GenEventInfoProduct > & | eventInfo () |
GenRunInfoProduct & | runInfo () |
Protected Attributes | |
double | fMaxPhi |
double | fMinPhi |
std::vector< int > | fPartIDs |
Protected Attributes inherited from gen::Py8InterfaceBase | |
HepMC::IO_AsciiParticles * | ascii_io |
std::auto_ptr< Pythia8::Pythia > | fDecayer |
std::auto_ptr< Pythia8::Pythia > | fMasterGen |
ParameterCollector | fParameters |
unsigned int | maxEventsToPrint |
bool | pythiaHepMCVerbosity |
bool | pythiaHepMCVerbosityParticles |
unsigned int | pythiaPylistVerbosity |
HepMC::Pythia8ToHepMC | toHepMC |
Private Attributes | |
edm::Event * | edmEvent_ |
std::auto_ptr< HepMC::GenEvent > | genEvent_ |
std::auto_ptr < GenEventInfoProduct > | genEventInfo_ |
GenRunInfoProduct | genRunInfo_ |
Static Private Attributes | |
static const std::vector < std::string > | p8SharedResources = { edm::SharedResourceNames::kPythia8 } |
Definition at line 41 of file Py8GunBase.h.
gen::Py8GunBase::Py8GunBase | ( | edm::ParameterSet const & | ps | ) |
Definition at line 12 of file Py8GunBase.cc.
References fMaxPhi, fMinPhi, fPartIDs, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), runInfo(), GenRunInfoProduct::setExternalXSecLO(), GenRunInfoProduct::setExternalXSecNLO(), and GenRunInfoProduct::setFilterEfficiency().
|
inline |
Definition at line 44 of file Py8GunBase.h.
|
inlineprotected |
Definition at line 69 of file Py8GunBase.h.
References genEvent_.
Referenced by finalizeEvent(), gen::Py8JetGun::generatePartonsAndHadronize(), gen::Py8PtGun::generatePartonsAndHadronize(), gen::Py8EGun::generatePartonsAndHadronize(), residualDecay(), and setEDMEvent().
|
inlineprotected |
Definition at line 70 of file Py8GunBase.h.
References genEventInfo_.
|
virtual |
Implements gen::Py8InterfaceBase.
Definition at line 114 of file Py8GunBase.cc.
References gen::Py8InterfaceBase::ascii_io, gather_cfg::cout, event(), gen::Py8InterfaceBase::fMasterGen, gen::Py8InterfaceBase::maxEventsToPrint, gen::Py8InterfaceBase::pythiaHepMCVerbosity, gen::Py8InterfaceBase::pythiaHepMCVerbosityParticles, and gen::Py8InterfaceBase::pythiaPylistVerbosity.
|
inline |
|
inline |
|
inline |
Definition at line 49 of file Py8GunBase.h.
References genEventInfo_.
|
inline |
|
virtual |
Implements gen::Py8InterfaceBase.
Definition at line 42 of file Py8GunBase.cc.
References gen::Py8InterfaceBase::fDecayer, and gen::Py8InterfaceBase::fMasterGen.
|
inline |
|
inline |
Definition at line 52 of file Py8GunBase.h.
References genEventInfo_.
|
virtual |
Definition at line 62 of file Py8GunBase.cc.
References HepMC::Pythia8ToHepMCA::append_event(), event(), gen::Py8InterfaceBase::fDecayer, gen::Py8InterfaceBase::fMasterGen, configurableAnalysis::GenParticle, and query::result.
|
inlineprotected |
Definition at line 68 of file Py8GunBase.h.
References genRunInfo_.
Referenced by Py8GunBase(), and statistics().
|
inlinevirtual |
Definition at line 57 of file Py8GunBase.h.
|
inline |
|
inline |
Definition at line 64 of file Py8GunBase.h.
References gen::Py8InterfaceBase::p8SetRandomEngine().
|
inline |
Definition at line 65 of file Py8GunBase.h.
References p8SharedResources.
|
virtual |
Reimplemented from gen::Py8InterfaceBase.
Definition at line 148 of file Py8GunBase.cc.
References gen::Py8InterfaceBase::fMasterGen, runInfo(), and GenRunInfoProduct::setInternalXSec().
|
private |
Definition at line 83 of file Py8GunBase.h.
Referenced by getEDMEvent(), and setEDMEvent().
|
protected |
Definition at line 76 of file Py8GunBase.h.
Referenced by gen::Py8EGun::generatePartonsAndHadronize(), gen::Py8JetGun::generatePartonsAndHadronize(), gen::Py8PtGun::generatePartonsAndHadronize(), and Py8GunBase().
|
protected |
Definition at line 75 of file Py8GunBase.h.
Referenced by gen::Py8EGun::generatePartonsAndHadronize(), gen::Py8JetGun::generatePartonsAndHadronize(), gen::Py8PtGun::generatePartonsAndHadronize(), and Py8GunBase().
|
protected |
Definition at line 74 of file Py8GunBase.h.
Referenced by gen::Py8EGun::generatePartonsAndHadronize(), gen::Py8JetGun::generatePartonsAndHadronize(), gen::Py8PtGun::generatePartonsAndHadronize(), and Py8GunBase().
|
private |
Definition at line 80 of file Py8GunBase.h.
Referenced by event(), getGenEvent(), and resetEvent().
|
private |
Definition at line 81 of file Py8GunBase.h.
Referenced by eventInfo(), getGenEventInfo(), and resetEventInfo().
|
private |
Definition at line 79 of file Py8GunBase.h.
Referenced by getGenRunInfo(), and runInfo().
|
staticprivate |
Definition at line 85 of file Py8GunBase.h.
Referenced by sharedResources().