1 #ifndef TkPixelMeasurementDet_H
2 #define TkPixelMeasurementDet_H
44 assert(
"not implemented for Pixel yet"==
nullptr);
51 TempMeasurements &
result)
const;
71 void setBadRocPositions(std::vector< LocalPoint > & positions) { badRocPositions_.swap(positions); }
75 int index()
const {
return index_; }
93 if(skipClusters.empty())
return true;
94 if (r.
key()>=skipClusters.size()){
95 edm::LogError(
"IndexMisMatch")<<r.
key()<<
" is larger than: "<<skipClusters.size()<<
" no skipping done";
98 return not skipClusters[r.
key()];
std::vector< LocalPoint > badRocPositions_
const PixelClusterParameterEstimator * cpe() const
void setActive(bool active)
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB...
data_type const * const_iterator
key_type key() const
Accessor for product key.
const GeomDet & fastGeomDet() const
PxMeasurementConditionSet & conditionSet()
std::pair< LocalPoint, LocalError > LocalValues
edm::Ref< edmNew::DetSetVector< SiPixelCluster >, SiPixelCluster > SiPixelClusterRef
virtual bool recHits(SimpleHitContainer &result, const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &, const MeasurementTrackerEvent &data) const
const PxMeasurementDetSet & pixelData() const
bool isActive(int i) const
virtual ~TkPixelMeasurementDet()
const PxMeasurementConditionSet & conditionSet() const
bool accept(SiPixelClusterRefNew &r, const std::vector< bool > skipClusters) const
void update(int i, const PixelDetSet &detSet)
bool isActive(const MeasurementTrackerEvent &data) const
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'...
std::shared_ptr< TrackingRecHit const > RecHitPointer
virtual RecHitContainer recHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &) const =0
void setEmpty(PxMeasurementDetSet &data)
PixelClusterParameterEstimator::LocalValues LocalValues
detset::const_iterator const_iterator
void update(PxMeasurementDetSet &data, const detset &detSet)
void setActiveThisEvent(PxMeasurementDetSet &data, bool active) const
Turn on/off the module for reconstruction for one events. This per-event flag is cleared by any call ...
void setActiveThisEvent(bool active)
Pixel cluster – collection of neighboring pixels above threshold.
std::vector< BaseTrackerRecHit * > SimpleHitContainer
char data[epos_bytes_allocation]
const PixelGeomDetUnit & specificGeomDet() const
PxMeasurementConditionSet * theDetConditions
void setBadRocPositions(std::vector< LocalPoint > &positions)
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame...
edmNew::DetSet< SiPixelCluster > detset
bool isEmpty(const PxMeasurementDetSet &data) const
virtual bool hasBadComponents(const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &data) const =0
virtual bool measurements(const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &data, TempMeasurements &result) const =0
void clearBadRocPositions()
Clear the list of bad ROCs.