Go to the documentation of this file.
16 int waferUsign = (
waferU >= 0) ? 0 : 1;
17 int waferVsign = (
waferV >= 0) ? 0 : 1;
18 int zside = (zp < 0) ? 1 : 0;
32 <<
"Cannot initialize HGCSiliconDetId from " << std::hex <<
gen.rawId() <<
std::dec;
42 <<
"Cannot assign HGCSiliconDetId from " << std::hex <<
gen.rawId() <<
std::dec;
50 return s <<
" HGCSiliconDetId::EE:HE= " <<
id.isEE() <<
":" <<
id.isHE() <<
" type= " <<
id.type()
51 <<
" z= " <<
id.zside() <<
" layer= " <<
id.layer() <<
" wafer(u,v:x,y)= (" <<
id.waferU() <<
","
52 <<
id.waferV() <<
":" <<
id.waferX() <<
"," <<
id.waferY() <<
")"
53 <<
" cell(u,v:x,y)= (" <<
id.cellU() <<
"," <<
id.cellV() <<
":" <<
id.cellX() <<
"," <<
id.cellY() <<
")";
static const int kHGCalWaferUMask
static const int kHGCalCellVMask
static const int kHGCalLayerOffset
static const int kHGCalWaferUOffset
static const int kHGCalWaferUSignMask
int32_t waferU(const int32_t index)
static const int kHGCalCellUMask
std::ostream & operator<<(std::ostream &s, const HGCSiliconDetId &id)
static const int kHGCalTypeMask
static const int kHGCalWaferVMask
int32_t waferV(const int32_t index)
static const int kHGCalWaferVSignOffset
constexpr std::array< uint8_t, layerIndexSize > layer
static const int kHGCalWaferVSignMask
static const int kHGCalZsideOffset
HGCSiliconDetId & operator=(const DetId &id)
static const HGCSiliconDetId Undefined
static const int kHGCalWaferVOffset
static const int kHGCalTypeOffset
int zside() const
get the z-side of the cell (1/-1)
int cellU() const
get the cell #'s in u,v or in x,y
static const int kHGCalLayerMask
static const int kHGCalWaferUSignOffset
Abs< T >::type abs(const T &t)
static const int kHGCalCellVOffset
static const int kHGCalZsideMask
static const int kHGCalCellUOffset
int layer() const
get the layer #