#include <Py8GunBase.h>
Public Member Functions | |
void | finalizeEvent () |
bool | initializeForInternalPartons () |
Py8GunBase (edm::ParameterSet const &ps) | |
virtual bool | residualDecay () |
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 () | |
Public Member Functions inherited from gen::BaseHadronizer | |
BaseHadronizer (edm::ParameterSet const &ps) | |
void | cleanLHE () |
void | generateLHE (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine) |
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 |
~BaseHadronizer () | |
Protected Attributes | |
double | fMaxPhi |
double | fMinPhi |
std::vector< int > | fPartIDs |
Protected Attributes inherited from gen::Py8InterfaceBase | |
HepMC::IO_AsciiParticles * | ascii_io |
std::auto_ptr< EvtGenDecays > | evtgenDecays |
std::string | evtgenDecFile |
std::string | evtgenPdlFile |
std::vector< std::string > | evtgenUserFiles |
std::auto_ptr< Pythia8::Pythia > | fDecayer |
std::auto_ptr< Pythia8::Pythia > | fMasterGen |
edm::ParameterSet | fParameters |
unsigned int | maxEventsToPrint |
bool | pythiaHepMCVerbosity |
bool | pythiaHepMCVerbosityParticles |
unsigned int | pythiaPylistVerbosity |
std::string | slhafile_ |
HepMC::Pythia8ToHepMC | toHepMC |
bool | useEvtGen |
Protected Attributes inherited from gen::BaseHadronizer | |
std::string | lheFile_ |
int | randomIndex_ |
Static Private Attributes | |
static const std::vector < std::string > | p8SharedResources = { edm::SharedResourceNames::kPythia8 } |
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 Py8GunBase.h.
gen::Py8GunBase::Py8GunBase | ( | edm::ParameterSet const & | ps | ) |
Definition at line 15 of file Py8GunBase.cc.
References fMaxPhi, fMinPhi, fPartIDs, and edm::ParameterSet::getParameter().
|
inline |
Definition at line 45 of file Py8GunBase.h.
|
virtual |
Implements gen::Py8InterfaceBase.
Definition at line 118 of file Py8GunBase.cc.
References gen::Py8InterfaceBase::ascii_io, gather_cfg::cout, gen::BaseHadronizer::event(), gen::Py8InterfaceBase::fMasterGen, gen::Py8InterfaceBase::maxEventsToPrint, gen::Py8InterfaceBase::pythiaHepMCVerbosity, gen::Py8InterfaceBase::pythiaHepMCVerbosityParticles, and gen::Py8InterfaceBase::pythiaPylistVerbosity.
|
virtual |
Implements gen::Py8InterfaceBase.
Definition at line 36 of file Py8GunBase.cc.
References gen::Py8InterfaceBase::evtgenDecays, gen::Py8InterfaceBase::evtgenDecFile, gen::Py8InterfaceBase::evtgenPdlFile, gen::Py8InterfaceBase::evtgenUserFiles, gen::Py8InterfaceBase::fDecayer, gen::Py8InterfaceBase::fMasterGen, i, and gen::Py8InterfaceBase::useEvtGen.
|
virtual |
Definition at line 67 of file Py8GunBase.cc.
References gen::BaseHadronizer::event(), gen::Py8InterfaceBase::fDecayer, gen::Py8InterfaceBase::fMasterGen, GenParticle::GenParticle, mps_fire::result, and gen::Py8InterfaceBase::toHepMC.
|
inline |
Definition at line 52 of file Py8GunBase.h.
References gen::Py8InterfaceBase::p8SetRandomEngine().
|
inline |
Definition at line 53 of file Py8GunBase.h.
References p8SharedResources.
|
virtual |
Reimplemented from gen::Py8InterfaceBase.
Definition at line 152 of file Py8GunBase.cc.
References gen::Py8InterfaceBase::fMasterGen, gen::BaseHadronizer::runInfo(), and GenRunInfoProduct::setInternalXSec().
|
protected |
Definition at line 60 of file Py8GunBase.h.
Referenced by gen::Py8JetGun::generatePartonsAndHadronize(), gen::Py8PtGun::generatePartonsAndHadronize(), gen::Py8EGun::generatePartonsAndHadronize(), and Py8GunBase().
|
protected |
Definition at line 59 of file Py8GunBase.h.
Referenced by gen::Py8JetGun::generatePartonsAndHadronize(), gen::Py8PtGun::generatePartonsAndHadronize(), gen::Py8EGun::generatePartonsAndHadronize(), and Py8GunBase().
|
protected |
Definition at line 58 of file Py8GunBase.h.
Referenced by gen::Py8JetGun::generatePartonsAndHadronize(), gen::Py8PtGun::generatePartonsAndHadronize(), gen::Py8EGun::generatePartonsAndHadronize(), and Py8GunBase().
|
staticprivate |
Definition at line 63 of file Py8GunBase.h.
Referenced by sharedResources().