1 #ifndef DataFormats_ForwardDetId_HGCTriggerDetId_H 2 #define DataFormats_ForwardDetId_HGCTriggerDetId_H 1 71 bool isEE()
const {
return true; }
static const uint32_t cell_shift
static const uint32_t cell_mask
static const uint32_t layer_shift
static const uint32_t zside_mask
bool isEE() const
consistency check : no bits left => no overhead
int sector() const
get the sector #
static const uint32_t sector_mask
std::ostream & operator<<(std::ostream &, const HGCTriggerDetId &id)
static const uint32_t layer_mask
static const uint32_t zside_shift
ForwardSubdetector subdet() const
get the subdetector
int zside() const
get the z-side of the cell (1/-1)
int module() const
get the degree module
void setMaskedId(const uint32_t value, const uint32_t &shift, const uint32_t &mask)
static const uint32_t sector_shift
int layer() const
get the layer #
static const uint32_t module_shift
static const uint32_t UndefinedCell()
HGCTriggerDetId & operator=(const DetId &id)
const int getMaskedId(const uint32_t &shift, const uint32_t &mask) const
virtual ~HGCTriggerDetId()
static unsigned int const shift
int cell() const
get the absolute value of the cell #'s in x and y
static const HGCTriggerDetId Undefined
T mod(const T &a, const T &b)
static const uint32_t module_mask