18 int waferUsign = (waferU >= 0) ? 0 : 1;
19 int waferVsign = (waferV >= 0) ? 0 : 1;
20 int zside = (zp < 0) ? 1 : 0;
52 return s <<
" HFNoseDetId::EE:HE= " <<
id.isEE() <<
":" <<
id.isHE()
53 <<
" type= " <<
id.type() <<
" z= " <<
id.zside()
54 <<
" layer= " <<
id.layer()
55 <<
" wafer(u,v:x,y)= (" <<
id.waferU() <<
"," <<
id.waferV() <<
":" 56 <<
id.waferX() <<
"," <<
id.waferY() <<
")" 57 <<
" cell(u,v:x,y)= (" <<
id.cellU() <<
"," <<
id.cellV() <<
":" 58 <<
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
int cellU() const
get the cell #'s in u,v or in x,y
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
static const int kHFNoseCellUMask
static const int kHFNoseWaferVOffset
static const int kHFNoseWaferUMask
int layer() const
get the layer #
std::ostream & operator<<(std::ostream &s, const HFNoseDetId &id)
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
static const int kHFNoseWaferVSignMask
static const int kHFNoseWaferVMask
static const int kHFNoseCellVOffset
constexpr Detector det() const
get the detector field from this detid