1 #ifndef TkStripMeasurementDet_H
2 #define TkStripMeasurementDet_H
47 void update( std::vector<SiStripCluster>::const_iterator
begin ,std::vector<SiStripCluster>::const_iterator
end ) {
83 virtual std::vector<TrajectoryMeasurement>
123 bool testStrips(
float utraj,
float uerr)
const;
166 template<
class ClusterRefT>
169 std::vector<SiStripRecHit2D>& res)
const;
186 <<
"\n This must be a new cluster, and therefore should not be skiped most likely.";
virtual ~TkStripMeasurementDet()
StMeasurementDetSet::BadStripCuts BadStripCuts
void update(const detset &detSet)
TkStripMeasurementDet(const GeomDet *gdet, StMeasurementDetSet &dets)
const std::vector< bool > & skipClusters() const
StripDetset & detSet(int i)
void buildSimpleRecHit(const ClusterRefT &cluster, const TrajectoryStateOnSurface <p, std::vector< SiStripRecHit2D > &res) const
edmNew::DetSet< SiStripCluster > detset
edm::Handle< edmNew::DetSetVector< SiStripCluster > > const & handle() const
StripClusterParameterEstimator::VLocalValues VLocalValues
unsigned char subId() const
StripClusterParameterEstimator::LocalValues LocalValues
bool accept(SiStripRegionalClusterRef &r) const
TransientTrackingRecHit::ConstRecHitContainer RecHitContainer
std::vector< BadStripBlock > & getBadStripBlocks(int i)
edm::Handle< edm::LazyGetter< SiStripCluster > > & regionalHandle()
void update(int i, const StripDetset &detSet)
std::vector< bool > & clusterToSkip() const
bool isMasked(int i, const SiStripCluster &cluster) const
BadStripCuts const & badStripCuts() const
data_type const * const_iterator
StMeasurementDetSet * theDets_
StMeasurementDetSet & theDets()
StMeasurementDetSet::BadStripBlock BadStripBlock
void set128StripStatus(int i, bool good, int idx=-1)
virtual RecHitContainer recHits(const TrajectoryStateOnSurface &) const
TransientTrackingRecHit::RecHitPointer buildRecHit(const SiStripClusterRef &, const TrajectoryStateOnSurface <p) const
std::pair< LocalPoint, LocalError > LocalValues
bool isMasked(const SiStripCluster &cluster) const
const StripClusterParameterEstimator * stripCPE() const
unsigned int id(int i) const
const GeomDet & fastGeomDet() const
unsigned int beginClusterI() const
edm::Handle< edm::LazyGetter< SiStripCluster > > const & regionalHandle() const
unsigned int endClusterI() const
virtual std::vector< TrajectoryMeasurement > fastMeasurements(const TrajectoryStateOnSurface &stateOnThisDet, const TrajectoryStateOnSurface &startingState, const Propagator &, const MeasurementEstimator &) const
void setActiveThisEvent(int i, bool active)
Turn on/off the module for reconstruction for one events. This per-event flag is cleared by any call ...
unsigned int endClusterI(int i) const
std::vector< BadStripBlock > const & badStripBlocks() const
unsigned int beginClusterI(int i) const
const detset & theSet() const
TkStripMeasurementDet::RecHitContainer buildRecHits(const SiStripClusterRef &, const TrajectoryStateOnSurface <p) const
std::vector< LocalValues > VLocalValues
void update(std::vector< SiStripCluster >::const_iterator begin, std::vector< SiStripCluster >::const_iterator end)
bool hasAllGoodChannels() const
does this module have at least one bad strip, APV or channel?
bool accept(SiStripClusterRef &r) const
edm::LazyGetter< SiStripCluster >::value_ref SiStripRegionalClusterRef
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 set128StripStatus(bool good, int idx=-1)
Sets the status of a block of 128 strips (or all blocks if idx=-1)
bool maskBad128StripBlocks() const
unsigned char subId(int i) const
key_type key() const
Accessor for product key.
const StripGeomDetUnit & specificGeomDet() const
const detset & detSet() const
bool isActive(int i) const
bool maskBad128StripBlocks() const
int totalStrips(int i) const
const StripClusterParameterEstimator * cpe() const
std::vector< BadStripBlock > const & badStripBlocks(int i) const
void setActive(int i, bool active)
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB...
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
StMeasurementDetSet & theDets() const
bool hasAny128StripBad() const
edm::Handle< edmNew::DetSetVector< SiStripCluster > > & handle()
BadStripCuts & badStripCuts(int i)
bool hasAny128StripBad(int i) const
bool hasBadComponents(const TrajectoryStateOnSurface &tsos) const