10 id_ |= ((ieta > 0) ? (0x2000 | ((ieta & 0x3F) << 7)) : (((-ieta) & 0x3f) << 7)) | (iphi & 0x7F);
16 <<
"Cannot initialize CaloTowerDetId from " << std::hex << gen.
rawId() <<
std::dec;
24 <<
"Cannot assign CaloTowerDetId from " << std::hex << gen.
rawId() <<
std::dec;
31 int retval =
id_ & 0x7F;
36 return s <<
"Tower (" <<
id.ieta() <<
"," <<
id.iphi() <<
")";
constexpr bool null() const
is this a null id ?
constexpr uint32_t rawId() const
get the raw id
std::ostream & operator<<(std::ostream &out, const ALILine &li)
CaloTowerDetId & operator=(const DetId &id)
static const int SubdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
int iphi() const
get the tower iphi
constexpr Detector det() const
get the detector field from this detid