#include <MeasurementTrackerEventProducer.h>
Public Member Functions | |
MeasurementTrackerEventProducer (const edm::ParameterSet &iConfig) | |
~MeasurementTrackerEventProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
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 TrackerGeometry &trackerGeom, const edm::EventSetup &iSetup) const |
void | updateStacks (const edm::Event &, Phase2OTMeasurementDetSet &theStDets) const |
void | updateStrips (const edm::Event &, StMeasurementDetSet &theStDets, std::vector< bool > &stripClustersToSkip) const |
Protected Attributes | |
bool | isPhase2 |
std::string | measurementTrackerLabel_ |
std::string | pixelCablingMapLabel_ |
bool | selfUpdateSkipClusters_ |
bool | switchOffPixelsIfEmpty_ |
std::vector< edm::EDGetTokenT< PixelFEDChannelCollection > > | theBadPixelFEDChannelsLabels |
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 | |
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 |
Definition at line 16 of file MeasurementTrackerEventProducer.h.
|
explicit |
Definition at line 17 of file MeasurementTrackerEventProducer.cc.
References edm::ParameterSet::getParameter(), HLT_2018_cff::InputTag, isPhase2, LogDebug, pixelCablingMapLabel_, selfUpdateSkipClusters_, optionsL1T::skip, AlCaHLTBitMon_QueryRunRegistry::string, OrderedSet::t, theBadPixelFEDChannelsLabels, theInactivePixelDetectorLabels, theInactiveStripDetectorLabels, thePh2OTClusterLabel, thePixelClusterLabel, thePixelClusterMask, theStripClusterLabel, and theStripClusterMask.
|
inlineoverride |
Definition at line 19 of file MeasurementTrackerEventProducer.h.
References fillDescriptions().
|
static |
Definition at line 67 of file MeasurementTrackerEventProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), HLT_2018_cff::InputTag, edm::ParameterDescriptionNode::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
protected |
Definition at line 390 of file MeasurementTrackerEventProducer.cc.
References edm::EDCollection< T >::begin(), DEFINE_FWK_MODULE, edm::EDCollection< T >::end(), edm::Event::getByToken(), and theInactiveStripDetectorLabels.
Referenced by updateStrips().
|
overrideprivate |
Definition at line 92 of file MeasurementTrackerEventProducer.cc.
References MeasurementTracker::geomTracker(), edm::EventSetup::get(), HLTSiStripMonitoring_cff::measurementTracker, measurementTrackerLabel_, MeasurementTracker::phase2DetConditions(), MeasurementTracker::pixelDetConditions(), edm::Event::put(), MeasurementTracker::stripDetConditions(), updatePhase2OT(), updatePixels(), updateStacks(), and updateStrips().
|
protected |
Definition at line 351 of file MeasurementTrackerEventProducer.cc.
References edmNew::DetSetVector< T >::begin(), edmNew::DetSetVector< T >::end(), edm::Event::getByToken(), Phase2OTMeasurementDetSet::handle(), mps_fire::i, edmNew::DetSet< T >::id(), Phase2OTMeasurementDetSet::id(), Phase2OTMeasurementDetSet::isActive(), isPhase2, edm::EDGetTokenT< T >::isUninitialized(), SummaryClient_cfi::labels, edm::ProductLabels::module, seedClusterRemoverPhase2_cfi::phase2OTClusters, edm::Handle< T >::product(), Phase2OTMeasurementDetSet::setActiveThisEvent(), Phase2OTMeasurementDetSet::size(), thePh2OTClusterLabel, and Phase2OTMeasurementDetSet::update().
Referenced by produce().
|
protected |
Definition at line 124 of file MeasurementTrackerEventProducer.cc.
References PxMeasurementDetSet::addBadFEDChannelPositions(), edm::EDCollection< T >::begin(), edmNew::DetSetVector< T >::begin(), sipixelobjects::GlobalPixel::col, PixelTopology::colsperroc(), edmNew::DetSetVector< T >::dataSize(), edmNew::DetSetVector< T >::empty(), edm::EDCollection< T >::end(), edmNew::DetSetVector< T >::end(), edm::HandleBase::failedToGet(), ntuplemaker::fill, PxMeasurementDetSet::find(), SiPixelFedCablingMap::findItem(), edm::EventSetup::get(), edm::Event::getByToken(), PxMeasurementDetSet::handle(), mps_fire::i, triggerObjects_cff::id, edmNew::DetSet< T >::id(), edm::HandleBase::id(), PxMeasurementDetSet::id(), sipixelobjects::PixelROC::idInDetUnit(), TrackerGeometry::idToDet(), PxMeasurementDetSet::isActive(), edm::EDGetTokenT< T >::isUninitialized(), SummaryClient_cfi::labels, DTRecHitClients_cfi::local, Topology::localPosition(), LogDebug, SiStripPI::max, min(), edm::ProductLabels::module, castor_dqm_sourceclient_file_cfg::path, pixelCablingMapLabel_, LumiMonitor_cff::pixelClusters, edm::Handle< T >::product(), sipixelobjects::PixelROC::rawId(), sipixelobjects::CablingPathToDetUnit::roc, PixelMapPlotter::roc, sipixelobjects::GlobalPixel::row, PixelTopology::rowsperroc(), selfUpdateSkipClusters_, PxMeasurementDetSet::setActiveThisEvent(), PxMeasurementDetSet::setEmpty(), PxMeasurementDetSet::size(), PixelGeomDetUnit::specificTopology(), switchOffPixelsIfEmpty_, theBadPixelFEDChannelsLabels, theInactivePixelDetectorLabels, thePixelClusterLabel, thePixelClusterMask, sipixelobjects::PixelROC::toGlobal(), ecaldqm::topology(), PxMeasurementDetSet::update(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by produce().
|
inlineprotected |
|
protected |
Definition at line 276 of file MeasurementTrackerEventProducer.cc.
References edm::HandleBase::failedToGet(), StMeasurementDetSet::find(), edm::Event::getByToken(), getInactiveStrips(), StMeasurementDetSet::handle(), mps_fire::i, triggerObjects_cff::id, edm::HandleBase::id(), StMeasurementDetSet::id(), StMeasurementDetSet::isActive(), edm::EDGetTokenT< T >::isUninitialized(), dqmiolumiharvest::j, SummaryClient_cfi::labels, LogDebug, edm::ProductLabels::module, edm::Handle< T >::product(), selfUpdateSkipClusters_, StMeasurementDetSet::setActiveThisEvent(), StMeasurementDetSet::setEmpty(), StMeasurementDetSet::size(), theStripClusterLabel, theStripClusterMask, mitigatedMETSequence_cff::U, and StMeasurementDetSet::update().
Referenced by produce().
|
protected |
Definition at line 53 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updatePhase2OT().
|
protected |
Definition at line 39 of file MeasurementTrackerEventProducer.h.
Referenced by produce().
|
protected |
Definition at line 48 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updatePixels().
|
protected |
Definition at line 51 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), updatePixels(), and updateStrips().
|
protected |
Definition at line 52 of file MeasurementTrackerEventProducer.h.
Referenced by updatePixels().
|
protected |
Definition at line 47 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updatePixels().
|
protected |
Definition at line 46 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updatePixels().
|
protected |
Definition at line 49 of file MeasurementTrackerEventProducer.h.
Referenced by getInactiveStrips(), and MeasurementTrackerEventProducer().
|
protected |
Definition at line 42 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updatePhase2OT().
|
protected |
Definition at line 40 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updatePixels().
|
protected |
Definition at line 43 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updatePixels().
|
protected |
Definition at line 41 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updateStrips().
|
protected |
Definition at line 44 of file MeasurementTrackerEventProducer.h.
Referenced by MeasurementTrackerEventProducer(), and updateStrips().