1 #ifndef TkStripMeasurementDet_H
2 #define TkStripMeasurementDet_H
54 void update( std::vector<SiStripCluster>::const_iterator
begin ,std::vector<SiStripCluster>::const_iterator
end,
78 virtual std::vector<TrajectoryMeasurement>
124 maxBad(pset.getParameter<uint32_t>(
"maxBad")),
130 bool testStrips(
float utraj,
float uerr)
const;
191 template<
class ClusterRefT>
194 std::vector<SiStripRecHit2D>& res)
const;
virtual ~TkStripMeasurementDet()
bool maskBad128StripBlocks_
void buildSimpleRecHit(const ClusterRefT &cluster, const TrajectoryStateOnSurface <p, std::vector< SiStripRecHit2D > &res) const
const StripClusterParameterEstimator * theCPE
edmNew::DetSet< SiStripCluster > detset
uint16_t maxConsecutiveBad
StripClusterParameterEstimator::VLocalValues VLocalValues
StripClusterParameterEstimator::LocalValues LocalValues
TransientTrackingRecHit::ConstRecHitContainer RecHitContainer
BadStripCuts(const edm::ParameterSet &pset)
uint16_t firstStrip() const
data_type const * const_iterator
void update(std::vector< SiStripCluster >::const_iterator begin, std::vector< SiStripCluster >::const_iterator end, const edm::Handle< edm::LazyGetter< SiStripCluster > > h, unsigned int id)
virtual RecHitContainer recHits(const TrajectoryStateOnSurface &) const
TransientTrackingRecHit::RecHitPointer buildRecHit(const SiStripClusterRef &, const TrajectoryStateOnSurface <p) const
std::pair< LocalPoint, LocalError > LocalValues
std::vector< SiStripCluster >::const_iterator beginCluster
bool isMasked(const SiStripCluster &cluster) const
std::vector< SiStripCluster >::const_iterator endCluster
virtual std::vector< TrajectoryMeasurement > fastMeasurements(const TrajectoryStateOnSurface &stateOnThisDet, const TrajectoryStateOnSurface &startingState, const Propagator &, const MeasurementEstimator &) const
BadStripBlock(const SiStripBadStrip::data &data)
void setBadStripCuts(BadStripCuts cuts)
TkStripMeasurementDet::RecHitContainer buildRecHits(const SiStripClusterRef &, const TrajectoryStateOnSurface <p) const
std::vector< LocalValues > VLocalValues
bool hasAllGoodChannels() const
does this module have at least one bad strip, APV or channel?
edm::LazyGetter< SiStripCluster >::value_ref SiStripRegionalClusterRef
TkStripMeasurementDet(const GeomDet *gdet, const StripClusterParameterEstimator *cpe, bool regional)
std::vector< SiStripCluster >::const_iterator const_iterator
void setActiveThisEvent(bool active)
Turn on/off the module for reconstruction for one events. This per-event flag is cleared by any call ...
std::vector< BadStripBlock > & getBadStripBlocks()
void update(const detset &detSet, const edm::Handle< edmNew::DetSetVector< SiStripCluster > > h, unsigned int id)
void set128StripStatus(bool good, int idx=-1)
Sets the status of a block of 128 strips (or all blocks if idx=-1)
std::vector< BadStripBlock > badStripBlocks_
void setMaskBad128StripBlocks(bool maskThem)
edm::Handle< edmNew::DetSetVector< SiStripCluster > > handle_
const StripGeomDetUnit & specificGeomDet() const
const StripGeomDetUnit * theStripGDU
SiStripRecHit2D::ClusterRef SiStripClusterRef
void setActive(bool active)
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB...
void simpleRecHits(const TrajectoryStateOnSurface &ts, std::vector< SiStripRecHit2D > &result) const
detset::const_iterator new_const_iterator
bool testStrips(float utraj, float uerr) const
return true if there are 'enough' good strips in the utraj +/- 3 uerr range.
bool isActive() const
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'...
unsigned int rawId() const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
edm::Handle< edm::LazyGetter< SiStripCluster > > regionalHandle_
const std::vector< uint8_t > & amplitudes() const
bool hasBadComponents(const TrajectoryStateOnSurface &tsos) const
BadStripCuts badStripCuts_