1 #ifndef DataFormats_ForwardDetId_FastTimeDetId_H 2 #define DataFormats_ForwardDetId_FastTimeDetId_H 1 49 int zside()
const {
return ((((
id_>>kFastTimeZsideOffset)&kFastTimeZsideMask) > 0) ? 1 : -1); }
static const int kFastTimeTypeMask
static const int kFastTimeTypeOffset
int ieta() const
get the absolute value of the cell #'s along x-axis (EC) | z-axis (Barel)
FastTimeDetId & operator=(const DetId &id)
FastTimeDetId geometryCell() const
ForwardSubdetector subdet() const
get the subdetector
static const int kFastTimeZsideMask
static const int kFastTimeCellPhiMask
static const int kFastTimeCellZOffset
int iphi() const
get the absolute value of the cell #'s along y-axis (EC) | phi (Barrel)
int zside() const
get the z-side of the cell (1/-1)
static const FastTimeDetId Undefined
bool isFastTime() const
consistency check : no bits left => no overhead
static const int kFastTimeCellZMask
int type() const
get the type (barrel vs endcap)
static const int kFastTimeZsideOffset
std::ostream & operator<<(std::ostream &, const FastTimeDetId &id)
static const int kFastTimeCellPhiOffset