#include <FlatRandomOneOverPtGunProducer.h>
Public Member Functions | |
FlatRandomOneOverPtGunProducer (const ParameterSet &pset) | |
virtual void | produce (Event &e, const EventSetup &es) |
virtual | ~FlatRandomOneOverPtGunProducer () |
Public Member Functions inherited from edm::BaseFlatGunProducer | |
BaseFlatGunProducer (const ParameterSet &) | |
void | beginRun (edm::Run &r, const edm::EventSetup &) |
void | endRun (edm::Run &r, const edm::EventSetup &) |
virtual | ~BaseFlatGunProducer () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Attributes | |
double | fMaxOneOverPt |
double | fMinOneOverPt |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Protected Attributes inherited from edm::BaseFlatGunProducer | |
bool | fAddAntiParticle |
HepMC::GenEvent * | fEvt |
double | fMaxEta |
double | fMaxPhi |
double | fMinEta |
double | fMinPhi |
std::vector< int > | fPartIDs |
ESHandle < HepPDT::ParticleDataTable > | fPDGTable |
CLHEP::HepRandomEngine & | fRandomEngine |
CLHEP::RandFlat * | fRandomGenerator |
int | fVerbosity |
Definition at line 14 of file FlatRandomOneOverPtGunProducer.h.
FlatRandomOneOverPtGunProducer::FlatRandomOneOverPtGunProducer | ( | const ParameterSet & | pset | ) |
Definition at line 15 of file FlatRandomOneOverPtGunProducer.cc.
References fMaxOneOverPt, fMinOneOverPt, and edm::ParameterSet::getParameter().
|
virtual |
Definition at line 32 of file FlatRandomOneOverPtGunProducer.cc.
|
virtual |
Implements edm::EDProducer.
Definition at line 36 of file FlatRandomOneOverPtGunProducer.cc.
References abs, funct::cos(), relval_parameters_module::energy, eta(), edm::EventID::event(), funct::exp(), edm::BaseFlatGunProducer::fAddAntiParticle, edm::BaseFlatGunProducer::fEvt, edm::BaseFlatGunProducer::fMaxEta, fMaxOneOverPt, edm::BaseFlatGunProducer::fMaxPhi, edm::BaseFlatGunProducer::fMinEta, fMinOneOverPt, edm::BaseFlatGunProducer::fMinPhi, edm::BaseFlatGunProducer::fPartIDs, edm::BaseFlatGunProducer::fPDGTable, edm::BaseFlatGunProducer::fRandomGenerator, edm::BaseFlatGunProducer::fVerbosity, configurableAnalysis::GenParticle, edm::EventBase::id(), funct::log(), LogDebug, L1TEmulatorMonitor_cff::p, RecoTau_DiTaus_pt_20-420_cfg::ParticleID, phi, ExpressReco_HICollisions_FallBack::pt, edm::Event::put(), funct::sin(), mathSSE::sqrt(), and theta().
|
private |
Definition at line 28 of file FlatRandomOneOverPtGunProducer.h.
Referenced by FlatRandomOneOverPtGunProducer(), and produce().
|
private |
Definition at line 27 of file FlatRandomOneOverPtGunProducer.h.
Referenced by FlatRandomOneOverPtGunProducer(), and produce().