Public Member Functions | |
const char * | classname () const override |
bool | generatePartonsAndHadronize () override |
Py8PtAndLxyGun (edm::ParameterSet const &) | |
~Py8PtAndLxyGun () 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 | fDzMax |
double | fLxyBackFraction |
double | fLxyMax |
double | fLxyMin |
double | fLzMax |
double | fLzOppositeFraction |
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 11 of file Py8PtAndLxyGun.cc.
gen::Py8PtAndLxyGun::Py8PtAndLxyGun | ( | edm::ParameterSet const & | ps | ) |
Definition at line 40 of file Py8PtAndLxyGun.cc.
References fAddAntiParticle, fConeH, fConeRadius, fDistanceToAPEX, fDxyMax, fDzMax, fLxyBackFraction, fLxyMax, fLxyMin, fLzMax, fLzOppositeFraction, fMaxEta, fMaxPt, fMinEta, fMinPt, and edm::ParameterSet::getParameter().
|
inlineoverride |
Definition at line 14 of file Py8PtAndLxyGun.cc.
|
overridevirtual |
Implements gen::Py8InterfaceBase.
Definition at line 199 of file Py8PtAndLxyGun.cc.
|
overridevirtual |
Implements gen::Py8InterfaceBase.
Definition at line 59 of file Py8PtAndLxyGun.cc.
References funct::abs(), mps_setup::append, funct::cos(), PVValHelper::dxy, PVValHelper::dz, PVValHelper::eta, gen::BaseHadronizer::event(), gen::Py8GunBase::evtGenDecay(), JetChargeProducer_cfi::exp, fAddAntiParticle, fConeH, fConeRadius, fDistanceToAPEX, fDxyMax, fDzMax, gen::P8RndmEngine::flat(), fLxyBackFraction, fLxyMax, fLxyMin, fLzMax, fLzOppositeFraction, gen::Py8InterfaceBase::fMasterGen, fMaxEta, gen::Py8GunBase::fMaxPhi, fMaxPt, fMinEta, gen::Py8GunBase::fMinPhi, fMinPt, gen::Py8GunBase::fPartIDs, mps_fire::i, dqmiolumiharvest::j, dqm-mbProfile::log, M_PI, EgHLTOffHistBins_cfi::mass, EgammaObjectsElectrons_cfi::particleID, DiDispStaMuonMonitor_cfi::pt, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, gen::Py8InterfaceBase::randomEngine(), Validation_hcalonly_cfi::sign, funct::sin(), mathSSE::sqrt(), funct::tan(), metsig::tau, theta(), hcalRecHitTable_cff::time, gen::Py8InterfaceBase::toHepMC, btvMC_cff::vx, btvMC_cff::vy, and btvMC_cff::vz.
|
private |
Definition at line 25 of file Py8PtAndLxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndLxyGun().
|
private |
Definition at line 32 of file Py8PtAndLxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndLxyGun().
|
private |
Definition at line 31 of file Py8PtAndLxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndLxyGun().
|
private |
Definition at line 33 of file Py8PtAndLxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndLxyGun().
|
private |
Definition at line 26 of file Py8PtAndLxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndLxyGun().
|
private |
Definition at line 27 of file Py8PtAndLxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndLxyGun().
|
private |
Definition at line 34 of file Py8PtAndLxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndLxyGun().
|
private |
Definition at line 29 of file Py8PtAndLxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndLxyGun().
|
private |
Definition at line 28 of file Py8PtAndLxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndLxyGun().
|
private |
Definition at line 30 of file Py8PtAndLxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndLxyGun().
|
private |
Definition at line 35 of file Py8PtAndLxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndLxyGun().
|
private |
Definition at line 22 of file Py8PtAndLxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndLxyGun().
|
private |
Definition at line 24 of file Py8PtAndLxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndLxyGun().
|
private |
Definition at line 21 of file Py8PtAndLxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndLxyGun().
|
private |
Definition at line 23 of file Py8PtAndLxyGun.cc.
Referenced by generatePartonsAndHadronize(), and Py8PtAndLxyGun().