#include <DPGAnalysis/SiStripTools/plugins/MultiplicityProducer.cc>
Public Member Functions | |
MultiplicityProducer (const edm::ParameterSet &) | |
~MultiplicityProducer () | |
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 | |
virtual void | beginJob () |
int | detSetMultiplicity (typename T::const_iterator det) const |
template<> | |
int | detSetMultiplicity (edmNew::DetSetVector< SiStripCluster >::const_iterator det) const |
template<> | |
int | detSetMultiplicity (edmNew::DetSetVector< SiPixelCluster >::const_iterator det) const |
virtual void | endJob () |
int | multiplicity (typename T::const_iterator det) const |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
bool | m_clustersize |
edm::InputTag | m_collection |
std::map< unsigned int, std::string > | m_subdets |
std::map< unsigned int, DetIdSelector > | m_subdetsels |
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) |
Description: EDProducer of multiplicity maps Implementation:
Definition at line 49 of file MultiplicityProducer.cc.
|
explicit |
Definition at line 84 of file MultiplicityProducer.cc.
References edm::ParameterSet::getParameter(), MultiplicityProducer< T >::m_subdets, MultiplicityProducer< T >::m_subdetsels, and AlCaHLTBitMon_QueryRunRegistry::string.
MultiplicityProducer< T >::~MultiplicityProducer | ( | ) |
Definition at line 104 of file MultiplicityProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 168 of file MultiplicityProducer.cc.
|
private |
Definition at line 202 of file MultiplicityProducer.cc.
|
private |
Definition at line 211 of file MultiplicityProducer.cc.
References edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::end(), and VarParsing::mult.
|
private |
Definition at line 230 of file MultiplicityProducer.cc.
References edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::end(), and VarParsing::mult.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 175 of file MultiplicityProducer.cc.
|
private |
Definition at line 180 of file MultiplicityProducer.cc.
References VarParsing::mult.
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 120 of file MultiplicityProducer.cc.
References cond::rpcobgas::detid, edm::Event::getByLabel(), LogDebug, and edm::Event::put().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 65 of file MultiplicityProducer.cc.
|
private |
Definition at line 64 of file MultiplicityProducer.cc.
|
private |
Definition at line 66 of file MultiplicityProducer.cc.
Referenced by MultiplicityProducer< T >::MultiplicityProducer().
|
private |
Definition at line 67 of file MultiplicityProducer.cc.
Referenced by MultiplicityProducer< T >::MultiplicityProducer().