1 #ifndef TkPixelMeasurementDet_H 2 #define TkPixelMeasurementDet_H 50 assert(
"not implemented for Pixel yet"==
nullptr);
63 buildRecHit(
const SiPixelClusterRef & cluster,
77 void setBadRocPositions(std::vector< LocalPoint > & positions) { badRocPositions_.swap(positions); }
85 int index()
const {
return index_; }
103 if(skipClusters.empty())
return true;
104 if (r.
key()>=skipClusters.size()){
105 edm::LogError(
"IndexMisMatch")<<r.
key()<<
" is larger than: "<<skipClusters.size()<<
" no skipping done";
108 return not skipClusters[r.
key()];
bool isActive(const MeasurementTrackerEvent &data) const override
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'...
bool recHits(SimpleHitContainer &result, const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &, const MeasurementTrackerEvent &data) const override
std::vector< LocalPoint > badRocPositions_
const PixelClusterParameterEstimator * cpe() const
const PxMeasurementDetSet::BadFEDChannelPositions * getBadFEDChannelPositions(const MeasurementTrackerEvent &data) 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.
std::vector< std::pair< LocalPoint, LocalPoint > > BadFEDChannelPositions
const BadFEDChannelPositions * getBadFEDChannelPositions(int i) const
virtual RecHitContainer recHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &) const =0
const GeomDet & fastGeomDet() const
PxMeasurementConditionSet & conditionSet()
~TkPixelMeasurementDet() override
std::pair< LocalPoint, LocalError > LocalValues
edm::Ref< edmNew::DetSetVector< SiPixelCluster >, SiPixelCluster > SiPixelClusterRef
const PxMeasurementDetSet & pixelData() const
bool isActive(int i) const
const PxMeasurementConditionSet & conditionSet() const
bool accept(SiPixelClusterRefNew &r, const std::vector< bool > skipClusters) const
virtual bool hasBadComponents(const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &data) const =0
void update(int i, const PixelDetSet &detSet)
std::shared_ptr< TrackingRecHit const > RecHitPointer
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)
TrackingRecHit::ConstRecHitContainer RecHitContainer
Pixel cluster – collection of neighboring pixels above threshold.
std::vector< BaseTrackerRecHit * > SimpleHitContainer
char data[epos_bytes_allocation]
const PixelGeomDetUnit & specificGeomDet() const
virtual bool measurements(const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &data, TempMeasurements &result) const =0
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
void clearBadRocPositions()
Clear the list of bad ROCs.