Public Member Functions | |
const char * | classname () const override |
bool | generatePartonsAndHadronize () override |
Py8MassGun (edm::ParameterSet const &) | |
~Py8MassGun () override | |
Public Member Functions inherited from gen::Py8GunBase | |
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 | |
bool | decay () |
bool | declareSpecialSettings (const std::vector< std::string > &) |
bool | declareStableParticles (const std::vector< int > &) |
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) |
Private Attributes | |
double | fMaxEta |
double | fMaxM |
double | fMaxP |
double | fMaxPt |
double | fMinEta |
double | fMinM |
double | fMinP |
double | fMinPt |
int | fMomMode |
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 () |
Protected Attributes inherited from gen::Py8GunBase | |
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_ |
Definition at line 9 of file Py8MassGun.cc.
gen::Py8MassGun::Py8MassGun | ( | edm::ParameterSet const & | ps | ) |
Definition at line 32 of file Py8MassGun.cc.
References fMaxEta, fMaxM, fMaxP, fMaxPt, fMinEta, fMinM, fMinP, fMinPt, fMomMode, and edm::ParameterSet::getParameter().
|
inlineoverride |
Definition at line 12 of file Py8MassGun.cc.
|
overridevirtual |
Implements gen::Py8InterfaceBase.
Definition at line 113 of file Py8MassGun.cc.
|
overridevirtual |
Implements gen::Py8InterfaceBase.
Definition at line 46 of file Py8MassGun.cc.
References mps_setup::append, funct::cos(), StorageManager_cfg::e1, PVValHelper::eta, gen::BaseHadronizer::event(), JetChargeProducer_cfi::exp, gen::P8RndmEngine::flat(), gen::Py8InterfaceBase::fMasterGen, fMaxEta, fMaxM, fMaxP, gen::Py8GunBase::fMaxPhi, fMaxPt, fMinEta, fMinM, fMinP, gen::Py8GunBase::fMinPhi, fMinPt, fMomMode, gen::Py8GunBase::fPartIDs, get, M_PI, createTree::pp, PVValHelper::pT, gen::Py8InterfaceBase::randomEngine(), funct::sin(), mathSSE::sqrt(), and gen::Py8InterfaceBase::toHepMC.
|
private |
Definition at line 20 of file Py8MassGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8MassGun().
|
private |
Definition at line 26 of file Py8MassGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8MassGun().
|
private |
Definition at line 22 of file Py8MassGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8MassGun().
|
private |
Definition at line 24 of file Py8MassGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8MassGun().
|
private |
Definition at line 19 of file Py8MassGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8MassGun().
|
private |
Definition at line 25 of file Py8MassGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8MassGun().
|
private |
Definition at line 21 of file Py8MassGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8MassGun().
|
private |
Definition at line 23 of file Py8MassGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8MassGun().
|
private |
Definition at line 27 of file Py8MassGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8MassGun().