5 #ifndef EcalDetId_EcalScDetId_h
6 #define EcalDetId_EcalScDetId_h
64 int zside()
const {
return (
id_ & 0x4000) ? (1) : (-1); }
70 int ix()
const {
return (
id_ >> 7) & 0x7F; }
76 int iy()
const {
return id_ & 0x7F; }
176 static bool validDetId(
int ix,
int iy,
int iz);
209 #endif //EcalDetId_EcalScDetId_h not defined
static bool validDetId(int ix, int iy, int iz)
EcalSubdetector subdet() const
EcalScDetId & operator=(const DetId &id)
static const int SC_PER_EE_CNT
static const int IHASHED_MAX
static EcalScDetId unhashIndex(int hi)
static EcalScDetId hashedIndex2DetId[kSizeForDenseIndexing]
std::ostream & operator<<(std::ostream &out, const ALILine &li)
uint32_t denseIndex() const
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static const int nEndcaps
static void checkHashedIndexMap()
static bool validHashIndex(int hi)
static bool validDenseIndex(uint32_t din)
static const int IHASHED_MIN
static short xyz2HashedIndex[IX_MAX][IY_MAX][nEndcaps]