1 #ifndef DATAFORMATS_HCALDETID_HCALTRIGTOWERDETID_H 2 #define DATAFORMATS_HCALDETID_HCALTRIGTOWERDETID_H 1 static const int kHcalVersMask
void setVersion(int version)
static const int kHcalEtaOffset
std::ostream & operator<<(std::ostream &, const HcalTrigTowerDetId &id)
static const int kHcalEtaMask
int iphi() const
get the tower iphi
int depth() const
get the depth (zero for LHC Run 1, may be nonzero for later runs)
static const int kHcalDepthMask
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
int ieta() const
get the tower ieta
static const int kHcalPhiMask
static const int kHcalDepthOffset
HcalTrigTowerDetId & operator=(const DetId &id)
HcalSubdetector subdet() const
get the subdetector
static const int kHcalVersOffset
int ietaAbs() const
get the absolute value of the tower ieta
static const HcalTrigTowerDetId Undefined
int zside() const
get the z-side of the tower (1/-1)
static const int kHcalZsideMask
int version() const
get the version code for the trigger tower