11 :
DetId(Forward, subdet) {
17 std::cout <<
"[HGCalDetId] request for new id for" 20 <<
kHGCalCellMask <<
" for subdet=" << subdet <<
" has one or more fields out of bounds and will be reset" 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();
int wafer() const
get the wafer #
static const int kHGCalLayerOffset
static const int kHGCalLayerMask
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 cell() const
get the absolute value of the cell #'s in x and y
HGCalDetId & operator=(const DetId &id)
static const int kHGCalZsideMask
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