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