#include <MeasurementTrackerImpl.h>
Public Types | |
typedef std::unordered_map < unsigned int, MeasurementDet * > | DetContainer |
enum | QualityFlags { BadModules =1, BadAPVFibers =2, BadStrips =4, MaskBad128StripBlocks =8, BadROCs =2 } |
Public Types inherited from MeasurementTracker | |
enum | QualityFlags { BadModules =1, BadAPVFibers =2, BadStrips =4, MaskBad128StripBlocks =8, BadROCs =2 } |
Public Member Functions | |
const DetContainer & | allDets () const |
For debug only. More... | |
TkStripMeasurementDet * | concreteDetUpdatable (DetId id) const |
const MeasurementDet * | findDet (const DetId &id) const |
const GeometricSearchTracker * | geometricSearchTracker () const |
const TrackingGeometry * | geomTracker () const |
const std::vector < TkGluedMeasurementDet > & | gluedDets () const |
virtual const MeasurementDet * | idToDet (const DetId &id) const |
MeasurementDetSystem interface (can be overloaded!) More... | |
MeasurementTrackerImpl (const edm::ParameterSet &conf, const PixelClusterParameterEstimator *pixelCPE, const StripClusterParameterEstimator *stripCPE, const SiStripRecHitMatcher *hitMatcher, const TrackerGeometry *trackerGeom, const GeometricSearchTracker *geometricSearchTracker, const SiStripQuality *stripQuality, int stripQualityFlags, int stripQualityDebugFlags, const SiPixelQuality *pixelQuality, const SiPixelFedCabling *pixelCabling, int pixelQualityFlags, int pixelQualityDebugFlags, bool isRegional=false) | |
const std::vector < TkPixelMeasurementDet * > & | pixelDets () const |
void | setClusterToSkip (const edm::InputTag &cluster, const edm::Event &event) const |
const std::vector < TkStripMeasurementDet > & | stripDets () const |
void | unsetClusterToSkip () const |
virtual void | update (const edm::Event &) const |
void | updatePixels (const edm::Event &) const |
void | updateStrips (const edm::Event &) const |
virtual | ~MeasurementTrackerImpl () |
Public Member Functions inherited from MeasurementTracker | |
const GeometricSearchTracker * | geometricSearchTracker () const |
const TrackingGeometry * | geomTracker () const |
MeasurementTracker (TrackerGeometry const *trackerGeom, GeometricSearchTracker const *geometricSearchTracker) | |
virtual | ~MeasurementTracker () |
Protected Member Functions | |
void | addGluedDet (const GluedGeomDet *gd) |
void | addPixelDet (const GeomDet *gd, const PixelClusterParameterEstimator *cpe) |
void | addPixelDets (const TrackingGeometry::DetContainer &dets) |
void | addStripDet (const GeomDet *gd) |
void | addStripDets (const TrackingGeometry::DetContainer &dets) |
void | getInactiveStrips (const edm::Event &event, std::vector< uint32_t > &rawInactiveDetIds) const |
void | initGluedDet (TkGluedMeasurementDet &det) |
void | initialize () |
void | initializePixelStatus (const SiPixelQuality *stripQuality, const SiPixelFedCabling *pixelCabling, int qualityFlags, int qualityDebugFlags) |
void | initializeStripStatus (const SiStripQuality *stripQuality, int qualityFlags, int qualityDebugFlags) |
Protected Attributes | |
const std::string | name_ |
const edm::ParameterSet & | pset_ |
bool | selfUpdateSkipClusters_ |
DetContainer | theDetMap |
std::vector < TkGluedMeasurementDet > | theGluedDets |
const std::vector< edm::InputTag > | theInactivePixelDetectorLabels |
const std::vector< edm::InputTag > | theInactiveStripDetectorLabels |
const SiPixelFedCabling * | thePixelCabling |
const PixelClusterParameterEstimator * | thePixelCPE |
std::vector < TkPixelMeasurementDet * > | thePixelDets |
std::vector< bool > | thePixelsToSkip |
StMeasurementDetSet | theStDets |
std::vector < TkStripMeasurementDet > | theStripDets |
Protected Attributes inherited from MeasurementTracker | |
const GeometricSearchTracker * | theGeometricSearchTracker |
const TrackerGeometry * | theTrackerGeom |
Definition at line 44 of file MeasurementTrackerImpl.h.
typedef std::unordered_map<unsigned int,MeasurementDet*> MeasurementTrackerImpl::DetContainer |
Definition at line 97 of file MeasurementTrackerImpl.h.
Enumerator | |
---|---|
BadModules | |
BadAPVFibers | |
BadStrips | |
MaskBad128StripBlocks | |
BadROCs |
Definition at line 46 of file MeasurementTrackerImpl.h.
MeasurementTrackerImpl::MeasurementTrackerImpl | ( | const edm::ParameterSet & | conf, |
const PixelClusterParameterEstimator * | pixelCPE, | ||
const StripClusterParameterEstimator * | stripCPE, | ||
const SiStripRecHitMatcher * | hitMatcher, | ||
const TrackerGeometry * | trackerGeom, | ||
const GeometricSearchTracker * | geometricSearchTracker, | ||
const SiStripQuality * | stripQuality, | ||
int | stripQualityFlags, | ||
int | stripQualityDebugFlags, | ||
const SiPixelQuality * | pixelQuality, | ||
const SiPixelFedCabling * | pixelCabling, | ||
int | pixelQualityFlags, | ||
int | pixelQualityDebugFlags, | ||
bool | isRegional = false |
||
) |
Definition at line 74 of file MeasurementTrackerImpl.cc.
References edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), initialize(), initializePixelStatus(), initializeStripStatus(), LogDebug, selfUpdateSkipClusters_, and createPayload::skip.
|
virtual |
Definition at line 111 of file MeasurementTrackerImpl.cc.
References thePixelDets.
|
protected |
Definition at line 199 of file MeasurementTrackerImpl.cc.
References StMeasurementDetSet::matcher(), StMeasurementDetSet::stripCPE(), theGluedDets, and theStDets.
Referenced by addStripDets().
|
protected |
Definition at line 190 of file MeasurementTrackerImpl.cc.
References GeomDet::geographicalId(), TkPixelMeasurementDet::setClusterToSkip(), theDetMap, thePixelDets, and thePixelsToSkip.
Referenced by addPixelDets().
|
protected |
Definition at line 147 of file MeasurementTrackerImpl.cc.
References addPixelDet(), and thePixelCPE.
Referenced by initialize().
|
protected |
Definition at line 180 of file MeasurementTrackerImpl.cc.
References theStDets, theStripDets, and cms::Exception::what().
Referenced by addStripDets().
|
protected |
Definition at line 155 of file MeasurementTrackerImpl.cc.
References addGluedDet(), and addStripDet().
Referenced by initialize().
|
inline |
TkStripMeasurementDet * MeasurementTrackerImpl::concreteDetUpdatable | ( | DetId | id | ) | const |
Definition at line 507 of file MeasurementTrackerImpl.cc.
References findDet(), and idToDet().
Referenced by updateStrips().
|
inline |
Definition at line 82 of file MeasurementTrackerImpl.h.
References theDetMap.
Referenced by concreteDetUpdatable(), idToDet(), and initGluedDet().
|
inline |
Definition at line 73 of file MeasurementTrackerImpl.h.
References MeasurementTracker::theGeometricSearchTracker.
|
inline |
Definition at line 71 of file MeasurementTrackerImpl.h.
References MeasurementTracker::theTrackerGeom.
|
protected |
Definition at line 365 of file MeasurementTrackerImpl.cc.
References python.multivaluedict::sort(), and theInactiveStripDetectorLabels.
Referenced by OnDemandMeasurementTracker::updateStrips(), and updateStrips().
|
inline |
Definition at line 103 of file MeasurementTrackerImpl.h.
References theGluedDets.
|
inlinevirtual |
MeasurementDetSystem interface (can be overloaded!)
Implements MeasurementTracker.
Reimplemented in OnDemandMeasurementTracker.
Definition at line 77 of file MeasurementTrackerImpl.h.
References findDet().
Referenced by concreteDetUpdatable().
|
protected |
Definition at line 204 of file MeasurementTrackerImpl.cc.
References findDet(), GeomDet::geographicalId(), GluedGeomDet::monoDet(), GluedGeomDet::stereoDet(), and theDetMap.
Referenced by initialize().
|
protected |
Definition at line 120 of file MeasurementTrackerImpl.cc.
References addPixelDets(), addStripDets(), TrackerGeometry::detsPXB(), TrackerGeometry::detsPXF(), TrackerGeometry::detsTEC(), TrackerGeometry::detsTIB(), TrackerGeometry::detsTID(), TrackerGeometry::detsTOB(), i, StMeasurementDetSet::id(), StMeasurementDetSet::init(), initGluedDet(), theDetMap, theGluedDets, thePixelDets, theStDets, theStripDets, and MeasurementTracker::theTrackerGeom.
Referenced by MeasurementTrackerImpl().
|
protected |
Definition at line 524 of file MeasurementTrackerImpl.cc.
References BadModules, BadROCs, cond::rpcobgas::detid, SiPixelQuality::getBadRocPositions(), SiPixelQuality::getBadRocs(), i, SiPixelQuality::IsModuleUsable(), thePixelDets, and MeasurementTracker::theTrackerGeom.
Referenced by MeasurementTrackerImpl().
|
protected |
Definition at line 519 of file MeasurementTrackerImpl.cc.
References edm::ParameterSet::getParameter(), StMeasurementDetSet::initializeStripStatus(), pset_, and theStDets.
Referenced by MeasurementTrackerImpl().
|
inline |
Definition at line 102 of file MeasurementTrackerImpl.h.
References thePixelDets.
|
virtual |
Implements MeasurementTracker.
Definition at line 238 of file MeasurementTrackerImpl.cc.
References LogDebug, selfUpdateSkipClusters_, thePixelsToSkip, theStDets, and StMeasurementDetSet::theStripsToSkip.
|
inline |
Definition at line 101 of file MeasurementTrackerImpl.h.
References theStripDets.
|
virtual |
Implements MeasurementTracker.
Definition at line 263 of file MeasurementTrackerImpl.cc.
References LogDebug, selfUpdateSkipClusters_, thePixelsToSkip, theStDets, and StMeasurementDetSet::theStripsToSkip.
|
virtual |
Implements MeasurementTracker.
Reimplemented in OnDemandMeasurementTracker.
Definition at line 218 of file MeasurementTrackerImpl.cc.
References updatePixels(), and updateStrips().
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), relval_steps.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
virtual |
Implements MeasurementTracker.
Definition at line 276 of file MeasurementTrackerImpl.cc.
References edmNew::DetSetVector< T >::dataSize(), edmNew::DetSetVector< T >::empty(), edmNew::DetSetVector< T >::end(), edm::ParameterSet::existsAs(), edm::HandleBase::failedToGet(), lumiContext::fill, edmNew::DetSetVector< T >::find(), edm::Event::getByLabel(), edm::ParameterSet::getParameter(), i, edm::HandleBase::id(), LogDebug, name_, clustersummaryproducer_cfg::pixelClusters, edm::Handle< T >::product(), pset_, selfUpdateSkipClusters_, python.multivaluedict::sort(), AlCaHLTBitMon_QueryRunRegistry::string, theInactivePixelDetectorLabels, thePixelDets, and thePixelsToSkip.
Referenced by OnDemandMeasurementTracker::update(), and update().
|
virtual |
Implements MeasurementTracker.
Reimplemented in OnDemandMeasurementTracker.
Definition at line 378 of file MeasurementTrackerImpl.cc.
References edm::RegionIndex< T >::begin(), concreteDetUpdatable(), edm::RegionIndex< T >::end(), edm::HandleBase::failedToGet(), StMeasurementDetSet::find(), getInactiveStrips(), edm::ParameterSet::getParameter(), StMeasurementDetSet::handle_, i, StMeasurementDetSet::id(), edm::HandleBase::id(), edmNew::DetSetVector< T >::id(), StMeasurementDetSet::id_, getHLTprescales::index, StMeasurementDetSet::isActive(), StMeasurementDetSet::isRegional(), LogDebug, name_, edm::Handle< T >::product(), pset_, StMeasurementDetSet::regionalHandle_, selfUpdateSkipClusters_, StMeasurementDetSet::setActiveThisEvent(), StMeasurementDetSet::setEmpty(), AlCaHLTBitMon_QueryRunRegistry::string, theStDets, StMeasurementDetSet::theStripsToSkip, and StMeasurementDetSet::update().
Referenced by OnDemandMeasurementTracker::update(), and update().
|
protected |
Definition at line 110 of file MeasurementTrackerImpl.h.
Referenced by updatePixels(), OnDemandMeasurementTracker::updateStrips(), and updateStrips().
|
protected |
Definition at line 109 of file MeasurementTrackerImpl.h.
Referenced by initializeStripStatus(), updatePixels(), OnDemandMeasurementTracker::updateStrips(), and updateStrips().
|
protected |
Definition at line 130 of file MeasurementTrackerImpl.h.
Referenced by MeasurementTrackerImpl(), setClusterToSkip(), unsetClusterToSkip(), updatePixels(), OnDemandMeasurementTracker::updateStrips(), and updateStrips().
|
mutableprotected |
Definition at line 114 of file MeasurementTrackerImpl.h.
Referenced by addPixelDet(), allDets(), findDet(), initGluedDet(), initialize(), and OnDemandMeasurementTracker::OnDemandMeasurementTracker().
|
mutableprotected |
Definition at line 120 of file MeasurementTrackerImpl.h.
Referenced by addGluedDet(), gluedDets(), and initialize().
|
protected |
Definition at line 127 of file MeasurementTrackerImpl.h.
Referenced by updatePixels().
|
protected |
Definition at line 128 of file MeasurementTrackerImpl.h.
Referenced by getInactiveStrips(), and OnDemandMeasurementTracker::OnDemandMeasurementTracker().
|
protected |
Definition at line 125 of file MeasurementTrackerImpl.h.
|
protected |
Definition at line 124 of file MeasurementTrackerImpl.h.
Referenced by addPixelDets().
|
mutableprotected |
Definition at line 117 of file MeasurementTrackerImpl.h.
Referenced by addPixelDet(), initialize(), initializePixelStatus(), pixelDets(), updatePixels(), and ~MeasurementTrackerImpl().
|
mutableprotected |
Definition at line 122 of file MeasurementTrackerImpl.h.
Referenced by addPixelDet(), setClusterToSkip(), unsetClusterToSkip(), and updatePixels().
|
mutableprotected |
Definition at line 112 of file MeasurementTrackerImpl.h.
Referenced by addGluedDet(), addStripDet(), OnDemandMeasurementTracker::define(), initialize(), initializeStripStatus(), setClusterToSkip(), unsetClusterToSkip(), OnDemandMeasurementTracker::updateStrips(), and updateStrips().
|
mutableprotected |
Definition at line 119 of file MeasurementTrackerImpl.h.
Referenced by addStripDet(), initialize(), and stripDets().