1 #ifndef DATAFORMATS_HCALDETID_HCALDETID_H 2 #define DATAFORMATS_HCALDETID_HCALDETID_H 1 50 bool oldFormat()
const {
return ((
id_&kHcalIdFormat2)==0)?(
true):(
false); }
69 static uint32_t
newForm(
const uint32_t&);
90 static void unpackId(
const uint32_t&,
int&,
int&,
int&,
int&);
static const HcalDetId Undefined
HcalDetId & operator=(const DetId &id)
bool sameBaseDetId(const DetId &) const
base detId for HF dual channels
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) ...
static const int kHcalDepthMask1
static const int kHcalDepthSet2
static const int kHcalDepthSet1
uint32_t maskDepth() const
get the tower depth
bool operator!=(DetId id) const
int hfdepth() const
get full depth information for HF
static const int kHcalDepthMask2
int depth() const
get the tower depth
bool operator<(DetId id) const
int crystal_ieta_low() const
get the smallest crystal_ieta of the crystal in front of this tower (HB and HE tower 17 only) ...
std::ostream & operator<<(std::ostream &, const HcalDetId &id)
int ieta() const
get the cell ieta
HcalDetId baseDetId() const
static const int kHcalDepthOffset1
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
void newFromOld(const uint32_t &)
static const int kHcalIdMask
int ietaAbs() const
get the absolute value of the cell ieta
int iphi() const
get the cell iphi
static const int kHcalPhiMask2
uint32_t otherForm() const
change format
static const int kHcalIdFormat2
int crystal_ieta_high() const
get the largest crystal_ieta of the crystal in front of this tower (HB and HE tower 17 only) ...
static const int kHcalZsideMask1
static const int kHcalEtaOffset2
bool operator==(DetId id) const
static const int kHcalZsideMask2
static const int kHcalEtaMask2
int crystal_iphi_high() const
get the largest crystal_iphi of the crystal in front of this tower (HB and HE tower 17 only) ...
static void unpackId(const uint32_t &, int &, int &, int &, int &)
HcalDetId secondAnodeId() const
second PMT anode detId for HF dual channels
static const int kHcalEtaMask1
static const int kHcalPhiMask1
static const int kHcalDepthOffset2
static const int kHcalEtaOffset1