CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
static int maxTriggerSectorId()
static int minTriggerSectorId()
static int ringFromTriggerLabels(int station, int triggerCSCID)
static int sectorFromTriggerLabels(int TriggerSector, int TriggerSubSector, int station)
static int triggerCscIdFromLabels(int station, int ring, int chamber)
static int triggerSectorFromLabels(int station, int ring, int chamber)
static int minTriggerSubSectorId()
static int triggerSubSectorFromLabels(int station, int chamber)
static int chamberFromTriggerLabels(int TriggerSector, int TriggerSubSector, int station, int TriggerCSCID)
static int maxTriggerSubSectorId()