#include <OnDemandMeasurementTracker.h>
Classes | |
class | DetODStatus |
Public Types | |
typedef edm::LazyGetter < SiStripCluster > | LazyGetter |
typedef edm::RefGetter < SiStripCluster > | RefGetter |
Public Types inherited from MeasurementTrackerImpl | |
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 | |
void | define (const edm::Handle< edm::LazyGetter< SiStripCluster > > &, RefGetter &, StMeasurementDetSet &) const |
OnDemandMeasurementTracker specific function to be called to define the region in the RefGetter according to MeasurementDet content. More... | |
const MeasurementDet * | idToDetBare (const DetId &id, const MeasurementTrackerEvent &data) const |
MeasurementTrackerImpl interface. More... | |
OnDemandMeasurementTracker (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, const SiStripRegionCabling *stripRegionCabling, bool isRegional=false) | |
constructor More... | |
virtual | ~OnDemandMeasurementTracker () |
destructor More... | |
Public Member Functions inherited from MeasurementTrackerImpl | |
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... | |
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 () |
Private Types | |
typedef std::unordered_map < unsigned int, DetODStatus > | DetODContainer |
typedef std::vector< std::pair < SiStripRegionCabling::ElementIndex, std::vector < DetODContainer::const_iterator > > > | RegionalMap |
mapping of elementIndex -> iterator to the DetODMap: to know what are the regions that needs to be defined in the ref getter More... | |
Private Member Functions | |
void | assign (const TkStripMeasurementDet *csmdet, const MeasurementTrackerEvent &data) const |
assigne the cluster iterator to the TkStipMeasurementDet (const_cast in the way) More... | |
std::string | dumpCluster (const std::vector< SiStripCluster >::const_iterator &begin, const std::vector< SiStripCluster >::const_iterator &end) const |
some printouts, exclusively under LogDebug More... | |
std::string | dumpRegion (std::pair< unsigned int, unsigned int > indexes, const RefGetter &theGetter, bool stayUnpacked=false) const |
Private Attributes | |
std::string | category_ |
log category More... | |
bool | PixelOnDemand_ |
internal flag to do pixel on demand (not configurable) false by default More... | |
RegionalMap | region_mapping |
bool | StayPacked_ |
internal flag to avoid unpacking things with LogDebug on More... | |
bool | StripOnDemand_ |
internal flag to do strip on demand (not configurable) true by default More... | |
DetODContainer | theDetODMap |
mapping of detid -> MeasurementDet+flags+region_range More... | |
const SiStripRegionCabling * | theStripRegionCabling |
the cabling region tool to update a RefGetter More... | |
Definition at line 13 of file OnDemandMeasurementTracker.h.
|
private |
Definition at line 66 of file OnDemandMeasurementTracker.h.
Definition at line 34 of file OnDemandMeasurementTracker.h.
Definition at line 35 of file OnDemandMeasurementTracker.h.
|
private |
mapping of elementIndex -> iterator to the DetODMap: to know what are the regions that needs to be defined in the ref getter
Definition at line 72 of file OnDemandMeasurementTracker.h.
OnDemandMeasurementTracker::OnDemandMeasurementTracker | ( | 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, | ||
const SiStripRegionCabling * | stripRegionCabling, | ||
bool | isRegional = false |
||
) |
constructor
Definition at line 51 of file OnDemandMeasurementTracker.cc.
References category_, SiStripRegionCabling::elementIndex(), PV3DBase< T, PVType, FrameType >::eta(), eta(), first, OnDemandMeasurementTracker::DetODStatus::Glued, SiStripRegionCabling::layerFromDetId(), LogDebug, phi, PV3DBase< T, PVType, FrameType >::phi(), OnDemandMeasurementTracker::DetODStatus::Pixel, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, SiStripRegionCabling::position(), SiStripRegionCabling::positionIndex(), SiStripRegionCabling::region(), region_mapping, edm::second(), OnDemandMeasurementTracker::DetODStatus::Strip, SiStripRegionCabling::subdetFromDetId(), GeomDetEnumerators::TEC, MeasurementTrackerImpl::theDetMap, theDetODMap, theStripRegionCabling, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, and GeomDetEnumerators::TOB.
|
inlinevirtual |
|
private |
assigne the cluster iterator to the TkStipMeasurementDet (const_cast in the way)
Definition at line 219 of file OnDemandMeasurementTracker.cc.
References category_, dumpCluster(), dumpRegion(), edm::RefGetter< T >::find(), LogDebug, DetId::rawId(), StMeasurementDetSet::rawInactiveStripDetIds(), StMeasurementDetSet::refGetter(), StMeasurementDetSet::regionRange(), StMeasurementDetSet::setUpdated(), and MeasurementTrackerEvent::stripData().
Referenced by idToDetBare().
void OnDemandMeasurementTracker::define | ( | const edm::Handle< edm::LazyGetter< SiStripCluster > > & | aLazyGetterH, |
RefGetter & | aGetter, | ||
StMeasurementDetSet & | stData | ||
) | const |
OnDemandMeasurementTracker specific function to be called to define the region in the RefGetter according to MeasurementDet content.
Definition at line 141 of file OnDemandMeasurementTracker.cc.
References category_, StMeasurementDetSet::defineStrip(), dumpRegion(), HTMLExport::elem(), OnDemandMeasurementTracker::DetODStatus::index, OnDemandMeasurementTracker::DetODStatus::kind, LogDebug, region_mapping, StMeasurementDetSet::resetOnDemandStrips(), edm::RefGetter< T >::size(), StayPacked_, OnDemandMeasurementTracker::DetODStatus::Strip, theStripRegionCabling, and SiStripRegionCabling::updateSiStripRefGetter().
Referenced by MeasurementTrackerSiStripRefGetterProducer::produce().
|
private |
some printouts, exclusively under LogDebug
Definition at line 181 of file OnDemandMeasurementTracker.cc.
References begin, end, i, AlCaHLTBitMon_QueryRunRegistry::string, and accesses::tab.
Referenced by assign(), and dumpRegion().
|
private |
Definition at line 197 of file OnDemandMeasurementTracker.cc.
References begin, dumpCluster(), end, SiStripRegionCabling::position(), SiStripRegionCabling::positionIndex(), SiStripRegionCabling::region(), and theStripRegionCabling.
Referenced by assign(), and define().
|
virtual |
MeasurementTrackerImpl interface.
Reimplemented from MeasurementTrackerImpl.
Definition at line 274 of file OnDemandMeasurementTracker.cc.
References assign(), category_, data, OnDemandMeasurementTracker::DetODStatus::Glued, OnDemandMeasurementTracker::DetODStatus::Pixel, OnDemandMeasurementTracker::DetODStatus::Strip, MeasurementTrackerEvent::stripData(), StMeasurementDetSet::stripDefined(), StMeasurementDetSet::stripUpdated(), and theDetODMap.
|
private |
log category
Definition at line 46 of file OnDemandMeasurementTracker.h.
Referenced by assign(), define(), idToDetBare(), and OnDemandMeasurementTracker().
|
private |
internal flag to do pixel on demand (not configurable) false by default
Definition at line 52 of file OnDemandMeasurementTracker.h.
|
private |
Definition at line 73 of file OnDemandMeasurementTracker.h.
Referenced by define(), and OnDemandMeasurementTracker().
|
private |
internal flag to avoid unpacking things with LogDebug on
Definition at line 48 of file OnDemandMeasurementTracker.h.
Referenced by define().
|
private |
internal flag to do strip on demand (not configurable) true by default
Definition at line 50 of file OnDemandMeasurementTracker.h.
|
private |
mapping of detid -> MeasurementDet+flags+region_range
Definition at line 68 of file OnDemandMeasurementTracker.h.
Referenced by idToDetBare(), and OnDemandMeasurementTracker().
|
private |
the cabling region tool to update a RefGetter
Definition at line 55 of file OnDemandMeasurementTracker.h.
Referenced by define(), dumpRegion(), and OnDemandMeasurementTracker().