1 #ifndef DataFormats_ForwardDetId_HFNoseDetId_H 2 #define DataFormats_ForwardDetId_HFNoseDetId_H 1 63 return (3 * (
cellV() - N) + 2);
88 int NT = (
type() ==
HFNoseFine) ? HFNoseFineTrigger : HFNoseCoarseTrigger;
95 int NT = (
type() ==
HFNoseFine) ? HFNoseFineTrigger : HFNoseCoarseTrigger;
std::ostream & operator<<(std::ostream &, const HFNoseDetId &id)
static const int kHFNoseWaferUOffset
static const int HFNoseCoarseN
int zside() const
get the z-side of the cell (1/-1)
static const HFNoseDetId Undefined
static const int HFNoseCoarseTrigger
int type() const
get the type
std::pair< int, int > waferXY() const
static const int kHFNoseZsideMask
static const int kHFNoseTypeOffset
int cellU() const
get the cell #'s in u,v or in x,y
bool isEE() const
consistency check : no bits left => no overhead
static const int kHFNoseTypeMask
static const int kHFNoseWaferUSignOffset
std::pair< int, int > cellXY() const
HFNoseDetId geometryCell() const
std::pair< int, int > triggerCellUV() const
static const int kHFNoseCellUMask
static const int kHFNoseLayerEEmax
static const int kHFNoseWaferVOffset
static const int HFNoseFineN
static const int HFNoseFineTrigger
static const int kHFNoseWaferUMask
int layer() const
get the layer #
static const int kHFNoseCellVMask
std::pair< int, int > cellUV() const
static const int kHFNoseZsideOffset
static const int kHFNoseLayerMask
HFNoseDetId moduleId() const
static const int kHFNoseCellUOffset
HFNoseDetId & operator=(const DetId &id)
static const int kHFNoseLayerOffset
static const int kHFNoseWaferVSignOffset
std::pair< int, int > waferUV() const
static const int kHFNoseWaferUSignMask
ForwardSubdetector subdet() const
get the subdetector
static const int kHFNoseWaferVSignMask
static const int kHFNoseWaferVMask
static const int kHFNoseCellVOffset
int waferUAbs() const
get the wafer #'s in u,v or in x,y