1 #ifndef DATAFORMATS_HCALDETID_HCALDETID_H
2 #define DATAFORMATS_HCALDETID_HCALDETID_H 1
34 int zside()
const {
return (
id_&0x2000)?(1):(-1); }
static const HcalDetId Undefined
HcalDetId & operator=(const DetId &id)
HcalSubdetector subdet() const
get the subdetector
int zside() const
get the z-side of the cell (1/-1)
int crystal_iphi_low() const
get the smallest crystal_iphi of the crystal in front of this tower (HB and HE tower 17 only) ...
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static bool validDetId(HcalSubdetector subdet, int tower_ieta, int tower_iphi, int depth)
int depth() const
get the tower depth
static HcalDetId detIdFromDenseIndex(uint32_t di)
int crystal_ieta_low() const
get the smallest crystal_ieta of the crystal in front of this tower (HB and HE tower 17 only) ...
int ieta() const
get the cell ieta
static bool validDenseIndex(uint32_t din)
uint32_t denseIndex() const
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
int ietaAbs() const
get the absolute value of the cell ieta
int iphi() const
get the cell iphi
int crystal_ieta_high() const
get the largest crystal_ieta of the crystal in front of this tower (HB and HE tower 17 only) ...
int crystal_iphi_high() const
get the largest crystal_iphi of the crystal in front of this tower (HB and HE tower 17 only) ...