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