19 int waferUsign = (waferU >= 0) ? 0 : 1;
20 int waferVsign = (waferV >= 0) ? 0 : 1;
21 int zside = (zp < 0) ? 1 : 0;
53 return s <<
" HGCSiliconDetId::EE:HE= " <<
id.isEE() <<
":" <<
id.isHE()
54 <<
" type= " <<
id.type() <<
" z= " <<
id.zside()
55 <<
" layer= " <<
id.layer()
56 <<
" wafer(u,v:x,y)= (" <<
id.waferU() <<
"," <<
id.waferV() <<
":" 57 <<
id.waferX() <<
"," <<
id.waferY() <<
")" 58 <<
" cell(u,v:x,y)= (" <<
id.cellU() <<
"," <<
id.cellV() <<
":" 59 <<
id.cellX() <<
"," <<
id.cellY() <<
")";
static const int kHGCalWaferVOffset
static const int kHGCalTypeMask
constexpr bool null() const
is this a null id ?
static const int kHGCalWaferVSignOffset
static const int kHGCalCellUMask
constexpr uint32_t rawId() const
get the raw id
int zside() const
get the z-side of the cell (1/-1)
static const int kHGCalCellVOffset
int cellU() const
get the cell #'s in u,v or in x,y
static const int kHGCalTypeOffset
static const int kHGCalCellVMask
static const int kHGCalZsideOffset
int layer() const
get the layer #
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
static const int kHGCalCellUOffset
static const int kHGCalLayerOffset
std::ostream & operator<<(std::ostream &s, const HGCSiliconDetId &id)
static const int kHGCalWaferUOffset
static const int kHGCalWaferUSignOffset
constexpr Detector det() const
get the detector field from this detid