Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:50:42

0001 #ifndef DataFormats_MuonDetId_GEMSubDetId_h
0002 #define DataFormats_MuonDetId_GEMSubDetId_h
0003 
0004 /** \class GEMSubDetId
0005  *
0006  */
0007 
0008 #include <cstdint>
0009 
0010 class GEMSubDetId {
0011 public:
0012   enum class Station { GE0 = 0, ME0 = 0, GE11 = 1, GE21 = 2 };
0013   static Station station(uint16_t st) {
0014     Station returnValue = Station::GE11;
0015     if (st == 0) {
0016       returnValue = Station::ME0;
0017     } else if (st == 2) {
0018       returnValue = Station::GE21;
0019     }
0020     return returnValue;
0021   };
0022 };
0023 
0024 #endif