#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... | |
const MeasurementDet * | findDet (const DetId &id) const |
const GeometricSearchTracker * | geometricSearchTracker () const |
const TrackingGeometry * | geomTracker () const |
const std::vector < TkGluedMeasurementDet > & | gluedDets () const |
virtual MeasurementDetWithData | idToDet (const DetId &id, const MeasurementTrackerEvent &data) const |
MeasurementDetSystem interface (won't be overloaded anymore) More... | |
virtual const MeasurementDet * | idToDetBare (const DetId &id, const MeasurementTrackerEvent &data) const |
This interface (will be overloaded by the OnDemand one) 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) | |
virtual const PxMeasurementConditionSet & | pixelDetConditions () const |
const std::vector < TkPixelMeasurementDet > & | pixelDets () const |
virtual const StMeasurementConditionSet & | stripDetConditions () const |
Provide templates to be filled in. More... | |
const std::vector < TkStripMeasurementDet > & | stripDets () 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) |
void | addPixelDets (const TrackingGeometry::DetContainer &dets) |
void | addStripDet (const GeomDet *gd) |
void | addStripDets (const TrackingGeometry::DetContainer &dets) |
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) |
void | initPxMeasurementConditionSet (std::vector< TkPixelMeasurementDet > &pixelDets) |
void | initStMeasurementConditionSet (std::vector< TkStripMeasurementDet > &stripDets) |
Protected Attributes | |
const std::string | name_ |
const edm::ParameterSet & | pset_ |
DetContainer | theDetMap |
std::vector < TkGluedMeasurementDet > | theGluedDets |
const SiPixelFedCabling * | thePixelCabling |
std::vector < TkPixelMeasurementDet > | thePixelDets |
PxMeasurementConditionSet | thePxDetConditions |
StMeasurementConditionSet | theStDetConditions |
std::vector < TkStripMeasurementDet > | theStripDets |
Protected Attributes inherited from MeasurementTracker | |
const GeometricSearchTracker * | theGeometricSearchTracker |
const TrackerGeometry * | theTrackerGeom |
Definition at line 45 of file MeasurementTrackerImpl.h.
typedef std::unordered_map<unsigned int,MeasurementDet*> MeasurementTrackerImpl::DetContainer |
Definition at line 99 of file MeasurementTrackerImpl.h.
Enumerator | |
---|---|
BadModules | |
BadAPVFibers | |
BadStrips | |
MaskBad128StripBlocks | |
BadROCs |
Definition at line 47 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 71 of file MeasurementTrackerImpl.cc.
References initialize(), initializePixelStatus(), and initializeStripStatus().
|
virtual |
Definition at line 96 of file MeasurementTrackerImpl.cc.
|
protected |
Definition at line 215 of file MeasurementTrackerImpl.cc.
References StMeasurementConditionSet::matcher(), StMeasurementConditionSet::stripCPE(), theGluedDets, and theStDetConditions.
Referenced by addStripDets().
|
protected |
Definition at line 205 of file MeasurementTrackerImpl.cc.
References thePixelDets, thePxDetConditions, and cms::Exception::what().
Referenced by addPixelDets().
|
protected |
Definition at line 162 of file MeasurementTrackerImpl.cc.
References addPixelDet().
Referenced by initialize().
|
protected |
Definition at line 195 of file MeasurementTrackerImpl.cc.
References theStDetConditions, theStripDets, and cms::Exception::what().
Referenced by addStripDets().
|
protected |
Definition at line 170 of file MeasurementTrackerImpl.cc.
References addGluedDet(), and addStripDet().
Referenced by initialize().
|
inline |
|
inline |
Definition at line 87 of file MeasurementTrackerImpl.h.
References theDetMap.
Referenced by idToDetBare(), and initGluedDet().
|
inline |
Definition at line 70 of file MeasurementTrackerImpl.h.
References MeasurementTracker::theGeometricSearchTracker.
|
inline |
Definition at line 68 of file MeasurementTrackerImpl.h.
References MeasurementTracker::theTrackerGeom.
|
inline |
Definition at line 105 of file MeasurementTrackerImpl.h.
References theGluedDets.
|
inlinevirtual |
MeasurementDetSystem interface (won't be overloaded anymore)
Implements MeasurementTracker.
Definition at line 74 of file MeasurementTrackerImpl.h.
References idToDetBare().
|
inlinevirtual |
This interface (will be overloaded by the OnDemand one)
Reimplemented in OnDemandMeasurementTracker.
Definition at line 80 of file MeasurementTrackerImpl.h.
References findDet().
Referenced by idToDet().
|
protected |
Definition at line 220 of file MeasurementTrackerImpl.cc.
References findDet(), GeomDet::geographicalId(), GluedGeomDet::monoDet(), GluedGeomDet::stereoDet(), and theDetMap.
Referenced by initialize().
|
protected |
Definition at line 101 of file MeasurementTrackerImpl.cc.
References addPixelDets(), addStripDets(), TrackerGeometry::detsPXB(), TrackerGeometry::detsPXF(), TrackerGeometry::detsTEC(), TrackerGeometry::detsTIB(), TrackerGeometry::detsTID(), TrackerGeometry::detsTOB(), i, StMeasurementConditionSet::id(), PxMeasurementConditionSet::id(), initGluedDet(), initPxMeasurementConditionSet(), initStMeasurementConditionSet(), theDetMap, theGluedDets, thePixelDets, thePxDetConditions, theStDetConditions, theStripDets, and MeasurementTracker::theTrackerGeom.
Referenced by MeasurementTrackerImpl().
|
protected |
Definition at line 310 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 233 of file MeasurementTrackerImpl.cc.
References BadAPVFibers, BadModules, StMeasurementConditionSet::badStripCuts_, BadStrips, cond::rpcobgas::detid, StMeasurementConditionSet::getBadStripBlocks(), edm::ParameterSet::getParameter(), i, StMeasurementConditionSet::id(), j, MaskBad128StripBlocks, StMeasurementConditionSet::nDet(), pset_, StMeasurementConditionSet::set128StripStatus(), StMeasurementConditionSet::setActive(), StMeasurementConditionSet::setMaskBad128StripBlocks(), SiStripDetId::TEC, theStDetConditions, SiStripDetId::TIB, SiStripDetId::TID, and SiStripDetId::TOB.
Referenced by MeasurementTrackerImpl().
|
protected |
Definition at line 146 of file MeasurementTrackerImpl.cc.
References i, PxMeasurementConditionSet::id_, PxMeasurementConditionSet::init(), findQualityFiles::size, and thePxDetConditions.
Referenced by initialize().
|
protected |
Definition at line 130 of file MeasurementTrackerImpl.cc.
References i, StMeasurementConditionSet::id_, StMeasurementConditionSet::init(), findQualityFiles::size, DetId::subdetId(), StMeasurementConditionSet::subId_, theStDetConditions, and StMeasurementConditionSet::totalStrips_.
Referenced by initialize().
|
inlinevirtual |
Implements MeasurementTracker.
Definition at line 108 of file MeasurementTrackerImpl.h.
References thePxDetConditions.
|
inline |
Definition at line 104 of file MeasurementTrackerImpl.h.
References thePixelDets.
|
inlinevirtual |
Provide templates to be filled in.
Implements MeasurementTracker.
Definition at line 107 of file MeasurementTrackerImpl.h.
References theStDetConditions.
|
inline |
Definition at line 103 of file MeasurementTrackerImpl.h.
References theStripDets.
|
protected |
Definition at line 112 of file MeasurementTrackerImpl.h.
|
protected |
Definition at line 111 of file MeasurementTrackerImpl.h.
Referenced by initializeStripStatus().
|
protected |
Definition at line 117 of file MeasurementTrackerImpl.h.
Referenced by allDets(), findDet(), initGluedDet(), initialize(), and OnDemandMeasurementTracker::OnDemandMeasurementTracker().
|
protected |
Definition at line 121 of file MeasurementTrackerImpl.h.
Referenced by addGluedDet(), gluedDets(), and initialize().
|
protected |
Definition at line 123 of file MeasurementTrackerImpl.h.
|
protected |
Definition at line 119 of file MeasurementTrackerImpl.h.
Referenced by addPixelDet(), initialize(), initializePixelStatus(), and pixelDets().
|
protected |
Definition at line 115 of file MeasurementTrackerImpl.h.
Referenced by addPixelDet(), initialize(), initPxMeasurementConditionSet(), and pixelDetConditions().
|
protected |
Definition at line 114 of file MeasurementTrackerImpl.h.
Referenced by addGluedDet(), addStripDet(), initialize(), initializeStripStatus(), initStMeasurementConditionSet(), and stripDetConditions().
|
protected |
Definition at line 120 of file MeasurementTrackerImpl.h.
Referenced by addStripDet(), initialize(), and stripDets().