14 id_|=((ieta>0)?(0x2000|(ieta<<7)):((-ieta)<<7)) |
19 id_|=((depth&0x7)<<14) |
20 ((ieta>0)?(0x2000|(ieta<<7)):((-ieta)<<7)) |
25 id_|=((depth&0x7)<<14) |
26 ((ieta>0)?(0x2000|(ieta<<7)):((-ieta)<<7)) |
28 id_|=((version&0x7)<<17);
39 id_|=((version&0x7)<<17);
51 s <<
"(HcalTrigTower v" <<
id.version() <<
": " <<
id.ieta() <<
',' <<
id.iphi();
52 if (
id.depth()>0) s <<
',' <<
id.depth();
void setVersion(int version)
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