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 kHGCalWaferVOffset
static const int kHGCalTypeMask
int32_t waferU(const int32_t index)
static const int kHGCalWaferVSignOffset
int cellU() const
get the cell #'s in u,v or in x,y
static const int kHGCalCellUMask
static const int kHGCalCellVOffset
static const int kHGCalTypeOffset
int layer() const
get the layer #
static const int kHGCalCellVMask
static const int kHGCalZsideOffset
static const HGCSiliconDetId Undefined
Abs< T >::type abs(const T &t)
static const int kHGCalLayerMask
static const int kHGCalWaferVMask
HGCSiliconDetId & operator=(const DetId &id)
static const int kHGCalWaferUSignMask
static const int kHGCalWaferUMask
static const int kHGCalZsideMask
static const int kHGCalWaferVSignMask
int zside() const
get the z-side of the cell (1/-1)
static const int kHGCalCellUOffset
static const int kHGCalLayerOffset
std::ostream & operator<<(std::ostream &s, const HGCSiliconDetId &id)
int32_t waferV(const int32_t index)
static const int kHGCalWaferUOffset
static const int kHGCalWaferUSignOffset