Go to the documentation of this file. 1 #ifndef HcalCastorDetId_h_included
2 #define HcalCastorDetId_h_included 1
62 int sector()
const {
return ((
id_ >> 4) & 0xF) + 1; }
88 #endif // HcalCastorDetId_h_included
static bool validDetId(Section iSection, bool posEta, int iSector, int iMod)
HcalCastorDetId & operator=(const DetId &id)
static const int SubdetectorId
static HcalCastorDetId detIdFromDenseIndex(uint32_t di)
Section section() const
get the section
int module() const
get the module (1-2 for EM, 1-12 for HAD)
int zside() const
get the z-side of the cell (1/-1)
int sector() const
get the sector (1-16)
void buildMe(Section section, bool true_for_positive_eta, int sector, int module)
std::ostream & operator<<(std::ostream &, const HcalCastorDetId &id)
static bool validDenseIndex(uint32_t din)
uint32_t denseIndex() const