CMS 3D CMS Logo

GEMSubDetId.h
Go to the documentation of this file.
1 #ifndef DataFormats_MuonDetId_GEMSubDetId_h
2 #define DataFormats_MuonDetId_GEMSubDetId_h
3 
8 #include <cstdint>
9 
10 class GEMSubDetId {
11 public:
12  enum class Station { GE0 = 0, ME0 = 0, GE11 = 1, GE21 = 2 };
13  static Station station(uint16_t st) {
14  Station returnValue = Station::GE11;
15  if (st == 0) {
16  returnValue = Station::ME0;
17  } else if (st == 2) {
18  returnValue = Station::GE21;
19  }
20  return returnValue;
21  };
22 };
23 
24 #endif
GEMSubDetId::Station::ME0
GEMSubDetId
Definition: GEMSubDetId.h:10
GEMSubDetId::Station::GE21
GEMSubDetId::Station::GE0
GEMSubDetId::Station
Station
Definition: GEMSubDetId.h:12
GEMSubDetId::station
static Station station(uint16_t st)
Definition: GEMSubDetId.h:13
GEMSubDetId::Station::GE11