CMS 3D CMS Logo

CSCTriggerNumbering.h
Go to the documentation of this file.
1 #ifndef MuonDetId_CSCTriggerNumbering_h
2 #define MuonDetId_CSCTriggerNumbering_h
3 
13 class CSCDetId;
14 
16 public:
19 
44  static int triggerSectorFromLabels(int station, int ring, int chamber);
45  static int triggerSectorFromLabels(CSCDetId id);
46 
56  static int triggerSubSectorFromLabels(int station, int chamber);
57  static int triggerSubSectorFromLabels(CSCDetId id);
58 
72  static int triggerCscIdFromLabels(int station, int ring, int chamber);
73  static int triggerCscIdFromLabels(CSCDetId id);
74 
87  static int ringFromTriggerLabels(int station, int triggerCSCID);
88 
95  static int chamberFromTriggerLabels(int TriggerSector, int TriggerSubSector, int station, int TriggerCSCID);
96 
104  static int sectorFromTriggerLabels(int TriggerSector, int TriggerSubSector, int station);
105 
110  static int maxTriggerCscId() { return MAX_CSCID; }
111  static int minTriggerCscId() { return MIN_CSCID; }
112  static int maxTriggerSectorId() { return MAX_TRIGSECTOR; }
113  static int minTriggerSectorId() { return MIN_TRIGSECTOR; }
114  static int maxTriggerSubSectorId() { return MAX_TRIGSUBSECTOR; }
115  static int minTriggerSubSectorId() { return MIN_TRIGSUBSECTOR + 1; }
116 
117 private:
118  // Below are counts for trigger based labels.
119 
120  // Max counts for trigger labels.
122 
123  // Min counts for trigger labels. Again, we count from one.
125 };
126 
127 #endif
CSCTriggerNumbering::MIN_CSCID
Definition: CSCTriggerNumbering.h:124
CSCTriggerNumbering::triggerSectorFromLabels
static int triggerSectorFromLabels(int station, int ring, int chamber)
Definition: CSCTriggerNumbering.cc:76
relativeConstraints.station
station
Definition: relativeConstraints.py:67
CSCTriggerNumbering::MIN_TRIGSUBSECTOR
Definition: CSCTriggerNumbering.h:124
CSCTriggerNumbering::MAX_TRIGSUBSECTOR
Definition: CSCTriggerNumbering.h:121
CSCTriggerNumbering::triggerSubSectorFromLabels
static int triggerSubSectorFromLabels(int station, int chamber)
Definition: CSCTriggerNumbering.cc:105
CSCTriggerNumbering::eTrigMaxNum
eTrigMaxNum
Definition: CSCTriggerNumbering.h:121
CSCTriggerNumbering::maxTriggerSectorId
static int maxTriggerSectorId()
Definition: CSCTriggerNumbering.h:112
CSCTriggerNumbering::triggerCscIdFromLabels
static int triggerCscIdFromLabels(int station, int ring, int chamber)
Definition: CSCTriggerNumbering.cc:137
CSCTriggerNumbering
Definition: CSCTriggerNumbering.h:15
CSCTriggerNumbering::MAX_TRIGSECTOR
Definition: CSCTriggerNumbering.h:121
CSCTriggerNumbering::minTriggerCscId
static int minTriggerCscId()
Definition: CSCTriggerNumbering.h:111
CSCTriggerNumbering::minTriggerSubSectorId
static int minTriggerSubSectorId()
Definition: CSCTriggerNumbering.h:115
CSCDetId
Definition: CSCDetId.h:26
CSCTriggerNumbering::eTrigMinNum
eTrigMinNum
Definition: CSCTriggerNumbering.h:124
CSCTriggerNumbering::MIN_TRIGSECTOR
Definition: CSCTriggerNumbering.h:124
CSCTriggerNumbering::minTriggerSectorId
static int minTriggerSectorId()
Definition: CSCTriggerNumbering.h:113
CSCTriggerNumbering::maxTriggerSubSectorId
static int maxTriggerSubSectorId()
Definition: CSCTriggerNumbering.h:114
CSCTriggerNumbering::ringFromTriggerLabels
static int ringFromTriggerLabels(int station, int triggerCSCID)
Definition: CSCTriggerNumbering.cc:5
CSCTriggerNumbering::chamberFromTriggerLabels
static int chamberFromTriggerLabels(int TriggerSector, int TriggerSubSector, int station, int TriggerCSCID)
Definition: CSCTriggerNumbering.cc:30
CSCTriggerNumbering::~CSCTriggerNumbering
~CSCTriggerNumbering()
CSCTriggerNumbering::CSCTriggerNumbering
CSCTriggerNumbering()
CSCTriggerNumbering::MAX_CSCID
Definition: CSCTriggerNumbering.h:121
relativeConstraints.ring
ring
Definition: relativeConstraints.py:68
relativeConstraints.chamber
chamber
Definition: relativeConstraints.py:53
CSCTriggerNumbering::maxTriggerCscId
static int maxTriggerCscId()
Definition: CSCTriggerNumbering.h:110
CSCTriggerNumbering::sectorFromTriggerLabels
static int sectorFromTriggerLabels(int TriggerSector, int TriggerSubSector, int station)
Definition: CSCTriggerNumbering.cc:64