14 ((ieta>0)?(0x2000|((ieta&0x3F)<<7)):(((-ieta)&0x3f)<<7)) |
39 return s <<
"Tower (" <<
id.ieta() <<
"," <<
id.iphi() <<
")";
std::ostream & operator<<(std::ostream &out, const ALILine &li)
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 ?
Detector det() const
get the detector field from this detid