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