#include <CSCBadChambers.h>
Public Types | |
typedef uint16_t | IndexType |
Public Member Functions | |
IndexType | chamberIndex (IndexType ie, IndexType is, IndexType ir, IndexType ic) const |
std::vector< int > | container () const |
Return the container of bad chambers. More... | |
CSCBadChambers () | |
CSCBadChambers (int nch, const std::vector< int > &ch) | |
bool | isInBadChamber (IndexType ichamber) const |
Is the chamber with index 'ichamber' flagged as bad? More... | |
bool | isInBadChamber (const CSCDetId &id) const |
Is the chamber with CSCDetId 'id' flagged as bad? More... | |
int | numberOfChambers () const |
How many bad chambers are there> More... | |
IndexType | startChamberIndexInEndcap (IndexType ie, IndexType is, IndexType ir) const |
~CSCBadChambers () | |
Private Attributes | |
std::vector< int > | chambers |
COND_SERIALIZABLE | |
int | numberOfBadChambers |
Definition at line 9 of file CSCBadChambers.h.
typedef uint16_t CSCBadChambers::IndexType |
Definition at line 11 of file CSCBadChambers.h.
|
inline |
Definition at line 13 of file CSCBadChambers.h.
|
inline |
Definition at line 14 of file CSCBadChambers.h.
|
inline |
Definition at line 15 of file CSCBadChambers.h.
|
inline |
Definition at line 37 of file CSCBadChambers.h.
References startChamberIndexInEndcap().
Referenced by isInBadChamber().
|
inline |
Return the container of bad chambers.
Definition at line 21 of file CSCBadChambers.h.
References chambers.
bool CSCBadChambers::isInBadChamber | ( | IndexType | ichamber | ) | const |
Is the chamber with index 'ichamber' flagged as bad?
Definition at line 4 of file CSCBadChambers.cc.
References chambers, spr::find(), and numberOfChambers().
Referenced by CSCTriggerPrimitivesBuilder::build(), MuonDetIdAssociator::getValidDetIds(), and isInBadChamber().
bool CSCBadChambers::isInBadChamber | ( | const CSCDetId & | id | ) | const |
Is the chamber with CSCDetId 'id' flagged as bad?
Definition at line 15 of file CSCBadChambers.cc.
References chamberIndex(), Reference_intrackfit_cff::endcap, isInBadChamber(), numberOfChambers(), relativeConstraints::ring, and relativeConstraints::station.
|
inline |
How many bad chambers are there>
Definition at line 18 of file CSCBadChambers.h.
References numberOfBadChambers.
Referenced by isInBadChamber().
|
inline |
|
private |
Definition at line 44 of file CSCBadChambers.h.
Referenced by container(), and isInBadChamber().
|
private |
Definition at line 46 of file CSCBadChambers.h.
|
private |
Definition at line 43 of file CSCBadChambers.h.
Referenced by numberOfChambers().