#include <MeasurementTrackerEventProducer.h>
Protected Member Functions | |
void | getInactiveStrips (const edm::Event &event, std::vector< uint32_t > &rawInactiveDetIds) const |
void | updatePixels (const edm::Event &, PxMeasurementDetSet &thePxDets, std::vector< bool > &pixelClustersToSkip) const |
void | updateStrips (const edm::Event &, StMeasurementDetSet &theStDets, std::vector< bool > &stripClustersToSkip) 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) |
Protected Attributes | |
std::string | measurementTrackerLabel_ |
const edm::ParameterSet & | pset_ |
bool | selfUpdateSkipClusters_ |
std::vector< edm::EDGetTokenT < DetIdCollection > > | theInactivePixelDetectorLabels |
std::vector< edm::EDGetTokenT < DetIdCollection > > | theInactiveStripDetectorLabels |
edm::EDGetTokenT < edmNew::DetSetVector < SiPixelCluster > > | thePixelClusterLabel |
edm::EDGetTokenT < edm::ContainerMask < edmNew::DetSetVector < SiPixelCluster > > > | thePixelClusterMask |
edm::EDGetTokenT < edmNew::DetSetVector < SiStripCluster > > | theStripClusterLabel |
edm::EDGetTokenT < edm::ContainerMask < edmNew::DetSetVector < SiStripCluster > > > | theStripClusterMask |
Private Member Functions | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
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 |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Definition at line 14 of file MeasurementTrackerEventProducer.h.
|
explicit |
Definition at line 10 of file MeasurementTrackerEventProducer.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), HLT_25ns14e33_v1_cff::InputTag, LogDebug, pset_, selfUpdateSkipClusters_, runGlobalFakeInputProducer::skip, AlCaHLTBitMon_QueryRunRegistry::string, edmStreamStallGrapher::t, theInactivePixelDetectorLabels, theInactiveStripDetectorLabels, thePixelClusterLabel, thePixelClusterMask, theStripClusterLabel, and theStripClusterMask.
|
inline |
Definition at line 17 of file MeasurementTrackerEventProducer.h.
|
protected |
Definition at line 220 of file MeasurementTrackerEventProducer.cc.
References edm::Event::getByToken(), python.multivaluedict::sort(), and theInactiveStripDetectorLabels.
Referenced by updateStrips().
|
overrideprivatevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 42 of file MeasurementTrackerEventProducer.cc.
References edm::EventSetup::get(), HLT_25ns14e33_v1_cff::measurementTracker, IterativeTracking_cff::MeasurementTrackerEvent, measurementTrackerLabel_, dbtoconf::out, edm::Event::put(), updatePixels(), and updateStrips().
|
protected |
Definition at line 66 of file MeasurementTrackerEventProducer.cc.
References assert(), edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::dataSize(), edmNew::DetSetVector< T >::empty(), edmNew::DetSetVector< T >::end(), edm::ParameterSet::existsAs(), edm::HandleBase::failedToGet(), lumiContext::fill, PxMeasurementDetSet::find(), edm::Event::getByToken(), edm::ParameterSet::getParameter(), PxMeasurementDetSet::handle(), i, edmNew::DetSet< T >::id(), edm::HandleBase::id(), PxMeasurementDetSet::id(), PxMeasurementDetSet::isActive(), LogDebug, HLT_25ns14e33_v1_cff::pixelClusterProducer, HLT_25ns14e33_v1_cff::pixelClusters, edm::Handle< T >::product(), pset_, selfUpdateSkipClusters_, PxMeasurementDetSet::setActiveThisEvent(), PxMeasurementDetSet::setEmpty(), PxMeasurementDetSet::size(), python.multivaluedict::sort(), AlCaHLTBitMon_QueryRunRegistry::string, HLT_25ns14e33_v1_cff::switchOffPixelsIfEmpty, theInactivePixelDetectorLabels, thePixelClusterLabel, thePixelClusterMask, and PxMeasurementDetSet::update().
Referenced by produce().
|
protected |
Definition at line 154 of file MeasurementTrackerEventProducer.cc.
References assert(), edm::HandleBase::failedToGet(), StMeasurementDetSet::find(), getInactiveStrips(), edm::ParameterSet::getParameter(), StMeasurementDetSet::handle(), i, edm::HandleBase::id(), StMeasurementDetSet::id(), StMeasurementDetSet::isActive(), j, LogDebug, edm::Handle< T >::product(), pset_, selfUpdateSkipClusters_, StMeasurementDetSet::setActiveThisEvent(), StMeasurementDetSet::setEmpty(), StMeasurementDetSet::size(), AlCaHLTBitMon_QueryRunRegistry::string, HLT_25ns14e33_v1_cff::stripClusterProducer, theStripClusterLabel, theStripClusterMask, and StMeasurementDetSet::update().
Referenced by produce().
|
protected |
Definition at line 27 of file MeasurementTrackerEventProducer.h.
Referenced by produce().
|
protected |
Definition at line 28 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), updatePixels(), and updateStrips().
|
protected |
Definition at line 37 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), updatePixels(), and updateStrips().
|
protected |
Definition at line 34 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updatePixels().
|
protected |
Definition at line 35 of file MeasurementTrackerEventProducer.h.
Referenced by getInactiveStrips(), and MeasurementTrackerEventProducer().
|
protected |
Definition at line 29 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updatePixels().
|
protected |
Definition at line 31 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updatePixels().
|
protected |
Definition at line 30 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updateStrips().
|
protected |
Definition at line 32 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updateStrips().