![]() |
![]() |
#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 | |
![]() | |
typedef EDProducerBase | ModuleType |
![]() | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
typedef ProductLabels | Labels |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
![]() | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
![]() | |
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 () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
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 28 of file BaseFlatGunProducer.cc.
References Exception, fAddAntiParticle, fMaxEta, fMaxPhi, fMinEta, fMinPhi, fPartIDs, fVerbosity, edm::ParameterSet::getParameter(), edm::Service< T >::isAvailable(), and muonDTDigis_cfi::pset.
|
override |
Definition at line 80 of file BaseFlatGunProducer.cc.
|
override |
Definition at line 86 of file BaseFlatGunProducer.cc.
References fPDGTable, fPDGTableToken, and edm::EventSetup::getHandle().
|
override |
Definition at line 90 of file BaseFlatGunProducer.cc.
|
override |
Definition at line 92 of file BaseFlatGunProducer.cc.
References eostools::move(), and writedatasetfile::run.
|
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().