#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 Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< int > | chambers |
int | numberOfBadChambers |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
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 35 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(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and numberOfChambers().
Referenced by CSCTriggerPrimitivesBuilder::build(), MuonDetIdAssociator::getValidDetIds(), isInBadChamber(), CSCConditions::isInBadChamber(), and MuonPSimHitSelector::select().
bool CSCBadChambers::isInBadChamber | ( | const CSCDetId & | id | ) | const |
Is the chamber with CSCDetId 'id' flagged as bad?
Definition at line 17 of file CSCBadChambers.cc.
References relativeConstraints::chamber, chamberIndex(), makeMuonMisalignmentScenario::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().
|
private |
|
inline |
|
friend |
Definition at line 43 of file CSCBadChambers.h.
|
friend |
Definition at line 43 of file CSCBadChambers.h.
|
private |
Definition at line 41 of file CSCBadChambers.h.
Referenced by container(), and isInBadChamber().
|
private |
Definition at line 40 of file CSCBadChambers.h.
Referenced by numberOfChambers().