18 const int ones = depth % 10;
19 const int tens = (depth - ones) / 10;
29 edm::LogError(
"HcalTrigTowerDetId") <<
"in its ctor using depth, version larger than 9 (too many of it!)?"
46 <<
"Cannot initialize HcalTrigTowerDetId from " << std::hex << gen.
rawId() <<
std::dec;
56 <<
"Cannot assign HcalTrigTowerDetId from " << std::hex << gen.
rawId() <<
std::dec;
63 s <<
"(HcalTrigTower v" <<
id.version() <<
": " <<
id.ieta() <<
',' <<
id.iphi();
65 s <<
',' <<
id.depth();
static const int kHcalVersMask
void setVersion(int version)
static const int kHcalEtaOffset
constexpr bool null() const
is this a null id ?
constexpr uint32_t rawId() const
get the raw id
Log< level::Error, false > LogError
std::ostream & operator<<(std::ostream &out, const ALILine &li)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static const int kHcalDepthMask
static const int kHcalPhiMask
static const int kHcalDepthOffset
HcalTrigTowerDetId & operator=(const DetId &id)
static const int kHcalVersOffset
int version() const
get the version code for the trigger tower
static const HcalTrigTowerDetId Undefined
static const int kHcalZsideMask
constexpr Detector det() const
get the detector field from this detid