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)
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)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static const int kHGCalCellVOffset
constexpr std::array< uint8_t, layerIndexSize > layer
static const int kHGCalTypeOffset
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
static const int kHGCalCellUOffset
static const int kHGCalLayerOffset
int32_t waferV(const int32_t index)
static const int kHGCalWaferUOffset
static const int kHGCalWaferUSignOffset
constexpr Detector det() const
get the detector field from this detid