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();
std::ostream & operator<<(std::ostream &s, const HGCTriggerDetId &id)
static const uint32_t cell_shift
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
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)
int cell() const
get the absolute value of the cell #'s in x and y
static const HGCTriggerDetId Undefined
T mod(const T &a, const T &b)
static const uint32_t module_mask