14 ((ieta>0)?(0x2000|((ieta&0x3F)<<7)):(((-ieta)&0x3f)<<7)) |
39 return s <<
"Tower (" <<
id.ieta() <<
"," <<
id.iphi() <<
")";
std::ostream & operator<<(std::ostream &s, const CaloTowerDetId &id)
uint32_t rawId() const
get the raw id
CaloTowerDetId & operator=(const DetId &id)
static const int SubdetId
int iphi() const
get the tower iphi
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
bool null() const
is this a null id ?
int ieta() const
get the tower ieta
Detector det() const
get the detector field from this detid