5 #ifndef EcalDetId_EcalScDetId_h
6 #define EcalDetId_EcalScDetId_h
65 int zside()
const {
return (
id_&0x4000)?(1):(-1); }
71 int ix()
const {
return (
id_>>7)&0x7F; }
77 int iy()
const {
return id_&0x7F; }
177 static bool validDetId(
int ix,
int iy,
int iz) ;
213 #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 CMS_THREAD_SAFE 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 CMS_THREAD_SAFE short xyz2HashedIndex[IX_MAX][IY_MAX][nEndcaps]