1 #ifndef CSCBadChambers_h 2 #define CSCBadChambers_h 31 const IndexType nschin[32] =
32 { 1,37,73,1, 109,127,0,0, 163,181,0,0, 217,469,0,0,
33 235,271,307,235, 343,361,0,0, 397,415,0,0, 451,505,0,0 };
34 return nschin[(ie - 1)*16 + (is - 1)*4 + ir - 1];
37 IndexType
chamberIndex(IndexType ie, IndexType is, IndexType ir, IndexType ic)
const IndexType startChamberIndexInEndcap(IndexType ie, IndexType is, IndexType ir) const
std::vector< int > chambers
CSCBadChambers(int nch, const std::vector< int > &ch)
bool isInBadChamber(IndexType ichamber) const
Is the chamber with index 'ichamber' flagged as bad?
IndexType chamberIndex(IndexType ie, IndexType is, IndexType ir, IndexType ic) const
std::vector< int > container() const
Return the container of bad chambers.
#define COND_SERIALIZABLE
int numberOfChambers() const
How many bad chambers are there>