HGCal Test Beam
03a93d6239a951948e06fb3ef8dae4cbdebfad30
|
#include <HGCalTBDetId.h>
Public Member Functions | |
HGCalTBDetId () | |
HGCalTBDetId (uint32_t rawid) | |
HGCalTBDetId (int lay, int sensor_iu, int sensor_iv, int iu, int iv, int cellType) | |
HGCalTBDetId (const DetId &id) | |
HGCalTBDetId & | operator= (const DetId &id) |
int | iu () const |
get the absolute value of the cell #'s More... | |
int | iv () const |
int | sensorIU () const |
get the sensor # More... | |
int | sensorIV () const |
int | cellType () const |
cell type More... | |
int | layer () const |
get the layer # More... | |
int | zside () const |
get the z-side of the cell (1/-1) More... | |
bool | isHGCal () const |
consistency check : no bits left => no overhead More... | |
bool | isForward () const |
Static Public Attributes | |
static const int | kHGCalTBXOffset = 0 |
static const int | kHGCalTBXMask = 0x1F |
static const int | kHGCalTBXSignMask = 0x20 |
static const int | kHGCalTBVOffset = 6 |
static const int | kHGCalTBVMask = 0x1F |
static const int | kHGCalTBVSignMask = 0x20 |
static const int | kHGCalTBSensorXOffset = 12 |
static const int | kHGCalTBSensorXMask = 0x7 |
static const int | kHGCalTBSensorXSignMask = 0x8 |
static const int | kHGCalTBSensorVOffset = 16 |
static const int | kHGCalTBSensorVMask = 0x7 |
static const int | kHGCalTBSensorVSignMask = 0x8 |
static const int | kHGCalTBCellTypeOffset = 20 |
static const int | kHGCalTBCellTypeMask = 0xF |
static const int | kHGCalLayerOffset = 24 |
static const int | kHGCalLayerMask = 0x7F |
static const int | kHGCalZsideOffset = 31 |
static const int | kHGCalZsideMask = 0x1 |
static const int | kCellTypeStandard = 0 |
static const int | kCellTypeCalibInner = 1 |
static const int | kCellTypeCalibOuter = 2 |
Definition at line 12 of file HGCalTBDetId.h.
HGCalTBDetId::HGCalTBDetId | ( | ) |
Create a null cellid
Definition at line 6 of file HGCalTBDetId.cc.
HGCalTBDetId::HGCalTBDetId | ( | uint32_t | rawid | ) |
Create cellid from raw id (0=invalid tower id)
Definition at line 10 of file HGCalTBDetId.cc.
HGCalTBDetId::HGCalTBDetId | ( | int | lay, |
int | sensor_iu, | ||
int | sensor_iv, | ||
int | iu, | ||
int | iv, | ||
int | cellType | ||
) |
Constructor from layer, sensor_iu, sensor_iv, iu, iv, calibr cell numbers
Definition at line 14 of file HGCalTBDetId.cc.
References kHGCalLayerMask, kHGCalLayerOffset, kHGCalTBCellTypeMask, kHGCalTBCellTypeOffset, kHGCalTBSensorVMask, kHGCalTBSensorVOffset, kHGCalTBSensorVSignMask, kHGCalTBSensorXMask, kHGCalTBSensorXOffset, kHGCalTBSensorXSignMask, kHGCalTBVMask, kHGCalTBVOffset, kHGCalTBVSignMask, kHGCalTBXMask, kHGCalTBXOffset, and kHGCalTBXSignMask.
HGCalTBDetId::HGCalTBDetId | ( | const DetId & | id | ) |
Constructor from a generic cell id
Definition at line 26 of file HGCalTBDetId.cc.
|
inline |
cell type
Definition at line 75 of file HGCalTBDetId.h.
References kHGCalTBCellTypeMask, and kHGCalTBCellTypeOffset.
|
inline |
Definition at line 97 of file HGCalTBDetId.h.
|
inline |
consistency check : no bits left => no overhead
Definition at line 93 of file HGCalTBDetId.h.
|
inline |
get the absolute value of the cell #'s
Definition at line 51 of file HGCalTBDetId.h.
References kHGCalTBXMask, and kHGCalTBXSignMask.
|
inline |
Definition at line 56 of file HGCalTBDetId.h.
References kHGCalTBVMask, kHGCalTBVOffset, and kHGCalTBVSignMask.
|
inline |
get the layer #
Definition at line 81 of file HGCalTBDetId.h.
References kHGCalLayerMask, and kHGCalLayerOffset.
HGCalTBDetId & HGCalTBDetId::operator= | ( | const DetId & | id | ) |
Assignment from a generic cell id
Definition at line 31 of file HGCalTBDetId.cc.
|
inline |
get the sensor #
Definition at line 63 of file HGCalTBDetId.h.
References kHGCalTBSensorXMask, kHGCalTBSensorXOffset, and kHGCalTBSensorXSignMask.
|
inline |
Definition at line 68 of file HGCalTBDetId.h.
References kHGCalTBSensorVMask, kHGCalTBSensorVOffset, and kHGCalTBSensorVSignMask.
|
inline |
get the z-side of the cell (1/-1)
Definition at line 87 of file HGCalTBDetId.h.
References kHGCalZsideMask, and kHGCalZsideOffset.
|
static |
Definition at line 36 of file HGCalTBDetId.h.
Referenced by HGCalTBNumberingScheme::denseIndexFor(), and operator<<().
|
static |
Definition at line 37 of file HGCalTBDetId.h.
Referenced by operator<<().
|
static |
Definition at line 35 of file HGCalTBDetId.h.
|
static |
Definition at line 31 of file HGCalTBDetId.h.
Referenced by HGCalTBDetId(), and layer().
|
static |
Definition at line 30 of file HGCalTBDetId.h.
Referenced by HGCalTBDetId(), and layer().
|
static |
Definition at line 29 of file HGCalTBDetId.h.
Referenced by cellType(), and HGCalTBDetId().
|
static |
Definition at line 28 of file HGCalTBDetId.h.
Referenced by cellType(), and HGCalTBDetId().
|
static |
Definition at line 26 of file HGCalTBDetId.h.
Referenced by HGCalTBDetId(), and sensorIV().
|
static |
Definition at line 25 of file HGCalTBDetId.h.
Referenced by HGCalTBDetId(), and sensorIV().
|
static |
Definition at line 27 of file HGCalTBDetId.h.
Referenced by HGCalTBDetId(), and sensorIV().
|
static |
Definition at line 23 of file HGCalTBDetId.h.
Referenced by HGCalTBDetId(), and sensorIU().
|
static |
Definition at line 22 of file HGCalTBDetId.h.
Referenced by HGCalTBDetId(), and sensorIU().
|
static |
Definition at line 24 of file HGCalTBDetId.h.
Referenced by HGCalTBDetId(), and sensorIU().
|
static |
Definition at line 20 of file HGCalTBDetId.h.
Referenced by HGCalTBDetId(), and iv().
|
static |
Definition at line 19 of file HGCalTBDetId.h.
Referenced by HGCalTBDetId(), and iv().
|
static |
Definition at line 21 of file HGCalTBDetId.h.
Referenced by HGCalTBDetId(), and iv().
|
static |
Definition at line 17 of file HGCalTBDetId.h.
Referenced by HGCalTBDetId(), and iu().
|
static |
Definition at line 16 of file HGCalTBDetId.h.
Referenced by HGCalTBDetId().
|
static |
Definition at line 18 of file HGCalTBDetId.h.
Referenced by HGCalTBDetId(), and iu().
|
static |
Definition at line 33 of file HGCalTBDetId.h.
Referenced by zside().
|
static |
Definition at line 32 of file HGCalTBDetId.h.
Referenced by zside().