CMS 3D CMS Logo

BTLNumberingScheme.h
Go to the documentation of this file.
1 #ifndef BTLNumberingScheme_h
2 #define BTLNumberingScheme_h
3 
6 
8 public:
9  static constexpr uint32_t kBTLcrystalLevel = 9;
10  static constexpr uint32_t kBTLmoduleLevel = 8;
11 
12  static constexpr std::array<uint32_t, BTLDetId::kModulesPerRUV2> negModCopy{
13  {3, 2, 1, 6, 5, 4, 9, 8, 7, 12, 11, 10, 15, 14, 13, 18, 17, 16, 21, 20, 19, 24, 23, 22}};
14 
15  // to temporarily map V3 into V2-like input
16  static constexpr std::array<uint32_t, BTLDetId::kRUPerTypeV2 * BTLDetId::kCrystalTypes> globalru2type{
17  {1, 1, 2, 2, 3, 3}};
18  static constexpr std::array<uint32_t, BTLDetId::kRUPerTypeV2 * BTLDetId::kCrystalTypes> globalru2ru{
19  {1, 2, 1, 2, 1, 2}};
20 
22  ~BTLNumberingScheme() override;
23  uint32_t getUnitID(const MTDBaseNumber& baseNumber) const override;
24 };
25 
26 #endif
~BTLNumberingScheme() override
static constexpr std::array< uint32_t, BTLDetId::kRUPerTypeV2 *BTLDetId::kCrystalTypes > globalru2ru
static constexpr std::array< uint32_t, BTLDetId::kModulesPerRUV2 > negModCopy
static constexpr uint32_t kBTLcrystalLevel
uint32_t getUnitID(const MTDBaseNumber &baseNumber) const override
static constexpr uint32_t kBTLmoduleLevel
static constexpr std::array< uint32_t, BTLDetId::kRUPerTypeV2 *BTLDetId::kCrystalTypes > globalru2type