CMS 3D CMS Logo

TotemT2ScintNumberingScheme.cc
Go to the documentation of this file.
2 
3 uint32_t TotemT2ScintNumberingScheme::packID(const int& zside, const int& layer, const int& iphi) {
4  uint32_t id = (((layer & kTotemT2LayerMask) << kTotemT2LayerOffset) | ((zside > 0) ? kTotemT2ZsideMask : 0) |
6  return id;
7 }
static constexpr uint32_t kTotemT2ZsideMask
static uint32_t packID(const int &zside, const int &layer, const int &iphi)
static constexpr uint32_t kTotemT2LayerOffset
int zside(DetId const &)
static int iphi(const uint32_t &id)
static int zside(const uint32_t &id)
static int layer(const uint32_t &id)
static constexpr uint32_t kTotemT2LayerMask
static constexpr uint32_t kTotemT2PhiMask