#include <FastTimeDetId.h>
Public Types | |
enum | { Subdet =FastTime } |
Public Types inherited from DetId | |
enum | Detector { Tracker =1, Muon =2, Ecal =3, Hcal =4, Calo =5, Forward =6 } |
Public Member Functions | |
FastTimeDetId () | |
FastTimeDetId (uint32_t rawid) | |
FastTimeDetId (int module_ix, int module_iy, int iz) | |
FastTimeDetId (const DetId &id) | |
FastTimeDetId | geometryCell () const |
bool | isFastTime () const |
consistency check : no bits left => no overhead More... | |
bool | isForward () const |
int | ix () const |
get the absolute value of the cell #'s along x-axis More... | |
int | iy () const |
get the absolute value of the cell #'s along y-axis More... | |
FastTimeDetId & | operator= (const DetId &id) |
ForwardSubdetector | subdet () const |
get the subdetector More... | |
int | zside () const |
get the z-side of the cell (1/-1) More... | |
Public Member Functions inherited from DetId | |
Detector | det () const |
get the detector field from this detid More... | |
DetId () | |
Create an empty or null id (also for persistence) More... | |
DetId (uint32_t id) | |
Create an id from a raw number. More... | |
DetId (Detector det, int subdet) | |
Create an id, filling the detector and subdetector fields as specified. More... | |
bool | null () const |
is this a null id ? More... | |
operator uint32_t () const | |
bool | operator!= (DetId id) const |
inequality More... | |
uint32_t | operator() () const |
bool | operator< (DetId id) const |
comparison More... | |
bool | operator== (DetId id) const |
equality More... | |
uint32_t | rawId () const |
get the raw id More... | |
int | subdetId () const |
get the contents of the subdetector field (not cast into any detector's numbering enum) More... | |
Static Public Attributes | |
static const int | kFastTimeCellXMask = 0xFF |
static const int | kFastTimeCellXOffset = 8 |
static const int | kFastTimeCellYMask = 0xFFF |
static const int | kFastTimeCellYOffset = 0 |
static const int | kFastTimeZsideMask = 0x10000 |
static const FastTimeDetId | Undefined |
Static Public Attributes inherited from DetId | |
static const int | kDetOffset = 28 |
static const int | kSubdetOffset = 25 |
Additional Inherited Members | |
Protected Attributes inherited from DetId | |
uint32_t | id_ |
Definition at line 9 of file FastTimeDetId.h.
anonymous enum |
Enumerator | |
---|---|
Subdet |
Definition at line 16 of file FastTimeDetId.h.
FastTimeDetId::FastTimeDetId | ( | ) |
FastTimeDetId::FastTimeDetId | ( | uint32_t | rawid | ) |
FastTimeDetId::FastTimeDetId | ( | int | module_ix, |
int | module_iy, | ||
int | iz | ||
) |
Constructor from subdetector, zplus, cell numbers along x and y axes
Definition at line 12 of file FastTimeDetId.cc.
References DetId::id_, kFastTimeCellXMask, kFastTimeCellXOffset, kFastTimeCellYMask, and kFastTimeCellYOffset.
FastTimeDetId::FastTimeDetId | ( | const DetId & | id | ) |
Constructor from a generic cell id
Definition at line 18 of file FastTimeDetId.cc.
References TauDecayModes::dec, DetId::det(), Exception, FastTime, DetId::Forward, DetId::id_, DetId::null(), DetId::rawId(), subdet(), and DetId::subdetId().
|
inline |
Converter for a geometry cell id
Definition at line 29 of file FastTimeDetId.h.
References FastTimeDetId(), and zside().
|
inline |
consistency check : no bits left => no overhead
Definition at line 44 of file FastTimeDetId.h.
|
inline |
Definition at line 45 of file FastTimeDetId.h.
|
inline |
get the absolute value of the cell #'s along x-axis
Definition at line 35 of file FastTimeDetId.h.
References DetId::id_, kFastTimeCellXMask, and kFastTimeCellXOffset.
|
inline |
get the absolute value of the cell #'s along y-axis
Definition at line 38 of file FastTimeDetId.h.
References DetId::id_, kFastTimeCellYMask, and kFastTimeCellYOffset.
FastTimeDetId & FastTimeDetId::operator= | ( | const DetId & | id | ) |
Assignment from a generic cell id
Definition at line 28 of file FastTimeDetId.cc.
References TauDecayModes::dec, DetId::det(), Exception, FastTime, DetId::Forward, DetId::id_, DetId::null(), DetId::rawId(), subdet(), and DetId::subdetId().
|
inline |
get the subdetector
Definition at line 32 of file FastTimeDetId.h.
References FastTime.
Referenced by FastTimeDetId(), and operator=().
|
inline |
get the z-side of the cell (1/-1)
Definition at line 41 of file FastTimeDetId.h.
References DetId::id_, and kFastTimeZsideMask.
Referenced by geometryCell().
|
static |
Definition at line 12 of file FastTimeDetId.h.
Referenced by FastTimeDetId(), and ix().
|
static |
Definition at line 11 of file FastTimeDetId.h.
Referenced by FastTimeDetId(), and ix().
|
static |
Definition at line 14 of file FastTimeDetId.h.
Referenced by FastTimeDetId(), and iy().
|
static |
Definition at line 13 of file FastTimeDetId.h.
Referenced by FastTimeDetId(), and iy().
|
static |
Definition at line 15 of file FastTimeDetId.h.
Referenced by zside().
|
static |
Definition at line 47 of file FastTimeDetId.h.