test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
17  public:
18 
21 
46  static int triggerSectorFromLabels(int station, int ring, int chamber);
47  static int triggerSectorFromLabels(CSCDetId id);
48 
58  static int triggerSubSectorFromLabels(int station, int chamber);
59  static int triggerSubSectorFromLabels(CSCDetId id);
60 
74  static int triggerCscIdFromLabels(int station, int ring, int chamber);
75  static int triggerCscIdFromLabels(CSCDetId id);
76 
89  static int ringFromTriggerLabels(int station, int triggerCSCID);
90 
97  static int chamberFromTriggerLabels(int TriggerSector, int TriggerSubSector, int station, int TriggerCSCID);
98 
106  static int sectorFromTriggerLabels(int TriggerSector, int TriggerSubSector, int station);
107 
112  static int maxTriggerCscId() { return MAX_CSCID; }
113  static int minTriggerCscId() { return MIN_CSCID; }
114  static int maxTriggerSectorId() { return MAX_TRIGSECTOR; }
115  static int minTriggerSectorId() { return MIN_TRIGSECTOR; }
116  static int maxTriggerSubSectorId() { return MAX_TRIGSUBSECTOR; }
117  static int minTriggerSubSectorId() { return MIN_TRIGSUBSECTOR+1; }
118 
119  private:
120 
121  // Below are counts for trigger based labels.
122 
123  // Max counts for trigger labels.
125 
126  // Min counts for trigger labels. Again, we count from one.
128 };
129 
130 #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()