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
Log< level::Error, false > LogError
int iphi() const
get the tower iphi
int depth() const
get the depth (zero for LHC Run 1, may be nonzero for later runs)
static const int kHcalDepthMask
int ieta() const
get the tower ieta
static const int kHcalPhiMask
static const int kHcalDepthOffset
HcalTrigTowerDetId & operator=(const DetId &id)
static const int kHcalVersOffset
static const HcalTrigTowerDetId Undefined
static const int kHcalZsideMask
std::ostream & operator<<(std::ostream &s, const HcalTrigTowerDetId &id)
int version() const
get the version code for the trigger tower