1 #ifndef DataFormats_ForwardDetId_HGCSiliconDetId_H 2 #define DataFormats_ForwardDetId_HGCSiliconDetId_H 1 65 return (3*(
cellV()-N)+2);
86 int NT = (
type() ==
HGCalFine) ? HGCalFineTrigger : HGCalCoarseTrigger;
93 int NT = (
type() ==
HGCalFine) ? HGCalFineTrigger : HGCalCoarseTrigger;
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 HGCalFineN
static const int kHGCalCellVOffset
int cellU() const
get the cell #'s in u,v or in x,y
static const int kHGCalTypeOffset
DetId::Detector subdet() const
get the subdetector
HGCSiliconDetId geometryCell() const
static const int kHGCalCellVMask
static const int kHGCalZsideOffset
int type() const
get the type
int layer() const
get the layer #
static const int HGCalCoarseTrigger
static const HGCSiliconDetId Undefined
std::ostream & operator<<(std::ostream &, const HGCSiliconDetId &id)
std::pair< int, int > waferUV() const
static const int HGCalCoarseN
static const int kHGCalLayerMask
bool isEE() const
consistency check : no bits left => no overhead
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
int waferUAbs() const
get the wafer #'s in u,v or in x,y
static const int kHGCalLayerOffset
std::pair< int, int > cellXY() const
std::pair< int, int > triggerCellUV() const
static const int kHGCalWaferUOffset
std::pair< int, int > waferXY() const
static const int HGCalFineTrigger
static const int kHGCalWaferUSignOffset
std::pair< int, int > cellUV() const
constexpr Detector det() const
get the detector field from this detid