1 #ifndef SiStripObjects_SiStripQuality_h
2 #define SiStripObjects_SiStripQuality_h
96 bool IsFiberBad(
const uint32_t& detid,
const short& fiberNb)
const;
97 bool IsApvBad(
const uint32_t& detid,
const short& apvNb)
const;
98 bool IsStripBad(
const uint32_t& detid,
const short& strip)
const;
103 short getBadApvs(
const uint32_t& detid)
const;
122 void compact(
unsigned int&,std::vector<unsigned int>&);
133 void compact(std::vector<unsigned int>&,std::vector<unsigned int>&,
unsigned short&);
134 void subtract(std::vector<unsigned int>&,
const std::vector<unsigned int>&);
135 void subtraction(std::vector<unsigned int>&,
const unsigned int&);
142 void turnOffFeds(
const std::vector<int> & fedsList,
const bool turnOffStrips,
const bool printDebug);
148 const std::vector<int> & activeFedsFromRunInfo,
149 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
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
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 &)
void printDebug(std::stringstream &ss) const
const SiStripQuality operator-(const SiStripQuality &) const
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)
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)
Prints debug output for the active feds comparing the list in RunInfo and FedCabling.
SiStripQuality & operator-=(const SiStripQuality &)
void addNotConnectedConnectionFromCabling()
int nBadStripsOnTheRight(const Range &range, const short &strip) const
void ReduceGranularity(double)