1 #ifndef TkPixelMeasurementDet_H 2 #define TkPixelMeasurementDet_H 51 assert(
"not implemented for Pixel yet" ==
nullptr);
75 void setBadRocPositions(std::vector<LocalPoint>& positions) { badRocPositions_.swap(positions); }
84 int index()
const {
return index_; }
100 if (skipClusters.empty())
102 if (r.
key() >= skipClusters.size()) {
103 edm::LogError(
"IndexMisMatch") << r.
key() <<
" is larger than: " << skipClusters.size() <<
" no skipping done";
106 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'...
std::vector< std::pair< LocalPoint, LocalPoint > > BadFEDChannelPositions
bool recHits(SimpleHitContainer &result, const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &, const MeasurementTrackerEvent &data) const override
const PixelClusterParameterEstimator * cpe() const
std::vector< LocalPoint > badRocPositions_
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.
const BadFEDChannelPositions * getBadFEDChannelPositions(int i) const
virtual RecHitContainer recHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &) const =0
const GeomDet & fastGeomDet() const
PxMeasurementConditionSet & conditionSet()
~TkPixelMeasurementDet() override
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.
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...
std::vector< BaseTrackerRecHit * > SimpleHitContainer
edmNew::DetSet< SiPixelCluster > detset
std::pair< LocalPoint, LocalError > LocalValues
bool isEmpty(const PxMeasurementDetSet &data) const
void clearBadRocPositions()
Clear the list of bad ROCs.