1 #ifndef StMeasurementDetSet_H
2 #define StMeasurementDetSet_H
42 maxBad(pset.getParameter<uint32_t>(
"maxBad")),
60 void init(std::vector<TkStripMeasurementDet> & stripDets);
72 void update(
int i, std::vector<SiStripCluster>::const_iterator
begin ,std::vector<SiStripCluster>::const_iterator
end) {
87 unsigned int id(
int i)
const {
return id_[
i]; }
90 int find(
unsigned int jd,
int i=0) {
91 return std::lower_bound(
id_.begin()+
i,
id_.end(),jd)-
id_.begin();
175 std::vector<unsigned int>
id_;
203 #endif // StMeasurementDetSet_H
StripDetset & detSet(int i)
const SiStripRecHitMatcher * matcher() const
const StripClusterParameterEstimator * theCPE
std::vector< bool > activeThisPeriod_
std::vector< BadStripBlock > & getBadStripBlocks(int i)
edm::Handle< edm::LazyGetter< SiStripCluster > > & regionalHandle()
std::vector< unsigned int > id_
void update(int i, const StripDetset &detSet)
std::vector< bool > & clusterToSkip() const
bool isMasked(int i, const SiStripCluster &cluster) const
StripDetset::const_iterator new_const_iterator
uint16_t firstStrip() const
data_type const * const_iterator
void set128StripStatus(int i, bool good, int idx=-1)
uint16_t maxConsecutiveBad
BadStripBlock(const SiStripBadStrip::data &data)
std::vector< bool > bad128Strip_
const StripClusterParameterEstimator * stripCPE() const
unsigned int id(int i) const
edmNew::DetSet< SiStripCluster > StripDetset
BadStripCuts badStripCuts_[4]
std::vector< bool > hasAny128StripBad_
std::vector< std::vector< BadStripBlock > > badStripBlocks_
void initializeStripStatus(const SiStripQuality *quality, int qualityFlags, int qualityDebugFlags, edm::ParameterSet cutPset)
edm::LazyGetter< SiStripCluster > LazyGetter
const SiStripRecHitMatcher * theMatcher
edm::Handle< edm::LazyGetter< SiStripCluster > > regionalHandle_
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< unsigned int > clusterI_
unsigned int beginClusterI(int i) const
std::vector< unsigned char > subId_
StMeasurementDetSet(const SiStripRecHitMatcher *matcher, const StripClusterParameterEstimator *cpe, bool regional)
unsigned int offset(bool)
int find(unsigned int jd, int i=0)
std::vector< SiStripCluster >::const_iterator const_iterator
void setMaskBad128StripBlocks(bool maskThem)
std::vector< bool > empty_
bool maskBad128StripBlocks_
bool maskBad128StripBlocks() const
unsigned char subId(int i) const
bool isActive(int i) const
edm::Handle< edmNew::DetSetVector< SiStripCluster > > handle_
int totalStrips(int i) const
std::vector< BadStripBlock > const & badStripBlocks(int i) const
void setLazyGetter(edm::Handle< LazyGetter > const &lg)
std::vector< int > totalStrips_
void setActive(int i, bool active)
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB...
char data[epos_bytes_allocation]
std::vector< StripDetset > detSet_
std::vector< bool > activeThisEvent_
void update(int i, std::vector< SiStripCluster >::const_iterator begin, std::vector< SiStripCluster >::const_iterator end)
edm::Handle< edmNew::DetSetVector< SiStripCluster > > & handle()
std::vector< bool > theStripsToSkip
BadStripCuts(const edm::ParameterSet &pset)
BadStripCuts & badStripCuts(int i)
void init(std::vector< TkStripMeasurementDet > &stripDets)
bool hasAny128StripBad(int i) const
const std::vector< uint8_t > & amplitudes() const
edm::RefGetter< SiStripCluster > RefGetter