Go to the documentation of this file.
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; }
209 #endif //EcalDetId_EcalScDetId_h not defined
static short xyz2HashedIndex[IX_MAX][IY_MAX][nEndcaps]
uint32_t denseIndex() const
EcalScDetId & operator=(const DetId &id)
static const int IHASHED_MAX
static bool validDetId(int ix, int iy, int iz)
static EcalScDetId unhashIndex(int hi)
static const int SC_PER_EE_CNT
EcalSubdetector subdet() const
static EcalScDetId hashedIndex2DetId[kSizeForDenseIndexing]
static const int nEndcaps
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
static bool validHashIndex(int hi)
static void checkHashedIndexMap()
static bool validDenseIndex(uint32_t din)
static const int IHASHED_MIN
std::ostream & operator<<(std::ostream &s, const EcalScDetId &id)