#include <BaseFlatGunProducer.h>
Protected Attributes | |
bool | fAddAntiParticle |
HepMC::GenEvent * | fEvt |
double | fMaxEta |
double | fMaxPhi |
double | fMinEta |
double | fMinPhi |
std::vector< int > | fPartIDs |
ESHandle < HepPDT::ParticleDataTable > | fPDGTable |
int | fVerbosity |
Private Attributes | |
const ESGetToken < HepPDT::ParticleDataTable, edm::DefaultRecord > | fPDGTableToken |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 26 of file BaseFlatGunProducer.h.
BaseFlatGunProducer::BaseFlatGunProducer | ( | const ParameterSet & | pset | ) |
Definition at line 29 of file BaseFlatGunProducer.cc.
References Exception, fAddAntiParticle, fMaxEta, fMaxPhi, fMinEta, fMinPhi, fPartIDs, fVerbosity, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and edm::Service< T >::isAvailable().
|
override |
Definition at line 81 of file BaseFlatGunProducer.cc.
|
override |
Definition at line 87 of file BaseFlatGunProducer.cc.
References fPDGTable, fPDGTableToken, and edm::EventSetup::getHandle().
|
override |
Definition at line 91 of file BaseFlatGunProducer.cc.
|
override |
Definition at line 93 of file BaseFlatGunProducer.cc.
References eostools::move(), and edm::Run::put().
|
protected |
Definition at line 63 of file BaseFlatGunProducer.h.
Referenced by BaseFlatGunProducer(), edm::FlatRandomMultiParticlePGunProducer::produce(), edm::RandomMultiParticlePGunProducer::produce(), edm::FlatRandomOneOverPtGunProducer::produce(), edm::FlatRandomPtGunProducer::produce(), edm::FlatRandomEGunProducer::produce(), edm::MultiParticleInConeGunProducer::produce(), edm::ExpoRandomPtGunProducer::produce(), edm::ExpoRandomPGunProducer::produce(), and edm::FlatRandomPtAndDxyGunProducer::produce().
|
protected |
Definition at line 50 of file BaseFlatGunProducer.h.
Referenced by edm::CloseByParticleGunProducer::produce(), edm::FileRandomMultiParticlePGunProducer::produce(), edm::RandomMultiParticlePGunProducer::produce(), edm::FlatRandomMultiParticlePGunProducer::produce(), edm::FlatRandomOneOverPtGunProducer::produce(), edm::FlatRandomPtGunProducer::produce(), edm::FlatRandomEGunProducer::produce(), edm::MultiParticleInConeGunProducer::produce(), edm::ExpoRandomPtGunProducer::produce(), edm::ExpoRandomPGunProducer::produce(), and edm::FlatRandomPtAndDxyGunProducer::produce().
|
protected |
Definition at line 45 of file BaseFlatGunProducer.h.
Referenced by BaseFlatGunProducer(), edm::FileRandomMultiParticlePGunProducer::produce(), edm::RandomMultiParticlePGunProducer::produce(), edm::FlatRandomMultiParticlePGunProducer::produce(), edm::FlatRandomOneOverPtGunProducer::produce(), edm::FlatRandomPtGunProducer::produce(), edm::FlatRandomEGunProducer::produce(), edm::MultiParticleInConeGunProducer::produce(), edm::ExpoRandomPtGunProducer::produce(), edm::ExpoRandomPGunProducer::produce(), and edm::FlatRandomPtAndDxyGunProducer::produce().
|
protected |
Definition at line 47 of file BaseFlatGunProducer.h.
Referenced by BaseFlatGunProducer(), edm::FileRandomMultiParticlePGunProducer::produce(), edm::RandomMultiParticlePGunProducer::produce(), edm::FlatRandomMultiParticlePGunProducer::produce(), edm::FlatRandomOneOverPtGunProducer::produce(), edm::FlatRandomPtGunProducer::produce(), edm::FlatRandomEGunProducer::produce(), edm::MultiParticleInConeGunProducer::produce(), edm::ExpoRandomPtGunProducer::produce(), edm::ExpoRandomPGunProducer::produce(), and edm::FlatRandomPtAndDxyGunProducer::produce().
|
protected |
Definition at line 44 of file BaseFlatGunProducer.h.
Referenced by BaseFlatGunProducer(), edm::FileRandomMultiParticlePGunProducer::produce(), edm::RandomMultiParticlePGunProducer::produce(), edm::FlatRandomMultiParticlePGunProducer::produce(), edm::FlatRandomOneOverPtGunProducer::produce(), edm::FlatRandomPtGunProducer::produce(), edm::FlatRandomEGunProducer::produce(), edm::MultiParticleInConeGunProducer::produce(), edm::ExpoRandomPtGunProducer::produce(), edm::ExpoRandomPGunProducer::produce(), and edm::FlatRandomPtAndDxyGunProducer::produce().
|
protected |
Definition at line 46 of file BaseFlatGunProducer.h.
Referenced by BaseFlatGunProducer(), edm::FileRandomMultiParticlePGunProducer::produce(), edm::RandomMultiParticlePGunProducer::produce(), edm::FlatRandomMultiParticlePGunProducer::produce(), edm::FlatRandomOneOverPtGunProducer::produce(), edm::FlatRandomPtGunProducer::produce(), edm::FlatRandomEGunProducer::produce(), edm::MultiParticleInConeGunProducer::produce(), edm::ExpoRandomPtGunProducer::produce(), edm::ExpoRandomPGunProducer::produce(), and edm::FlatRandomPtAndDxyGunProducer::produce().
|
protected |
Definition at line 43 of file BaseFlatGunProducer.h.
Referenced by BaseFlatGunProducer(), edm::FileRandomMultiParticlePGunProducer::FileRandomMultiParticlePGunProducer(), edm::FlatRandomMultiParticlePGunProducer::FlatRandomMultiParticlePGunProducer(), edm::FlatRandomMultiParticlePGunProducer::produce(), edm::FileRandomMultiParticlePGunProducer::produce(), edm::RandomMultiParticlePGunProducer::produce(), edm::FlatRandomOneOverPtGunProducer::produce(), edm::FlatRandomEGunProducer::produce(), edm::FlatRandomPtGunProducer::produce(), edm::MultiParticleInConeGunProducer::produce(), edm::ExpoRandomPtGunProducer::produce(), edm::ExpoRandomPGunProducer::produce(), edm::FlatRandomPtAndDxyGunProducer::produce(), and edm::RandomMultiParticlePGunProducer::RandomMultiParticlePGunProducer().
|
protected |
Definition at line 59 of file BaseFlatGunProducer.h.
Referenced by beginRun(), edm::CloseByParticleGunProducer::produce(), edm::FileRandomMultiParticlePGunProducer::produce(), edm::FlatRandomMultiParticlePGunProducer::produce(), edm::RandomMultiParticlePGunProducer::produce(), edm::FlatRandomOneOverPtGunProducer::produce(), edm::FlatRandomPtGunProducer::produce(), edm::FlatRandomEGunProducer::produce(), edm::ExpoRandomPtGunProducer::produce(), edm::MultiParticleInConeGunProducer::produce(), edm::ExpoRandomPGunProducer::produce(), and edm::FlatRandomPtAndDxyGunProducer::produce().
|
private |
Definition at line 35 of file BaseFlatGunProducer.h.
Referenced by beginRun().
|
protected |
Definition at line 61 of file BaseFlatGunProducer.h.
Referenced by BaseFlatGunProducer(), edm::FileRandomMultiParticlePGunProducer::FileRandomMultiParticlePGunProducer(), edm::FlatRandomMultiParticlePGunProducer::produce(), edm::CloseByParticleGunProducer::produce(), edm::FileRandomMultiParticlePGunProducer::produce(), edm::RandomMultiParticlePGunProducer::produce(), edm::FlatRandomOneOverPtGunProducer::produce(), edm::FlatRandomPtGunProducer::produce(), edm::FlatRandomEGunProducer::produce(), edm::MultiParticleInConeGunProducer::produce(), edm::ExpoRandomPtGunProducer::produce(), edm::ExpoRandomPGunProducer::produce(), and edm::FlatRandomPtAndDxyGunProducer::produce().