#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 |
MeasurementDetWithData | idToDet (const DetId &id, const MeasurementTrackerEvent &data) const |
MeasurementDetSystem interface (won't be overloaded anymore) More... | |
const MeasurementDet * | idToDetBare (const DetId &id, const MeasurementTrackerEvent &data) const |
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) | |
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 97 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 | ||
) |
Definition at line 71 of file MeasurementTrackerImpl.cc.
References initialize(), initializePixelStatus(), and initializeStripStatus().
|
virtual |
Definition at line 95 of file MeasurementTrackerImpl.cc.
|
protected |
Definition at line 214 of file MeasurementTrackerImpl.cc.
References StMeasurementConditionSet::matcher(), StMeasurementConditionSet::stripCPE(), theGluedDets, and theStDetConditions.
Referenced by addStripDets().
|
protected |
Definition at line 204 of file MeasurementTrackerImpl.cc.
References thePixelDets, thePxDetConditions, and cms::Exception::what().
Referenced by addPixelDets().
|
protected |
Definition at line 161 of file MeasurementTrackerImpl.cc.
References addPixelDet().
Referenced by initialize().
|
protected |
Definition at line 194 of file MeasurementTrackerImpl.cc.
References theStDetConditions, theStripDets, and cms::Exception::what().
Referenced by addStripDets().
|
protected |
Definition at line 169 of file MeasurementTrackerImpl.cc.
References addGluedDet(), and addStripDet().
Referenced by initialize().
|
inline |
|
inline |
Definition at line 85 of file MeasurementTrackerImpl.h.
References theDetMap.
Referenced by idToDetBare(), and initGluedDet().
|
inline |
Definition at line 69 of file MeasurementTrackerImpl.h.
References MeasurementTracker::theGeometricSearchTracker.
|
inline |
Definition at line 67 of file MeasurementTrackerImpl.h.
References MeasurementTracker::theTrackerGeom.
|
inline |
Definition at line 103 of file MeasurementTrackerImpl.h.
References theGluedDets.
|
inlinevirtual |
MeasurementDetSystem interface (won't be overloaded anymore)
Implements MeasurementTracker.
Definition at line 73 of file MeasurementTrackerImpl.h.
References idToDetBare().
|
inline |
Definition at line 78 of file MeasurementTrackerImpl.h.
References findDet().
Referenced by idToDet().
|
protected |
Definition at line 219 of file MeasurementTrackerImpl.cc.
References findDet(), GeomDet::geographicalId(), GluedGeomDet::monoDet(), GluedGeomDet::stereoDet(), and theDetMap.
Referenced by initialize().
|
protected |
Definition at line 100 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 309 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 232 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 145 of file MeasurementTrackerImpl.cc.
References i, PxMeasurementConditionSet::id_, PxMeasurementConditionSet::init(), findQualityFiles::size, and thePxDetConditions.
Referenced by initialize().
|
protected |
Definition at line 129 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 106 of file MeasurementTrackerImpl.h.
References thePxDetConditions.
|
inline |
Definition at line 102 of file MeasurementTrackerImpl.h.
References thePixelDets.
|
inlinevirtual |
Provide templates to be filled in.
Implements MeasurementTracker.
Definition at line 105 of file MeasurementTrackerImpl.h.
References theStDetConditions.
|
inline |
Definition at line 101 of file MeasurementTrackerImpl.h.
References theStripDets.
|
protected |
Definition at line 110 of file MeasurementTrackerImpl.h.
|
protected |
Definition at line 109 of file MeasurementTrackerImpl.h.
Referenced by initializeStripStatus().
|
protected |
Definition at line 115 of file MeasurementTrackerImpl.h.
Referenced by allDets(), findDet(), initGluedDet(), and initialize().
|
protected |
Definition at line 119 of file MeasurementTrackerImpl.h.
Referenced by addGluedDet(), gluedDets(), and initialize().
|
protected |
Definition at line 121 of file MeasurementTrackerImpl.h.
|
protected |
Definition at line 117 of file MeasurementTrackerImpl.h.
Referenced by addPixelDet(), initialize(), initializePixelStatus(), and pixelDets().
|
protected |
Definition at line 113 of file MeasurementTrackerImpl.h.
Referenced by addPixelDet(), initialize(), initPxMeasurementConditionSet(), and pixelDetConditions().
|
protected |
Definition at line 112 of file MeasurementTrackerImpl.h.
Referenced by addGluedDet(), addStripDet(), initialize(), initializeStripStatus(), initStMeasurementConditionSet(), and stripDetConditions().
|
protected |
Definition at line 118 of file MeasurementTrackerImpl.h.
Referenced by addStripDet(), initialize(), and stripDets().