Public Member Functions | |
const char * | classname () const override |
bool | generatePartonsAndHadronize () override |
Py8PtAndDxyGun (edm::ParameterSet const &) | |
~Py8PtAndDxyGun () 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< HepMC3::GenEvent > | getGenEvent3 () |
std::unique_ptr< GenEventInfoProduct > | getGenEventInfo () |
std::unique_ptr< GenEventInfoProduct3 > | getGenEventInfo3 () |
virtual std::unique_ptr< GenLumiInfoHeader > | getGenLumiInfoHeader () const |
GenRunInfoProduct & | getGenRunInfo () |
std::unique_ptr< lhef::LHEEvent > | getLHEEvent () |
const std::shared_ptr< lhef::LHERunInfo > & | getLHERunInfo () const |
unsigned int | getVHepMC () |
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 | resetEvent3 (std::unique_ptr< HepMC3::GenEvent > event3) |
void | resetEventInfo (std::unique_ptr< GenEventInfoProduct > eventInfo) |
void | resetEventInfo3 (std::unique_ptr< GenEventInfoProduct3 > 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 | |
bool | fAddAntiParticle |
double | fConeH |
double | fConeRadius |
double | fDistanceToAPEX |
double | fDxyMax |
double | fDxyMin |
double | fLxyMax |
double | fLzMax |
double | fMaxEta |
double | fMaxPt |
double | fMinEta |
double | fMinPt |
Additional Inherited Members | |
Protected Member Functions inherited from gen::BaseHadronizer | |
std::unique_ptr< HepMC::GenEvent > & | event () |
std::unique_ptr< HepMC3::GenEvent > & | event3 () |
std::unique_ptr< GenEventInfoProduct > & | eventInfo () |
std::unique_ptr< GenEventInfoProduct3 > & | eventInfo3 () |
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 | |
unsigned int | ivhepmc = 2 |
std::string | lheFile_ |
int | randomIndex_ |
Definition at line 10 of file Py8PtAndDxyGun.cc.
gen::Py8PtAndDxyGun::Py8PtAndDxyGun | ( | edm::ParameterSet const & | ps | ) |
Definition at line 36 of file Py8PtAndDxyGun.cc.
References fAddAntiParticle, fConeH, fConeRadius, fDistanceToAPEX, fDxyMax, fDxyMin, fLxyMax, fLzMax, fMaxEta, fMaxPt, fMinEta, fMinPt, and edm::ParameterSet::getParameter().
|
inlineoverride |
Definition at line 13 of file Py8PtAndDxyGun.cc.
|
overridevirtual |
Implements gen::Py8InterfaceBase.
Definition at line 183 of file Py8PtAndDxyGun.cc.
|
overridevirtual |
Implements gen::Py8InterfaceBase.
Definition at line 53 of file Py8PtAndDxyGun.cc.
References funct::abs(), mps_setup::append, funct::cos(), PVValHelper::dxy, PVValHelper::eta, gen::BaseHadronizer::event(), gen::Py8GunBase::evtGenDecay(), JetChargeProducer_cfi::exp, fAddAntiParticle, fConeH, fConeRadius, fDistanceToAPEX, fDxyMax, fDxyMin, gen::P8RndmEngine::flat(), fLxyMax, fLzMax, gen::Py8InterfaceBase::fMasterGen, fMaxEta, gen::Py8GunBase::fMaxPhi, fMaxPt, fMinEta, gen::Py8GunBase::fMinPhi, fMinPt, gen::Py8GunBase::fPartIDs, mps_fire::i, dqmiolumiharvest::j, dqm-mbProfile::log, EgHLTOffHistBins_cfi::mass, EgammaObjectsElectrons_cfi::particleID, DiDispStaMuonMonitor_cfi::pt, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, gen::Py8InterfaceBase::randomEngine(), funct::sin(), findQualityFiles::size, mathSSE::sqrt(), metsig::tau, theta(), protons_cff::time, and gen::Py8InterfaceBase::toHepMC.
|
private |
Definition at line 24 of file Py8PtAndDxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndDxyGun().
|
private |
Definition at line 30 of file Py8PtAndDxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndDxyGun().
|
private |
Definition at line 29 of file Py8PtAndDxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndDxyGun().
|
private |
Definition at line 31 of file Py8PtAndDxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndDxyGun().
|
private |
Definition at line 26 of file Py8PtAndDxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndDxyGun().
|
private |
Definition at line 25 of file Py8PtAndDxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndDxyGun().
|
private |
Definition at line 27 of file Py8PtAndDxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndDxyGun().
|
private |
Definition at line 28 of file Py8PtAndDxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndDxyGun().
|
private |
Definition at line 21 of file Py8PtAndDxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndDxyGun().
|
private |
Definition at line 23 of file Py8PtAndDxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndDxyGun().
|
private |
Definition at line 20 of file Py8PtAndDxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndDxyGun().
|
private |
Definition at line 22 of file Py8PtAndDxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndDxyGun().