1 #ifndef DATAFORMATS_HCALDETID_HCALTRIGTOWERDETID_H
2 #define DATAFORMATS_HCALDETID_HCALTRIGTOWERDETID_H 1
37 int zside()
const {
return (
id_&0x2000)?(1):(-1); }
int zside() const
get the z-side of the tower (1/-1)
HcalSubdetector subdet() const
get the subdetector
std::ostream & operator<<(std::ostream &out, const ALILine &li)
int ieta() const
get the tower ieta
int depth() const
get the depth (zero for LHC, may be nonzero for SuperCMS)
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
HcalTrigTowerDetId & operator=(const DetId &id)
static const HcalTrigTowerDetId Undefined
int ietaAbs() const
get the absolute value of the tower ieta
int iphi() const
get the tower iphi