1 #ifndef SiStripObjects_SiStripQuality_h 2 #define SiStripObjects_SiStripQuality_h 93 bool IsFiberBad(
const uint32_t &detid,
const short &fiberNb)
const;
94 bool IsApvBad(
const uint32_t &detid,
const short &apvNb)
const;
98 const short &strip)
const;
101 const Range &range,
const short &strip)
const;
104 short getBadApvs(
const uint32_t &detid)
const;
123 void compact(
unsigned int &, std::vector<unsigned int> &);
131 void compact(std::vector<unsigned int> &, std::vector<unsigned int> &,
unsigned short &);
132 void subtract(std::vector<unsigned int> &,
const std::vector<unsigned int> &);
133 void subtraction(std::vector<unsigned int> &,
const unsigned int &);
144 const uint32_t &detId,
145 const uint32_t &apvPairNumber,
146 std::stringstream &ss);
150 const std::vector<int> &activeFedsFromRunInfo,
151 const std::vector<int> &differentFeds,
152 const bool printDebug);
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
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
bool operator!=(const SiStripQuality &) 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.
edm::FileInPath getFileInPath() const
std::vector< BadComponent > BadComponentVect
void printDebug(std::stringstream &ss, const TrackerTopology *trackerTopo) const
static std::string const input
void subtract(std::vector< unsigned int > &, const std::vector< unsigned int > &)
bool operator==(const SiStripQuality &) const
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 &)
SiStripQuality & operator+=(const SiStripQuality &)
const SiStripQuality operator-(const SiStripQuality &) const
bool put_replace(const uint32_t &DetId, Range input)
int nBadStripsOnTheLeft(const Range &range, const short &strip) const
~SiStripQuality() override
std::pair< ContainerIterator, ContainerIterator > Range
void turnOffFeds(const std::vector< int > &fedsList, const bool turnOffStrips, const bool printDebug)
SiStripDetInfoFileReader * reader
edm::FileInPath FileInPath_
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 &)
void addNotConnectedConnectionFromCabling()
int nBadStripsOnTheRight(const Range &range, const short &strip) const
void ReduceGranularity(double)