1 #ifndef SiStripObjects_SiStripQuality_h
2 #define SiStripObjects_SiStripQuality_h
54 LogTrace(
"SiStripQuality") <<
"SiStripQuality destructor" << std::endl;
98 bool IsApvBad(
const uint32_t&
detid,
const short& apvNb)
const;
123 void compact(
unsigned int&,std::vector<unsigned int>&);
130 void compact(std::vector<unsigned int>&,std::vector<unsigned int>&,
unsigned short&);
131 void subtract(std::vector<unsigned int>&,
const std::vector<unsigned int>&);
132 void subtraction(std::vector<unsigned int>&,
const unsigned int&);
139 void turnOffFeds(
const std::vector<int> & fedsList,
const bool turnOffStrips,
const bool printDebug);
142 void printDetInfo(
const uint32_t &detId,
const uint32_t &apvPairNumber, std::stringstream &ss);
145 const std::vector<int> & activeFedsFromRunInfo,
146 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
void printDetInfo(const uint32_t &detId, const uint32_t &apvPairNumber, std::stringstream &ss)
Prints debug output for a given detId.
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
edm::FileInPath getFileInPath() const
std::vector< BadComponent > BadComponentVect
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)
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)