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