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 EcalScDetId hashedIndex2DetId[kSizeForDenseIndexing]
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) ...
std::ostream & operator<<(std::ostream &s, const EcalScDetId &id)
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]