6 #ifndef EcalDetId_EcalScDetId_h
7 #define EcalDetId_EcalScDetId_h
66 int zside()
const {
return (
id_&0x4000)?(1):(-1); }
72 int ix()
const {
return (
id_>>7)&0x7F; }
78 int iy()
const {
return id_&0x7F; }
178 static bool validDetId(
int ix,
int iy,
int iz) ;
210 #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
static const int nEndcaps
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
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]