#include <msegala/ClusterSummaryProducer/src/ClusterSummaryProducer.cc>
Public Member Functions | |
ClusterSummaryProducer (const edm::ParameterSet &) | |
~ClusterSummaryProducer () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Types | |
typedef std::pair < DetIdSelector, ClusterSummary::CMSTracker > | ModuleSelection |
typedef std::vector < ModuleSelection > | ModuleSelections |
Private Member Functions | |
virtual void | beginStream (edm::StreamID) override |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
ClusterSummary | cCluster |
bool | doPixels |
bool | doStrips |
std::map< std::string, int > | EnumMap |
std::vector< std::string > | moduleNames |
edm::EDGetTokenT < edmNew::DetSetVector < SiPixelCluster > > | pixelClusters_ |
ModuleSelections | selectors |
edm::EDGetTokenT < edmNew::DetSetVector < SiStripCluster > > | stripClusters_ |
bool | verbose |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 68 of file ClusterSummaryProducer.h.
|
private |
Definition at line 78 of file ClusterSummaryProducer.h.
|
private |
Definition at line 79 of file ClusterSummaryProducer.h.
|
explicit |
Definition at line 3 of file ClusterSummaryProducer.cc.
References cCluster, Exception, edm::ParameterSet::getParameter(), moduleNames, ClusterSummary::NTRACKERENUMS, ClusterSummary::NVALIDENUMS, pixelClusters_, corrVsCorr::selection, selectors, AlCaHLTBitMon_QueryRunRegistry::string, ClusterSummary::STRIP, stripClusters_, ClusterSummary::subDetNames, and ClusterSummary::subDetSelections.
|
inline |
Definition at line 71 of file ClusterSummaryProducer.h.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 123 of file ClusterSummaryProducer.cc.
References moduleNames.
|
overrideprivatevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 48 of file ClusterSummaryProducer.cc.
References ClusterSummary::addClusChargeByIndex(), ClusterSummary::addClusSizeByIndex(), ClusterSummary::addNClusByIndex(), edmNew::DetSetVector< T >::begin(), cCluster, ClusterVariables::charge(), ClusterVariables::clusterSize(), gather_cfg::cout, doPixels, doStrips, edmNew::DetSetVector< T >::end(), plotBeamSpotDB::first, edm::Event::getByToken(), ClusterSummary::getClusChargeByIndex(), ClusterSummary::getClusSizeByIndex(), ClusterSummary::getNClusByIndex(), edmNew::DetSetVector< T >::id(), python.rootplot.argparse::module, moduleNames, HLT_25ns10e33_v2_cff::pixelClusters, pixelClusters_, edm::Event::put(), ClusterSummary::reset(), mps_fire::result, selectors, HLT_25ns10e33_v2_cff::stripClusters, and stripClusters_.
|
private |
Definition at line 89 of file ClusterSummaryProducer.h.
Referenced by ClusterSummaryProducer(), and produce().
|
private |
Definition at line 94 of file ClusterSummaryProducer.h.
Referenced by produce().
|
private |
Definition at line 93 of file ClusterSummaryProducer.h.
Referenced by produce().
|
private |
Definition at line 90 of file ClusterSummaryProducer.h.
|
private |
Definition at line 87 of file ClusterSummaryProducer.h.
Referenced by beginStream(), ClusterSummaryProducer(), and produce().
|
private |
Definition at line 83 of file ClusterSummaryProducer.h.
Referenced by ClusterSummaryProducer(), and produce().
|
private |
Definition at line 86 of file ClusterSummaryProducer.h.
Referenced by ClusterSummaryProducer(), and produce().
|
private |
Definition at line 84 of file ClusterSummaryProducer.h.
Referenced by ClusterSummaryProducer(), and produce().
|
private |
Definition at line 95 of file ClusterSummaryProducer.h.