Public Member Functions | |
const char * | classname () const override |
bool | generatePartonsAndHadronize () override |
Py8PtGun (edm::ParameterSet const &) | |
~Py8PtGun () | |
Public Member Functions inherited from gen::Py8GunBase | |
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 | |
bool | decay () |
bool | declareSpecialSettings (const std::vector< std::string > &) |
bool | declareStableParticles (const std::vector< int > &) |
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 () | |
Private Attributes | |
bool | fAddAntiParticle |
double | fMaxEta |
double | fMaxPt |
double | fMinEta |
double | fMinPt |
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 () |
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::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_ |
Definition at line 9 of file Py8PtGun.cc.
gen::Py8PtGun::Py8PtGun | ( | edm::ParameterSet const & | ps | ) |
Definition at line 32 of file Py8PtGun.cc.
References fAddAntiParticle, fMaxEta, fMaxPt, fMinEta, fMinPt, and edm::ParameterSet::getParameter().
|
inline |
Definition at line 14 of file Py8PtGun.cc.
|
overridevirtual |
Implements gen::Py8InterfaceBase.
Definition at line 115 of file Py8PtGun.cc.
|
overridevirtual |
Implements gen::Py8InterfaceBase.
Definition at line 47 of file Py8PtGun.cc.
References bitset_utilities::append(), funct::cos(), eta, gen::BaseHadronizer::event(), create_public_lumi_plots::exp, fAddAntiParticle, gen::P8RndmEngine::flat(), gen::Py8InterfaceBase::fMasterGen, fMaxEta, gen::Py8GunBase::fMaxPhi, fMaxPt, fMinEta, gen::Py8GunBase::fMinPhi, fMinPt, gen::Py8GunBase::fPartIDs, i, phi(), createTree::pp, EnergyCorrector::pt, gen::Py8InterfaceBase::randomEngine(), funct::sin(), mathSSE::sqrt(), and gen::Py8InterfaceBase::toHepMC.
|
private |
Definition at line 26 of file Py8PtGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtGun().
|
private |
Definition at line 23 of file Py8PtGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtGun().
|
private |
Definition at line 25 of file Py8PtGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtGun().
|
private |
Definition at line 22 of file Py8PtGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtGun().
|
private |
Definition at line 24 of file Py8PtGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtGun().