1 #ifndef SiStripObjects_SiStripQuality_h
2 #define SiStripObjects_SiStripQuality_h
40 unsigned short BadApvs : 6;
41 unsigned short BadFibers :3;
59 BadComponentVect.clear();
74 void addInvalidConnectionFromCabling();
75 void addNotConnectedConnectionFromCabling();
79 void fillBadComponents();
92 bool IsModuleUsable(
const uint32_t&
detid)
const;
94 bool IsModuleBad(
const uint32_t&
detid)
const;
95 bool IsFiberBad(
const uint32_t&
detid,
const short& fiberNb)
const;
96 bool IsApvBad(
const uint32_t&
detid,
const short& apvNb)
const;
97 bool IsStripBad(
const uint32_t&
detid,
const short& strip)
const;
98 bool IsStripBad(
const Range& range,
const short& strip)
const;
99 int nBadStripsOnTheLeft(
const Range& range,
const short& strip)
const;
100 int nBadStripsOnTheRight(
const Range& range,
const short& strip)
const;
102 short getBadApvs(
const uint32_t&
detid)
const;
110 short getBadFibers(
const uint32_t&
detid)
const;
121 void compact(
unsigned int&,std::vector<unsigned int>&);
132 void compact(std::vector<unsigned int>&,std::vector<unsigned int>&,
unsigned short&);
133 void subtract(std::vector<unsigned int>&,
const std::vector<unsigned int>&);
134 void subtraction(std::vector<unsigned int>&,
const unsigned int&);
141 void turnOffFeds(
const std::vector<int> & fedsList,
const bool turnOffStrips,
const bool printDebug);
144 void printDetInfo(
const uint32_t &detId,
const uint32_t &apvPairNumber, std::stringstream &ss);
146 void printActiveFedsInfo(
const std::vector<uint16_t> & activeFedsFromCabling,
147 const std::vector<int> & activeFedsFromRunInfo,
148 const std::vector<int> & differentFeds,
SiStripDetInfoFileReader * reader
SiStripDetCabling const * cabling() const
MatrixMeschach operator-(const MatrixMeschach &mat1, const MatrixMeschach &mat2)
Basic3DVector & operator-=(const Basic3DVector< U > &p)
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &)
void add(const std::vector< const T * > &source, std::vector< const T * > &dest)
bool operator==(const CaloTower &t1, const CaloTower &t2)
edm::FileInPath FileInPath_
const SiStripDetCabling * SiStripDetCabling_
static std::string const input
edm::FileInPath getFileInPath() const
PixelRecoRange< float > Range
std::vector< BadComponent > BadComponentVect
void cleanUp(const std::string &connectionString, std::set< std::string > exclusionList=std::set< std::string >())
void setUseEmptyRunInfo(const bool useEmptyRunInfo)
const std::vector< BadComponent > & getBadComponentList() const
std::pair< ContainerIterator, ContainerIterator > Range
void setPrintDebugOutput(const bool printDebug)
Basic3DVector & operator+=(const Basic3DVector< U > &p)
Unlimited (trivial) bounds.