15 int waferUsign = (
waferU >= 0) ? 0 : 1;
16 int waferVsign = (
waferV >= 0) ? 0 : 1;
17 int zside = (zp < 0) ? 1 : 0;
35 <<
"Cannot initialize HFNoseDetId from " << std::hex <<
gen.rawId() <<
std::dec;
52 return s <<
" HFNoseDetId::EE:HE= " <<
id.isEE() <<
":" <<
id.isHE() <<
" type= " <<
id.type() <<
" z= " <<
id.zside()
53 <<
" layer= " <<
id.layer() <<
" wafer(u,v:x,y)= (" <<
id.waferU() <<
"," <<
id.waferV() <<
":" 54 <<
id.waferX() <<
"," <<
id.waferY() <<
")" 55 <<
" cell(u,v:x,y)= (" <<
id.cellU() <<
"," <<
id.cellV() <<
":" <<
id.cellX() <<
"," <<
id.cellY() <<
")";
static const int kHFNoseWaferUOffset
static const HFNoseDetId Undefined
int layer() const
get the layer #
static const int kHFNoseZsideMask
static const int kHFNoseTypeOffset
int32_t waferU(const int32_t index)
static const int kHFNoseTypeMask
static const int kHFNoseWaferUSignOffset
static const int kHFNoseCellUMask
static const int kHFNoseWaferVOffset
static const int kHFNoseWaferUMask
std::ostream & operator<<(std::ostream &s, const HFNoseDetId &id)
static const int kHFNoseCellVMask
static const int kHFNoseZsideOffset
static const int kHFNoseLayerMask
Abs< T >::type abs(const T &t)
int cellU() const
get the cell #'s in u,v or in x,y
static const int kHFNoseCellUOffset
HFNoseDetId & operator=(const DetId &id)
static const int kHFNoseLayerOffset
static const int kHFNoseWaferVSignOffset
static const int kHFNoseWaferUSignMask
int32_t waferV(const int32_t index)
static const int kHFNoseWaferVSignMask
static const int kHFNoseWaferVMask
static const int kHFNoseCellVOffset
int zside() const
get the z-side of the cell (1/-1)