#include <GEMCSCPadDigiProducer.h>
Public Member Functions | |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) override |
GEMCSCPadDigiProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) override |
virtual | ~GEMCSCPadDigiProducer () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | buildPads (const GEMDigiCollection &digis, GEMCSCPadDigiCollection &out_pads, GEMCSCPadDigiCollection &out_co_pads) |
Private Attributes | |
const GEMGeometry * | geometry_ |
edm::InputTag | input_ |
Name of input digi Collection. More... | |
int | maxDeltaBX_ |
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) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
producer for GEM-CSC trigger pads
Definition at line 18 of file GEMCSCPadDigiProducer.h.
|
explicit |
Definition at line 16 of file GEMCSCPadDigiProducer.cc.
References edm::ParameterSet::getParameter(), input_, and maxDeltaBX_.
|
virtual |
Definition at line 27 of file GEMCSCPadDigiProducer.cc.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 31 of file GEMCSCPadDigiProducer.cc.
References geometry_, and edm::EventSetup::get().
|
private |
Definition at line 57 of file GEMCSCPadDigiProducer.cc.
References abs, GEMGeometry::etaPartitions(), geometry_, maxDeltaBX_, AlCaHLTBitMon_ParallelJobs::p, relativeConstraints::ring, and relativeConstraints::station.
Referenced by produce().
|
overridevirtual |
Produces the EDM products
Implements edm::EDProducer.
Definition at line 39 of file GEMCSCPadDigiProducer.cc.
References buildPads(), edm::Event::getByLabel(), input_, edm::Handle< T >::product(), and edm::Event::put().
|
private |
Definition at line 43 of file GEMCSCPadDigiProducer.h.
Referenced by beginRun(), and buildPads().
|
private |
Name of input digi Collection.
Definition at line 37 of file GEMCSCPadDigiProducer.h.
Referenced by GEMCSCPadDigiProducer(), and produce().
|
private |
max allowed BX differentce for pads in a copad; always use layer1 pad's BX as a copad's BX
Definition at line 41 of file GEMCSCPadDigiProducer.h.
Referenced by buildPads(), and GEMCSCPadDigiProducer().