Go to the documentation of this file. 1 #ifndef SiStripObjects_SiStripQuality_h
2 #define SiStripObjects_SiStripQuality_h
91 bool IsFiberBad(
const uint32_t &detid,
const short &fiberNb)
const;
92 bool IsApvBad(
const uint32_t &detid,
const short &apvNb)
const;
96 const short &
strip)
const;
102 short getBadApvs(
const uint32_t &detid)
const;
121 void compact(
unsigned int &, std::vector<unsigned int> &);
129 void compact(std::vector<unsigned int> &, std::vector<unsigned int> &,
unsigned short &);
130 void subtract(std::vector<unsigned int> &,
const std::vector<unsigned int> &);
131 void subtraction(std::vector<unsigned int> &,
const unsigned int &);
142 const uint32_t &detId,
143 const uint32_t &apvPairNumber,
144 std::stringstream &
ss);
148 const std::vector<int> &activeFedsFromRunInfo,
149 const std::vector<int> &differentFeds,
short getBadApvs(const uint32_t &detid) const
bool operator==(const SiStripQuality &) const
static const std::string input
void add(const uint32_t &, const SiStripBadStrip::Range &)
bool IsModuleBad(const uint32_t &detid) const
bool cleanUp(bool force=false)
bool IsModuleUsable(const uint32_t &detid) const
edm::FileInPath getFileInPath() const
void setUseEmptyRunInfo(const bool useEmptyRunInfo)
void printDetInfo(const TrackerTopology *const tTopo, const uint32_t &detId, const uint32_t &apvPairNumber, std::stringstream &ss)
Prints debug output for a given detId.
std::vector< BadComponent > BadComponentVect
bool IsFiberBad(const uint32_t &detid, const short &fiberNb) const
std::pair< ContainerIterator, ContainerIterator > Range
const std::vector< BadComponent > & getBadComponentList() const
void printDebug(std::stringstream &ss, const TrackerTopology *trackerTopo) const
void compact(unsigned int &, std::vector< unsigned int > &)
void setPrintDebugOutput(const bool printDebug)
bool IsStripBad(const uint32_t &detid, const short &strip) const
SiStripQuality & operator+=(const SiStripQuality &)
int nBadStripsOnTheLeft(const Range &range, const short &strip) const
int nBadStripsOnTheRight(const Range &range, const short &strip) const
short getBadFibers(const uint32_t &detid) const
void subtract(std::vector< unsigned int > &, const std::vector< unsigned int > &)
const SiStripDetCabling * SiStripDetCabling_
void printActiveFedsInfo(const std::vector< uint16_t > &activeFedsFromCabling, const std::vector< int > &activeFedsFromRunInfo, const std::vector< int > &differentFeds, const bool printDebug)
SiStripQuality & operator-=(const SiStripQuality &)
bool put_replace(const uint32_t &DetId, Range input)
void subtraction(std::vector< unsigned int > &, const unsigned int &)
bool operator()(const BadComponent &p, const uint32_t i) const
bool IsApvBad(const uint32_t &detid, const short &apvNb) const
const SiStripQuality operator-(const SiStripQuality &) const
SiStripDetInfoFileReader * reader
void addInvalidConnectionFromCabling()
~SiStripQuality() override
void turnOffFeds(const std::vector< int > &fedsList, const bool turnOffStrips, const bool printDebug)
const SiStripDetCabling * cabling() const
bool operator!=(const SiStripQuality &) const
edm::FileInPath FileInPath_
void ReduceGranularity(double)
void addNotConnectedConnectionFromCabling()