17 std::cout <<
"[HGCalDetId] request for new id for" 18 <<
" layer=" << lay <<
":" <<
kHGCalLayerMask <<
" @ zp=" << zp <<
" wafer=" << wafer <<
":" 20 <<
kHGCalCellMask <<
" for subdet=" << subdet <<
" has one or more fields out of bounds and will be reset" 23 zp = lay = wafertype = wafer = cell = 0;
47 <<
" Cell " << cell <<
":" << (cell >= 0 && cell <=
kHGCalCellMask) <<
" Wafer " << wafer <<
":" 48 << (wafer >= 0 && wafer <=
kHGCalWaferMask) <<
" WaferType " << wafertype <<
":" 50 <<
" zp " << zp <<
":" << (zp == -1 || zp == 1) << std::endl;
56 return s <<
"HGCalDetId::isHGCal=" <<
id.isHGCal() <<
" subdet= " <<
id.subdetId() <<
" zpos=" <<
id.zside()
57 <<
" layer=" <<
id.layer() <<
" wafer type=" <<
id.waferType() <<
" wafer=" <<
id.wafer()
58 <<
" cell=" <<
id.cell();
static const int kHGCalLayerOffset
static const int kHGCalLayerMask
constexpr uint32_t rawId() const
get the raw id
static const int kHGCalWaferTypeOffset
std::ostream & operator<<(std::ostream &s, const HGCalDetId &id)
static const int kHGCalCellOffset
static const int kHGCalCellMask
static const int kHGCalWaferTypeMask
int wafer() const
get the wafer #
HGCalDetId & operator=(const DetId &id)
static const int kHGCalZsideMask
int cell() const
get the absolute value of the cell #'s in x and y
static const int kHGCalWaferOffset
static bool isValid(ForwardSubdetector subdet, int zp, int lay, int wafertype, int wafer, int cell)
static const int kHGCalZsideOffset
static const int kHGCalWaferMask