#include <MeasurementTrackerEventProducer.h>
Protected Member Functions | |
void | getInactiveStrips (const edm::Event &event, std::vector< uint32_t > &rawInactiveDetIds) const |
void | updatePhase2OT (const edm::Event &, Phase2OTMeasurementDetSet &thePh2OTDets) const |
void | updatePixels (const edm::Event &, PxMeasurementDetSet &thePxDets, std::vector< bool > &pixelClustersToSkip) const |
void | updateStacks (const edm::Event &, Phase2OTMeasurementDetSet &theStDets) const |
void | updateStrips (const edm::Event &, StMeasurementDetSet &theStDets, std::vector< bool > &stripClustersToSkip) const |
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 | |
bool | isPhase2 |
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< Phase2TrackerCluster1D > > | thePh2OTClusterLabel |
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 |
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) |
Definition at line 14 of file MeasurementTrackerEventProducer.h.
|
explicit |
Definition at line 10 of file MeasurementTrackerEventProducer.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), isPhase2, LogDebug, pset_, selfUpdateSkipClusters_, createPayload::skip, AlCaHLTBitMon_QueryRunRegistry::string, lumiQTWidget::t, theInactivePixelDetectorLabels, theInactiveStripDetectorLabels, thePh2OTClusterLabel, thePixelClusterLabel, thePixelClusterMask, theStripClusterLabel, and theStripClusterMask.
|
inline |
Definition at line 17 of file MeasurementTrackerEventProducer.h.
References edm::stream::EDProducerBase::produce().
|
protected |
Definition at line 266 of file MeasurementTrackerEventProducer.cc.
References edm::EDCollection< T >::begin(), DEFINE_FWK_MODULE, edm::EDCollection< T >::end(), edm::Event::getByToken(), and theInactiveStripDetectorLabels.
Referenced by updateStrips().
|
overrideprivatevirtual |
Definition at line 47 of file MeasurementTrackerEventProducer.cc.
References edm::EventSetup::get(), MeasurementTrackerEventProducer_cfi::measurementTracker, measurementTrackerLabel_, eostools::move(), MeasurementTracker::phase2DetConditions(), MeasurementTracker::pixelDetConditions(), edm::Event::put(), MeasurementTracker::stripDetConditions(), updatePhase2OT(), updatePixels(), updateStacks(), and updateStrips().
|
protected |
Definition at line 230 of file MeasurementTrackerEventProducer.cc.
References edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::end(), edm::ParameterSet::getParameter(), Phase2OTMeasurementDetSet::handle(), i, edmNew::DetSet< T >::id(), Phase2OTMeasurementDetSet::id(), Phase2OTMeasurementDetSet::isActive(), isPhase2, seedClusterRemoverPhase2_cfi::phase2OTClusters, edm::Handle< T >::product(), pset_, Phase2OTMeasurementDetSet::setActiveThisEvent(), Phase2OTMeasurementDetSet::size(), AlCaHLTBitMon_QueryRunRegistry::string, thePh2OTClusterLabel, and Phase2OTMeasurementDetSet::update().
Referenced by produce().
|
protected |
Definition at line 75 of file MeasurementTrackerEventProducer.cc.
References edm::EDCollection< T >::begin(), edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::dataSize(), edmNew::DetSetVector< T >::empty(), edm::EDCollection< T >::end(), edmNew::DetSetVector< T >::end(), edm::HandleBase::failedToGet(), lumiContext::fill, PxMeasurementDetSet::find(), edm::Event::getByToken(), edm::ParameterSet::getParameter(), PxMeasurementDetSet::handle(), i, hcalTTPDigis_cfi::id, edmNew::DetSet< T >::id(), edm::HandleBase::id(), PxMeasurementDetSet::id(), PxMeasurementDetSet::isActive(), LogDebug, nuclearRemainingHits_cff::pixelClusterProducer, hiDetachedTripletStep_cff::pixelClusters, edm::Handle< T >::product(), pset_, selfUpdateSkipClusters_, PxMeasurementDetSet::setActiveThisEvent(), PxMeasurementDetSet::setEmpty(), PxMeasurementDetSet::size(), AlCaHLTBitMon_QueryRunRegistry::string, MeasurementTrackerEventProducer_cfi::switchOffPixelsIfEmpty, theInactivePixelDetectorLabels, thePixelClusterLabel, thePixelClusterMask, and PxMeasurementDetSet::update().
Referenced by produce().
|
inlineprotected |
|
protected |
Definition at line 163 of file MeasurementTrackerEventProducer.cc.
References edm::HandleBase::failedToGet(), StMeasurementDetSet::find(), getInactiveStrips(), edm::ParameterSet::getParameter(), StMeasurementDetSet::handle(), i, hcalTTPDigis_cfi::id, edm::HandleBase::id(), StMeasurementDetSet::id(), StMeasurementDetSet::isActive(), j, LogDebug, edm::Handle< T >::product(), pset_, selfUpdateSkipClusters_, StMeasurementDetSet::setActiveThisEvent(), StMeasurementDetSet::setEmpty(), StMeasurementDetSet::size(), AlCaHLTBitMon_QueryRunRegistry::string, nuclearRemainingHits_cff::stripClusterProducer, theStripClusterLabel, theStripClusterMask, mitigatedMETSequence_cff::U, and StMeasurementDetSet::update().
Referenced by produce().
|
protected |
Definition at line 42 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updatePhase2OT().
|
protected |
Definition at line 30 of file MeasurementTrackerEventProducer.h.
Referenced by produce().
|
protected |
Definition at line 31 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), updatePhase2OT(), updatePixels(), and updateStrips().
|
protected |
Definition at line 41 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), updatePixels(), and updateStrips().
|
protected |
Definition at line 38 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updatePixels().
|
protected |
Definition at line 39 of file MeasurementTrackerEventProducer.h.
Referenced by getInactiveStrips(), and MeasurementTrackerEventProducer().
|
protected |
Definition at line 34 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updatePhase2OT().
|
protected |
Definition at line 32 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updatePixels().
|
protected |
Definition at line 35 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updatePixels().
|
protected |
Definition at line 33 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updateStrips().
|
protected |
Definition at line 36 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updateStrips().