15 int waferUsign = (waferU >= 0) ? 0 : 1;
16 int waferVsign = (waferV >= 0) ? 0 : 1;
17 int zside = (zp < 0) ? 1 : 0;
32 <<
"Cannot initialize HFNoseDetId from " << std::hex << gen.
rawId() <<
std::dec;
49 return s <<
" HFNoseDetId::EE:HE= " <<
id.isEE() <<
":" <<
id.isHE() <<
" type= " <<
id.type() <<
" z= " <<
id.zside()
50 <<
" layer= " <<
id.layer() <<
" wafer(u,v:x,y)= (" <<
id.waferU() <<
"," <<
id.waferV() <<
":"
51 <<
id.waferX() <<
"," <<
id.waferY() <<
")"
52 <<
" cell(u,v:x,y)= (" <<
id.cellU() <<
"," <<
id.cellV() <<
":" <<
id.cellX() <<
"," <<
id.cellY() <<
")";
static const int kHFNoseWaferUOffset
int zside() const
get the z-side of the cell (1/-1)
static const HFNoseDetId Undefined
static const int kHFNoseZsideMask
static const int kHFNoseTypeOffset
int32_t waferU(const int32_t index)
constexpr bool null() const
is this a null id ?
constexpr uint32_t rawId() const
get the raw id
static const int kHFNoseTypeMask
static const int kHFNoseWaferUSignOffset
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static const int kHFNoseCellUMask
constexpr std::array< uint8_t, layerIndexSize > layer
static const int kHFNoseWaferVOffset
static const int kHFNoseWaferUMask
static const int kHFNoseCellVMask
static const int kHFNoseZsideOffset
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
static const int kHFNoseLayerMask
Abs< T >::type abs(const T &t)
static const int kHFNoseCellUOffset
HFNoseDetId & operator=(const DetId &id)
static const int kHFNoseLayerOffset
static const int kHFNoseWaferVSignOffset
static const int kHFNoseWaferUSignMask
int32_t waferV(const int32_t index)
static const int kHFNoseWaferVSignMask
static const int kHFNoseWaferVMask
static const int kHFNoseCellVOffset
constexpr Detector det() const
get the detector field from this detid