19 int waferUsign = (waferU >= 0) ? 0 : 1;
20 int waferVsign = (waferV >= 0) ? 0 : 1;
21 int zside = (zp < 0) ? 1 : 0;
53 return s <<
" 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
static const int kHGCalWaferVSignOffset
static const int kHGCalCellUMask
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
uint32_t rawId() const
get the raw id
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
bool null() const
is this a null id ?
static const int kHGCalCellUOffset
static const int kHGCalLayerOffset
std::ostream & operator<<(std::ostream &s, const HGCSiliconDetId &id)
static const int kHGCalWaferUOffset
Detector det() const
get the detector field from this detid
static const int kHGCalWaferUSignOffset