14 id_|=((ieta>0)?(0x2000|(ieta<<7)):((-ieta)<<7)) |
19 id_|=((depth&0x7)<<14) |
20 ((ieta>0)?(0x2000|(ieta<<7)):((-ieta)<<7)) |
26 throw cms::Exception(
"Invalid DetId") <<
"Cannot initialize HcalTrigTowerDetId from " << std::hex << gen.
rawId() << std::dec;
33 throw cms::Exception(
"Invalid DetId") <<
"Cannot assign HcalTrigTowerDetId from " << std::hex << gen.
rawId() << std::dec;
40 s <<
"(HcalTrigTower " <<
id.ieta() <<
',' <<
id.iphi();
41 if (
id.depth()>0) s <<
',' <<
id.depth();
std::ostream & operator<<(std::ostream &out, const ALILine &li)
uint32_t rawId() const
get the raw id
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
HcalTrigTowerDetId & operator=(const DetId &id)
bool null() const
is this a null id ?
static const HcalTrigTowerDetId Undefined
Detector det() const
get the detector field from this detid