Go to the documentation of this file. 1 #ifndef StMeasurementDetSet_H
2 #define StMeasurementDetSet_H
23 #include <unordered_map>
29 #define COUT std::cout
31 #define COUT LogDebug("")
70 unsigned int id(
int i)
const {
return id_[
i]; }
124 std::vector<unsigned int>
id_;
209 const_cast<StMeasurementDetSet*>(
this)->getDetSet(
i);
281 COUT <<
"VI detsets " <<
stat.totDet <<
',' <<
stat.detReady <<
',' <<
stat.detSet <<
',' <<
stat.detAct
302 unsigned int id(
int i)
const {
return id_[
i]; }
319 std::vector<unsigned int>
id_;
367 return &(
found->second);
374 found->second.insert(
found->second.end(), positions.begin(), positions.end());
412 unsigned int id(
int i)
const {
return id_[
i]; }
429 std::vector<unsigned int>
id_;
489 #endif // StMeasurementDetSet_H
const edm::Handle< edmNew::DetSetVector< SiStripCluster > > & handle() const
edm::Handle< edmNew::DetSetVector< Phase2TrackerCluster1D > > handle_
Phase2OTMeasurementConditionSet(const ClusterParameterEstimator< Phase2TrackerCluster1D > *cpe)
const PixelClusterParameterEstimator * theCPE
std::vector< std::pair< unsigned int, unsigned int > > stripRegions_
std::vector< unsigned int > id_
bool bad128Strip(int offset) const
note: index is 6*detector index + offset!
const std::vector< uint32_t > & rawInactiveStripDetIds() const
void update(int i, const PixelDetSet &detSet)
uint16_t maxConsecutiveBad
const Phase2OTMeasurementConditionSet * conditionSet_
unsigned int id(int i) const
std::vector< uint32_t > & rawInactiveStripDetIds()
std::vector< bool > hasAny128StripBad_
std::vector< BadStripBlock > const & badStripBlocks(int i) const
std::vector< bool > empty_
int totalStrips(int i) const
const BadFEDChannelPositions * getBadFEDChannelPositions(int i) const
const ClusterParameterEstimator< Phase2TrackerCluster1D > * theCPE
void setActiveThisEvent(bool active)
std::vector< Phase2DetSet > detSet_
int find(unsigned int jd, int i=0) const
std::vector< std::vector< BadStripBlock > > badStripBlocks_
void update(int i, const Phase2DetSet &detSet)
Pixel cluster – collection of neighboring pixels above threshold.
edmNew::DetSet< SiPixelCluster > PixelDetSet
std::vector< int > totalStrips_
const SiStripRecHitMatcher * theMatcher
int find(unsigned int jd, int i=0) const
edm::Handle< edmNew::DetSetVector< SiPixelCluster > > & handle()
int find(unsigned int jd, int i=0) const
const StMeasurementConditionSet * conditionSet_
std::vector< bool > empty_
uint16_t firstStrip() const
std::vector< StripDetset > detSet_
const PixelClusterParameterEstimator * pixelCPE() const
unsigned int id(int i) const
edm::Handle< edmNew::DetSetVector< SiPixelCluster > > handle_
bool isActiveThisPeriod(int i) const
edm::Handle< edmNew::DetSetVector< Phase2TrackerCluster1D > > & handle()
const Phase2DetSet & detSet(int i) const
const BadStripCuts & badStripCuts(int i) const
BadStripCuts badStripCuts_[4]
bool maskBad128StripBlocks() const
const StripClusterParameterEstimator * stripCPE() const
unsigned int id(int i) const
int find(unsigned int jd, int i=0) const
const SiStripRecHitMatcher * matcher() const
std::vector< bool > empty_
std::vector< bool > activeThisPeriod_
std::vector< bool > bad128Strip_
const edm::Handle< edmNew::DetSetVector< SiPixelCluster > > & handle() const
const edm::Handle< edmNew::DetSetVector< Phase2TrackerCluster1D > > & handle() const
bool bad128Strip(int index, int strip) const
std::vector< bool > activeThisEvent_
edm::Handle< edmNew::DetSetVector< SiStripCluster > > handle_
void setActive(int i, bool active)
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB,...
const Phase2OTMeasurementConditionSet & conditions() const
const PxMeasurementConditionSet & conditions() const
void update(int i, int j)
edm::Ref< edmNew::DetSetVector< SiPixelCluster >, SiPixelCluster > SiPixelClusterRef
unsigned int id(int i) const
__host__ constexpr __device__ RandomIt lower_bound(RandomIt first, RandomIt last, const T &value, Compare comp={})
const StripClusterParameterEstimator * theCPE
void setActiveThisEvent(int i, bool active)
std::unordered_map< int, BadFEDChannelPositions > badFEDChannelPositionsSet_
edmNew::DetSet< Phase2TrackerCluster1D > Phase2DetSet
std::vector< bool > stripDefined_
std::vector< bool > activeThisEvent_
std::vector< std::pair< LocalPoint, LocalPoint > > BadFEDChannelPositions
void setMaskBad128StripBlocks(bool maskThem)
std::vector< BadStripBlock > & getBadStripBlocks(int i)
std::vector< unsigned char > subId_
std::vector< bool > activeThisPeriod_
PxMeasurementConditionSet(const PixelClusterParameterEstimator *cpe)
bool hasAny128StripBad(int i) const
Phase2OTMeasurementDetSet(const Phase2OTMeasurementConditionSet &cond)
std::vector< int > detIndex_
BadStripBlock(const SiStripBadStrip::data &data)
const std::vector< uint8_t > & amplitudes() const
std::vector< bool > stripUpdated_
edm::Ref< edmNew::DetSetVector< Phase2TrackerCluster1D >, Phase2TrackerCluster1D > Phase2TrackerCluster1DRef
void defineStrip(int i, std::pair< unsigned int, unsigned int > range)
BadStripCuts(uint32_t iMaxBad, uint32_t iMaxConsecutiveBad)
void resetOnDemandStrips()
std::vector< uint32_t > theRawInactiveStripDetIds_
bool isActiveThisPeriod(int i) const
int find(unsigned int jd, int i=0) const
std::vector< bool > activeThisEvent_
StMeasurementDetSet(const StMeasurementConditionSet &cond)
void addBadFEDChannelPositions(int i, BadFEDChannelPositions &positions)
edmNew::DetSet< SiStripCluster > StripDetset
std::vector< bool > ready_
const PxMeasurementConditionSet * conditionSet_
edm::Handle< edmNew::DetSetVector< SiStripCluster > > & handle()
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 ...
bool isActive(int i) const
StripDetset::const_iterator new_const_iterator
const StMeasurementConditionSet & conditions() const
void setActive(int i, bool active)
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB,...
const ClusterParameterEstimator< Phase2TrackerCluster1D > * cpe() 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 ...
int find(unsigned int jd, int i=0) const
bool isActive(int i) const
StMeasurementConditionSet(const SiStripRecHitMatcher *matcher, const StripClusterParameterEstimator *cpe)
const bool stripDefined(int i) const
std::vector< PixelDetSet > detSet_
unsigned int id(int i) const
PxMeasurementDetSet(const PxMeasurementConditionSet &cond)
char data[epos_bytes_allocation]
bool isMasked(int i, const SiStripCluster &cluster) const
std::vector< bool > activeThisPeriod_
bool isActive(int i) const
const bool stripUpdated(int i) const
void setActiveThisEvent(bool active)
void update(int i, const StripDetset &detSet)
unsigned int id(int i) const
std::vector< unsigned int > id_
void set128StripStatus(int i, bool good, int idx=-1)
std::vector< unsigned int > id_
bool isActiveThisPeriod(int i) const
const StripDetset & detSet(int i) const
const PixelDetSet & detSet(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,...
bool maskBad128StripBlocks_
unsigned char subId(int i) const
const data_type * const_iterator