24 :
DetId(Forward, subdet) {
40 <<
"Cannot initialize HGCTriggerDetId from " << std::hex << gen.
rawId() <<
std::dec;
51 <<
"Cannot assign HGCTriggerDetId from " << std::hex << gen.
rawId() <<
std::dec;
59 switch (
id.subdet()) {
61 return s <<
"isEE=" <<
id.isEE() <<
" zpos=" <<
id.zside() <<
" layer=" <<
id.layer() <<
" module=" <<
id.module()
62 <<
" sector=" <<
id.sector() <<
" cell=" <<
id.cell();
64 return s <<
id.rawId();
constexpr bool null() const
is this a null id ?
static const uint32_t cell_shift
constexpr uint32_t rawId() const
get the raw id
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static const uint32_t cell_mask
static const uint32_t layer_shift
static const uint32_t zside_mask
static const uint32_t sector_mask
static const uint32_t layer_mask
static const uint32_t zside_shift
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
ForwardSubdetector subdet() const
get the subdetector
void setMaskedId(const uint32_t value, const uint32_t &shift, const uint32_t &mask)
static const uint32_t sector_shift
static const uint32_t module_shift
HGCTriggerDetId & operator=(const DetId &id)
static const HGCTriggerDetId Undefined
T mod(const T &a, const T &b)
static const uint32_t module_mask
constexpr Detector det() const
get the detector field from this detid