#include <Py8GunBase.h>
Public Member Functions | |
void | evtGenDecay () |
void | finalizeEvent () override |
bool | initializeForInternalPartons () override |
Py8GunBase (edm::ParameterSet const &ps) | |
virtual bool | residualDecay () |
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
std::vector< std::string > const & | sharedResources () const |
void | statistics () override |
~Py8GunBase () override | |
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 | makeTmpSLHA (const std::string &) |
void | p8SetRandomEngine (CLHEP::HepRandomEngine *v) |
Py8InterfaceBase (edm::ParameterSet const &ps) | |
P8RndmEngine & | randomEngine () |
bool | readSettings (int) |
~Py8InterfaceBase () override | |
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 |
std::unique_ptr< HepMC::GenEvent > | getGenEvent () |
std::unique_ptr< GenEventInfoProduct > | getGenEventInfo () |
virtual std::unique_ptr< GenLumiInfoHeader > | getGenLumiInfoHeader () const |
GenRunInfoProduct & | getGenRunInfo () |
std::unique_ptr< lhef::LHEEvent > | getLHEEvent () |
const std::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 (std::unique_ptr< HepMC::GenEvent > event) |
void | resetEventInfo (std::unique_ptr< GenEventInfoProduct > eventInfo) |
virtual bool | select (HepMC::GenEvent *) const |
void | setEDMEvent (edm::Event &event) |
void | setLHEEvent (std::unique_ptr< lhef::LHEEvent > event) |
void | setLHERunInfo (std::unique_ptr< lhef::LHERunInfo > runInfo) |
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
std::vector< std::string > const & | sharedResources () const |
virtual | ~BaseHadronizer () noexcept(false) |
Protected Attributes | |
double | fMaxPhi |
double | fMinPhi |
std::vector< int > | fPartIDs |
Protected Attributes inherited from gen::Py8InterfaceBase | |
HepMC::IO_AsciiParticles * | ascii_io |
std::shared_ptr< Pythia8::EvtGenDecays > | evtgenDecays |
std::string | evtgenDecFile |
std::string | evtgenPdlFile |
std::vector< std::string > | evtgenUserFiles |
std::unique_ptr< Pythia8::Pythia > | fDecayer |
std::unique_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::unique_ptr< HepMC::GenEvent > & | event () |
std::unique_ptr< GenEventInfoProduct > & | eventInfo () |
lhef::LHEEvent * | lheEvent () |
lhef::LHERunInfo * | lheRunInfo () |
GenRunInfoProduct & | runInfo () |
Definition at line 40 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().
|
inlineoverride |
Definition at line 43 of file Py8GunBase.h.
void gen::Py8GunBase::evtGenDecay | ( | ) |
Definition at line 144 of file Py8GunBase.cc.
References gen::Py8InterfaceBase::evtgenDecays.
Referenced by gen::Py8PtAndDxyGun::generatePartonsAndHadronize(), gen::Py8PtotGun::generatePartonsAndHadronize(), gen::Py8PtGun::generatePartonsAndHadronize(), gen::Py8PtExpGun::generatePartonsAndHadronize(), and gen::Py8EGun::generatePartonsAndHadronize().
|
overridevirtual |
Implements gen::Py8InterfaceBase.
Definition at line 110 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.
|
overridevirtual |
Implements gen::Py8InterfaceBase.
Definition at line 32 of file Py8GunBase.cc.
References gen::Py8InterfaceBase::evtgenDecays, gen::Py8InterfaceBase::evtgenDecFile, gen::Py8InterfaceBase::evtgenPdlFile, gen::Py8InterfaceBase::evtgenUserFiles, gen::Py8InterfaceBase::fDecayer, gen::Py8InterfaceBase::fMasterGen, mps_fire::i, and gen::Py8InterfaceBase::useEvtGen.
|
virtual |
Definition at line 56 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 50 of file Py8GunBase.h.
References gen::Py8InterfaceBase::p8SetRandomEngine(), and gen::v.
|
inline |
Definition at line 51 of file Py8GunBase.h.
References p8SharedResources.
|
overridevirtual |
Reimplemented from gen::Py8InterfaceBase.
Definition at line 135 of file Py8GunBase.cc.
References gen::Py8InterfaceBase::fMasterGen, gen::BaseHadronizer::runInfo(), and GenRunInfoProduct::setInternalXSec().
|
protected |
Definition at line 59 of file Py8GunBase.h.
Referenced by gen::Py8PtAndDxyGun::generatePartonsAndHadronize(), gen::Py8PtExpGun::generatePartonsAndHadronize(), gen::Py8PtotGun::generatePartonsAndHadronize(), gen::Py8PtGun::generatePartonsAndHadronize(), gen::Py8EGun::generatePartonsAndHadronize(), gen::Py8JetGun::generatePartonsAndHadronize(), gen::Py8MassGun::generatePartonsAndHadronize(), and Py8GunBase().
|
protected |
Definition at line 58 of file Py8GunBase.h.
Referenced by gen::Py8PtAndDxyGun::generatePartonsAndHadronize(), gen::Py8PtExpGun::generatePartonsAndHadronize(), gen::Py8PtotGun::generatePartonsAndHadronize(), gen::Py8PtGun::generatePartonsAndHadronize(), gen::Py8EGun::generatePartonsAndHadronize(), gen::Py8JetGun::generatePartonsAndHadronize(), gen::Py8MassGun::generatePartonsAndHadronize(), and Py8GunBase().
|
protected |
Definition at line 57 of file Py8GunBase.h.
Referenced by gen::Py8PtAndDxyGun::generatePartonsAndHadronize(), gen::Py8PtExpGun::generatePartonsAndHadronize(), gen::Py8PtotGun::generatePartonsAndHadronize(), gen::Py8PtGun::generatePartonsAndHadronize(), gen::Py8EGun::generatePartonsAndHadronize(), gen::Py8JetGun::generatePartonsAndHadronize(), gen::Py8MassGun::generatePartonsAndHadronize(), and Py8GunBase().
|
staticprivate |
Definition at line 62 of file Py8GunBase.h.
Referenced by sharedResources().