1 #ifndef DataFormats_BTLDetId_BTLDetId_h 2 #define DataFormats_BTLDetId_BTLDetId_h 81 ( module& kBTLmoduleMask ) << kBTLmoduleOffset |
95 inline int crystal()
const {
return ((
id_>>kBTLCrystalOffset)&kBTLCrystalMask) + 1; }
98 inline int row(
unsigned nrows=16)
const {
103 inline int column(
unsigned nrows=16)
const {
130 #endif // DataFormats_BTLDetId_BTLDetId_h static constexpr int MAX_IETA_BAR
int ieta(CrysLayout lay) const
static const uint32_t kRodRingOffset
static constexpr int MIN_IPHI
static constexpr int kSizeForDenseIndexing
static bool validHashedIndex(uint32_t din)
static constexpr int MIN_ROD
int ietaAbs(CrysLayout lay) const
static constexpr int MIN_HASH
static constexpr uint32_t kBTLmodTypeOffset
static constexpr std::array< int, 4 > kTypeBoundariesReference
constexpr uint32_t rawId() const
get the raw id
static constexpr uint32_t kBTLmodTypeMask
static constexpr int MAX_IPHI_BARZ
static const uint32_t kZsideOffset
static const uint32_t kMTDsubdOffset
Detector identifier base class for the MIP Timing Layer.
static constexpr int MAX_IPHI_BAR
static constexpr int kCrystalsPerROD
static constexpr int kModulesPerRODBarZflat
BTLDetId geographicalId(CrysLayout lay) const
static const uint32_t kRodRingMask
static constexpr int HALF_ROD
static constexpr uint32_t kBTLmoduleOffset
static constexpr int MAX_IETA_TILE
static constexpr int MAX_IPHI_BARZFLAT
static const uint32_t kMTDsubdMask
static constexpr int kCrystalsPerRODBarZflat
static const uint32_t kZsideMask
static constexpr int MAX_IPHI_TILE
static constexpr int MIN_IETA
static constexpr int kCrystalsInPhiBar
static constexpr int MAX_IETA_BARZ
static constexpr std::array< int, 4 > kTypeBoundariesBarZflat
static constexpr int kModulesPerROD
range constants, need two sets for the time being (one for tiles and one for bars) ...
BTLDetId(const DetId &det_id)
int hashedIndex(CrysLayout lay) const
static constexpr int MAX_ROD
BTLDetId(uint32_t zside, uint32_t rod, uint32_t module, uint32_t modtyp, uint32_t crystal)
static constexpr int MAX_HASH
static constexpr int kCrystalsInPhiTile
int iphi(CrysLayout lay) const
BTLDetId getUnhashedIndex(int hi, CrysLayout lay) const
static constexpr int kCrystalsInEtaBar
static constexpr int MAX_IETA_BARZFLAT
static constexpr int kCrystalsInEtaBarZ
std::ostream & operator<<(std::ostream &, const BTLDetId &)
Detector identifier class for the Barrel Timing Layer. The crystal count must start from 0...
static constexpr int kCrystalsInEtaTile
int column(unsigned nrows=16) const
BTLDetId(const uint32_t &raw_id)
static constexpr uint32_t kBTLCrystalOffset
static constexpr int kCrystalsInPhiBarZ
static constexpr uint32_t kBTLmoduleMask
static constexpr uint32_t kBTLCrystalMask
int row(unsigned nrows=16) const