#include <HGCalTowerID.h>
Public Member Functions | |
HGCalTowerID () | |
HGCalTowerID (uint32_t rawId) | |
HGCalTowerID (short subdetIsNode, short zside, unsigned short coord1, unsigned short coord2) | |
unsigned short | iEta () const |
unsigned short | iPhi () const |
unsigned short | rawId () const |
short | subdet () const |
short | zside () const |
Static Public Attributes | |
static const int | coord1Shift = 7 |
static const int | coord2Shift = 0 |
static const int | coordMask = 0x007F |
static const int | subDetMask = 0x1 |
static const int | subDetShift = 16 |
static const int | zsideMask = 0x1 |
static const int | zsideShift = 15 |
Private Attributes | |
uint32_t | rawId_ |
Definition at line 10 of file HGCalTowerID.h.
|
inline |
Definition at line 12 of file HGCalTowerID.h.
|
inline |
Definition at line 14 of file HGCalTowerID.h.
|
inline |
Definition at line 16 of file HGCalTowerID.h.
References coord1Shift, coord2Shift, coordMask, rawId_, subDetMask, subDetShift, zside(), zsideMask, and zsideShift.
|
inline |
|
inline |
|
inline |
Definition at line 29 of file HGCalTowerID.h.
References rawId_.
Referenced by HGCalTriggerTowerGeometryHelper::getTriggerTower(), HGCalTriggerTowerGeometryHelper::getTriggerTowerFromEtaPhi(), and l1t::HGCalTower::operator+=().
|
inline |
|
inline |
Definition at line 23 of file HGCalTowerID.h.
References rawId_, zsideMask, and zsideShift.
Referenced by HGCalTowerID(), and l1t::HGCalTower::zside().
|
static |
Definition at line 36 of file HGCalTowerID.h.
Referenced by HGCalTowerID(), iEta(), HGCalTriggerTowerGeometryHelper::packTowerIDandShare(), and HGCalTriggerTowerGeometryHelper::unpackTowerIDandShare().
|
static |
Definition at line 37 of file HGCalTowerID.h.
Referenced by HGCalTowerID(), iPhi(), HGCalTriggerTowerGeometryHelper::packTowerIDandShare(), and HGCalTriggerTowerGeometryHelper::unpackTowerIDandShare().
|
static |
Definition at line 35 of file HGCalTowerID.h.
Referenced by HGCalTowerID(), iEta(), iPhi(), HGCalTriggerTowerGeometryHelper::packTowerIDandShare(), and HGCalTriggerTowerGeometryHelper::unpackTowerIDandShare().
|
private |
Definition at line 40 of file HGCalTowerID.h.
Referenced by HGCalTowerID(), iEta(), iPhi(), rawId(), subdet(), and zside().
|
static |
Definition at line 31 of file HGCalTowerID.h.
Referenced by HGCalTowerID(), and subdet().
|
static |
Definition at line 32 of file HGCalTowerID.h.
Referenced by HGCalTowerID(), and subdet().
|
static |
Definition at line 33 of file HGCalTowerID.h.
Referenced by HGCalTowerID(), and zside().
|
static |
Definition at line 34 of file HGCalTowerID.h.
Referenced by HGCalTowerID(), and zside().