1 #ifndef DATAFORMATS_CALOTOWERS_CALOTOWERDETID_H
2 #define DATAFORMATS_CALOTOWERS_CALOTOWERDETID_H 1
26 int zside()
const {
return (
id_&0x2000)?(1):(-1); }
static bool validDetId(int ie, int ip)
int ietaAbs() const
get the absolute value of the tower ieta
uint32_t denseIndex() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static CaloTowerDetId detIdFromDenseIndex(uint32_t din)
CaloTowerDetId & operator=(const DetId &id)
static const int SubdetId
int iphi() const
get the tower iphi
int zside() const
get the z-side of the tower (1/-1)
static bool validDenseIndex(uint32_t din)
int ieta() const
get the tower ieta