1 #ifndef SiStripObjects_SiStripQuality_h
2 #define SiStripObjects_SiStripQuality_h
74 bool cleanUp(
bool force =
false);
86 bool IsFiberBad(
const uint32_t &detid,
const short &fiberNb)
const;
87 bool IsApvBad(
const uint32_t &detid,
const short &apvNb)
const;
91 const short &
strip)
const;
116 void compact(
unsigned int &, std::vector<unsigned int> &);
124 void compact(std::vector<unsigned int> &, std::vector<unsigned int> &,
unsigned short &);
125 void subtract(std::vector<unsigned int> &,
const std::vector<unsigned int> &);
126 void subtraction(std::vector<unsigned int> &,
const unsigned int &);
137 const uint32_t &detId,
138 const uint32_t &apvPairNumber,
139 std::stringstream &
ss);
143 const std::vector<int> &activeFedsFromRunInfo,
144 const std::vector<int> &differentFeds,
bool IsApvBad(const uint32_t &detid, const short &apvNb) const
bool IsFiberBad(const uint32_t &detid, const short &fiberNb) const
bool cleanUp(bool force=false)
short getBadFibers(const uint32_t &detid) const
const std::vector< BadComponent > & getBadComponentList() const
~SiStripQuality() override=default
void addInvalidConnectionFromCabling()
void add(const uint32_t &, const SiStripBadStrip::Range &)
bool IsStripBad(const uint32_t &detid, const short &strip) const
bool operator()(const BadComponent &p, const uint32_t i) const
void printDetInfo(const TrackerTopology *const tTopo, const uint32_t &detId, const uint32_t &apvPairNumber, std::stringstream &ss)
Prints debug output for a given detId.
SiStripQuality difference(const SiStripQuality &) const
std::vector< BadComponent > BadComponentVect
void printDebug(std::stringstream &ss, const TrackerTopology *trackerTopo) const
static std::string const input
const uint16_t range(const Frame &aFrame)
void subtract(std::vector< unsigned int > &, const std::vector< unsigned int > &)
short getBadApvs(const uint32_t &detid) const
bool IsModuleUsable(const uint32_t &detid) const
void setUseEmptyRunInfo(const bool useEmptyRunInfo)
void compact(unsigned int &, std::vector< unsigned int > &)
const SiStripDetCabling * SiStripDetCabling_
bool IsModuleBad(const uint32_t &detid) const
void setPrintDebugOutput(const bool printDebug)
SiStripDetCabling const * cabling() const
void subtraction(std::vector< unsigned int > &, const unsigned int &)
bool put_replace(const uint32_t &DetId, Range input)
int nBadStripsOnTheLeft(const Range &range, const short &strip) const
std::pair< ContainerIterator, ContainerIterator > Range
void turnOffFeds(const std::vector< int > &fedsList, const bool turnOffStrips, const bool printDebug)
void printActiveFedsInfo(const std::vector< uint16_t > &activeFedsFromCabling, const std::vector< int > &activeFedsFromRunInfo, const std::vector< int > &differentFeds, const bool printDebug)
void addNotConnectedConnectionFromCabling()
int nBadStripsOnTheRight(const Range &range, const short &strip) const
void ReduceGranularity(double)