#include <HFNoseDetId.h>
Public Types | |
enum | hfNoseWaferType { HFNoseFine =0, HFNoseCoarseThin =1, HFNoseCoarseThick =2 } |
Public Types inherited from DetId | |
enum | Detector { Tracker =1, Muon =2, Ecal =3, Hcal =4, Calo =5, Forward =6, VeryForward =7, HGCalEE =8, HGCalHSi =9, HGCalHSc =10, HGCalTrigger =11 } |
Public Member Functions | |
int | cellU () const |
get the cell #'s in u,v or in x,y More... | |
std::pair< int, int > | cellUV () const |
int | cellV () const |
int | cellX () const |
std::pair< int, int > | cellXY () const |
int | cellY () const |
HFNoseDetId | geometryCell () const |
HFNoseDetId () | |
HFNoseDetId (uint32_t rawid) | |
HFNoseDetId (int zp, int type, int layer, int waferU, int waferV, int cellU, int cellV) | |
HFNoseDetId (const DetId &id) | |
bool | isEE () const |
consistency check : no bits left => no overhead More... | |
bool | isForward () const |
bool | isHE () const |
int | layer () const |
get the layer # More... | |
HFNoseDetId & | operator= (const DetId &id) |
ForwardSubdetector | subdet () const |
get the subdetector More... | |
int | type () const |
get the type More... | |
int | waferU () const |
int | waferUAbs () const |
get the wafer #'s in u,v or in x,y More... | |
std::pair< int, int > | waferUV () const |
int | waferV () const |
int | waferVAbs () const |
int | waferX () const |
std::pair< int, int > | waferXY () const |
int | waferY () const |
int | zside () const |
get the z-side of the cell (1/-1) More... | |
Public Member Functions inherited from DetId | |
constexpr Detector | det () const |
get the detector field from this detid More... | |
constexpr | DetId () |
Create an empty or null id (also for persistence) More... | |
constexpr | DetId (uint32_t id) |
Create an id from a raw number. More... | |
constexpr | DetId (Detector det, int subdet) |
Create an id, filling the detector and subdetector fields as specified. More... | |
constexpr bool | null () const |
is this a null id ? More... | |
constexpr | operator uint32_t () const |
constexpr bool | operator!= (DetId id) const |
inequality More... | |
constexpr uint32_t | operator() () const |
constexpr bool | operator< (DetId id) const |
comparison More... | |
constexpr bool | operator== (DetId id) const |
equality More... | |
constexpr uint32_t | rawId () const |
get the raw id More... | |
constexpr 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 | HFNoseCoarseN =8 |
static const int | HFNoseCoarseTrigger =2 |
static const int | HFNoseFineN =12 |
static const int | HFNoseFineTrigger =3 |
static const HFNoseDetId | Undefined |
Static Public Attributes inherited from DetId | |
static const int | kDetMask = 0xF |
static const int | kDetOffset = 28 |
static const int | kSubdetMask = 0x7 |
static const int | kSubdetOffset = 25 |
Static Private Attributes | |
static const int | kHFNoseCellUMask = 0x1F |
static const int | kHFNoseCellUOffset = 0 |
static const int | kHFNoseCellVMask = 0x1F |
static const int | kHFNoseCellVOffset = 5 |
static const int | kHFNoseLayerEEmax = 6 |
static const int | kHFNoseLayerMask = 0xF |
static const int | kHFNoseLayerOffset = 18 |
static const int | kHFNoseTypeMask = 0x3 |
static const int | kHFNoseTypeOffset = 23 |
static const int | kHFNoseWaferUMask = 0x7 |
static const int | kHFNoseWaferUOffset = 10 |
static const int | kHFNoseWaferUSignMask = 0x1 |
static const int | kHFNoseWaferUSignOffset = 13 |
static const int | kHFNoseWaferVMask = 0x7 |
static const int | kHFNoseWaferVOffset = 14 |
static const int | kHFNoseWaferVSignMask = 0x1 |
static const int | kHFNoseWaferVSignOffset = 17 |
static const int | kHFNoseZsideMask = 0x1 |
static const int | kHFNoseZsideOffset = 22 |
Additional Inherited Members | |
Protected Attributes inherited from DetId | |
uint32_t | id_ |
Definition at line 23 of file HFNoseDetId.h.
Enumerator | |
---|---|
HFNoseFine | |
HFNoseCoarseThin | |
HFNoseCoarseThick |
Definition at line 27 of file HFNoseDetId.h.
HFNoseDetId::HFNoseDetId | ( | ) |
Create a null cellid
Definition at line 8 of file HFNoseDetId.cc.
Referenced by geometryCell().
HFNoseDetId::HFNoseDetId | ( | uint32_t | rawid | ) |
Create cellid from raw id (0=invalid tower id)
Definition at line 11 of file HFNoseDetId.cc.
HFNoseDetId::HFNoseDetId | ( | int | zp, |
int | type, | ||
int | layer, | ||
int | waferU, | ||
int | waferV, | ||
int | cellU, | ||
int | cellV | ||
) |
Constructor from subdetector, zplus, layer, module, cell numbers
Definition at line 14 of file HFNoseDetId.cc.
References funct::abs(), DetId::id_, kHFNoseCellUMask, kHFNoseCellUOffset, kHFNoseCellVMask, kHFNoseCellVOffset, kHFNoseLayerMask, kHFNoseLayerOffset, kHFNoseTypeMask, kHFNoseTypeOffset, kHFNoseWaferUMask, kHFNoseWaferUOffset, kHFNoseWaferUSignMask, kHFNoseWaferUSignOffset, kHFNoseWaferVMask, kHFNoseWaferVOffset, kHFNoseWaferVSignMask, kHFNoseWaferVSignOffset, kHFNoseZsideMask, kHFNoseZsideOffset, and zside().
HFNoseDetId::HFNoseDetId | ( | const DetId & | id | ) |
Constructor from a generic cell id
Definition at line 32 of file HFNoseDetId.cc.
References TauDecayModes::dec, DetId::det(), Exception, DetId::Forward, HFNose, DetId::id_, createfilelist::int, DetId::null(), DetId::rawId(), and DetId::subdetId().
|
inline |
get the cell #'s in u,v or in x,y
Definition at line 61 of file HFNoseDetId.h.
References DetId::id_, kHFNoseCellUMask, and kHFNoseCellUOffset.
Referenced by cellUV(), and cellY().
|
inline |
Definition at line 63 of file HFNoseDetId.h.
References cellU(), and cellV().
|
inline |
Definition at line 62 of file HFNoseDetId.h.
References DetId::id_, kHFNoseCellVMask, and kHFNoseCellVOffset.
Referenced by cellUV(), cellX(), and cellY().
|
inline |
Definition at line 64 of file HFNoseDetId.h.
References cellV(), HFNoseFine, N, and type().
Referenced by cellXY().
|
inline |
|
inline |
Definition at line 68 of file HFNoseDetId.h.
References cellU(), cellV(), HFNoseFine, N, and type().
Referenced by cellXY().
|
inline |
Converter for a geometry cell id
Definition at line 49 of file HFNoseDetId.h.
References HFNoseDetId(), layer(), waferU(), waferV(), and zside().
Referenced by HGCalGeometry::getGeometryDetId().
|
inline |
consistency check : no bits left => no overhead
Definition at line 85 of file HFNoseDetId.h.
References kHFNoseLayerEEmax, and layer().
|
inline |
Definition at line 87 of file HFNoseDetId.h.
|
inline |
|
inline |
get the layer #
Definition at line 58 of file HFNoseDetId.h.
References DetId::id_, kHFNoseLayerMask, and kHFNoseLayerOffset.
Referenced by HGCalDigiValidation::analyze(), geometryCell(), HGCalGeometry::getSummary(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), isEE(), and isHE().
HFNoseDetId & HFNoseDetId::operator= | ( | const DetId & | id | ) |
Assignment from a generic cell id
Definition at line 41 of file HFNoseDetId.cc.
References TauDecayModes::dec, DetId::det(), Exception, DetId::Forward, HFNose, DetId::id_, createfilelist::int, DetId::null(), DetId::rawId(), and DetId::subdetId().
|
inline |
get the subdetector
Definition at line 46 of file HFNoseDetId.h.
References HFNose.
|
inline |
get the type
Definition at line 52 of file HFNoseDetId.h.
References DetId::id_, kHFNoseTypeMask, and kHFNoseTypeOffset.
Referenced by cellX(), cellY(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and HGCalDDDConstants::waferType().
|
inline |
Definition at line 77 of file HFNoseDetId.h.
References DetId::id_, kHFNoseWaferUSignMask, kHFNoseWaferUSignOffset, and waferUAbs().
Referenced by geometryCell(), waferUV(), and waferX().
|
inline |
get the wafer #'s in u,v or in x,y
Definition at line 75 of file HFNoseDetId.h.
References DetId::id_, kHFNoseWaferUMask, and kHFNoseWaferUOffset.
Referenced by waferU().
|
inline |
Definition at line 79 of file HFNoseDetId.h.
References waferU(), and waferV().
Referenced by HFNoseSD::setDetUnitId().
|
inline |
Definition at line 78 of file HFNoseDetId.h.
References DetId::id_, kHFNoseWaferVSignMask, kHFNoseWaferVSignOffset, and waferVAbs().
Referenced by geometryCell(), waferUV(), waferX(), and waferY().
|
inline |
Definition at line 76 of file HFNoseDetId.h.
References DetId::id_, kHFNoseWaferVMask, and kHFNoseWaferVOffset.
Referenced by waferV().
|
inline |
Definition at line 80 of file HFNoseDetId.h.
References waferU(), and waferV().
Referenced by waferXY().
|
inline |
|
inline |
|
inline |
get the z-side of the cell (1/-1)
Definition at line 55 of file HFNoseDetId.h.
References DetId::id_, kHFNoseZsideMask, and kHFNoseZsideOffset.
Referenced by geometryCell(), and HFNoseDetId().
|
static |
Definition at line 29 of file HFNoseDetId.h.
|
static |
Definition at line 31 of file HFNoseDetId.h.
|
static |
Definition at line 28 of file HFNoseDetId.h.
|
static |
Definition at line 30 of file HFNoseDetId.h.
|
staticprivate |
Definition at line 95 of file HFNoseDetId.h.
Referenced by cellU(), and HFNoseDetId().
|
staticprivate |
Definition at line 94 of file HFNoseDetId.h.
Referenced by cellU(), and HFNoseDetId().
|
staticprivate |
Definition at line 97 of file HFNoseDetId.h.
Referenced by cellV(), and HFNoseDetId().
|
staticprivate |
Definition at line 96 of file HFNoseDetId.h.
Referenced by cellV(), and HFNoseDetId().
|
staticprivate |
Definition at line 93 of file HFNoseDetId.h.
|
staticprivate |
Definition at line 107 of file HFNoseDetId.h.
Referenced by HFNoseDetId(), and layer().
|
staticprivate |
Definition at line 106 of file HFNoseDetId.h.
Referenced by HFNoseDetId(), and layer().
|
staticprivate |
Definition at line 111 of file HFNoseDetId.h.
Referenced by HFNoseDetId(), and type().
|
staticprivate |
Definition at line 110 of file HFNoseDetId.h.
Referenced by HFNoseDetId(), and type().
|
staticprivate |
Definition at line 99 of file HFNoseDetId.h.
Referenced by HFNoseDetId(), and waferUAbs().
|
staticprivate |
Definition at line 98 of file HFNoseDetId.h.
Referenced by HFNoseDetId(), and waferUAbs().
|
staticprivate |
Definition at line 101 of file HFNoseDetId.h.
Referenced by HFNoseDetId(), and waferU().
|
staticprivate |
Definition at line 100 of file HFNoseDetId.h.
Referenced by HFNoseDetId(), and waferU().
|
staticprivate |
Definition at line 103 of file HFNoseDetId.h.
Referenced by HFNoseDetId(), and waferVAbs().
|
staticprivate |
Definition at line 102 of file HFNoseDetId.h.
Referenced by HFNoseDetId(), and waferVAbs().
|
staticprivate |
Definition at line 105 of file HFNoseDetId.h.
Referenced by HFNoseDetId(), and waferV().
|
staticprivate |
Definition at line 104 of file HFNoseDetId.h.
Referenced by HFNoseDetId(), and waferV().
|
staticprivate |
Definition at line 109 of file HFNoseDetId.h.
Referenced by HFNoseDetId(), and zside().
|
staticprivate |
Definition at line 108 of file HFNoseDetId.h.
Referenced by HFNoseDetId(), and zside().
|
static |
Definition at line 89 of file HFNoseDetId.h.