#include <HFNoseTriggerDetId.h>
Public Member Functions | |
std::vector< int > | cellU () const |
std::vector< std::pair< int, int > > | cellUV () const |
std::vector< int > | cellV () const |
HFNoseDetId | geometryCell () const |
HFNoseTriggerDetId () | |
HFNoseTriggerDetId (const DetId &id) | |
HFNoseTriggerDetId (int subdet, int zp, int type, int layer, int waferU, int waferV, int cellU, int cellV) | |
HFNoseTriggerDetId (uint32_t rawid) | |
bool | isEE () const |
consistency check : no bits left => no overhead More... | |
bool | isForward () const |
bool | isHSilicon () const |
int | layer () const |
get the layer # More... | |
HFNoseDetId | moduleId () const |
HFNoseTriggerDetId & | operator= (const DetId &id) |
HGCalTriggerSubdetector | subdet () const |
get the subdetector More... | |
int | triggerCellU () const |
get the cell #'s in u,v or in x,y More... | |
std::pair< int, int > | triggerCellUV () const |
int | triggerCellV () const |
int | triggerCellX () const |
std::pair< int, int > | triggerCellXY () const |
int | triggerCellY () const |
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 (Detector det, int subdet) |
Create an id, filling the detector and subdetector fields as specified. More... | |
constexpr | DetId (uint32_t id) |
Create an id from a raw number. 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 | HFNoseTriggerCell = 4 |
static const int | kHFNoseCellUMask = 0xF |
static const int | kHFNoseCellUOffset = 0 |
static const int | kHFNoseCellVMask = 0xF |
static const int | kHFNoseCellVOffset = 4 |
static const int | kHFNoseLayerMask = 0x1F |
static const int | kHFNoseLayerOffset = 18 |
static const int | kHFNoseMaxEELayer = 6 |
static const int | kHFNoseSubdetMask = 0x3 |
static const int | kHFNoseSubdetOffset = 25 |
static const int | kHFNoseTypeMask = 0x3 |
static const int | kHFNoseTypeOffset = 23 |
static const int | kHFNoseWaferUMask = 0xF |
static const int | kHFNoseWaferUOffset = 8 |
static const int | kHFNoseWaferUSignMask = 0x1 |
static const int | kHFNoseWaferUSignOffset = 12 |
static const int | kHFNoseWaferVMask = 0xF |
static const int | kHFNoseWaferVOffset = 13 |
static const int | kHFNoseWaferVSignMask = 0x1 |
static const int | kHFNoseWaferVSignOffset = 17 |
static const int | kHFNoseZsideMask = 0x1 |
static const int | kHFNoseZsideOffset = 27 |
static const HFNoseTriggerDetId | 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 |
Additional Inherited Members | |
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 } |
Protected Attributes inherited from DetId | |
uint32_t | id_ |
Definition at line 26 of file HFNoseTriggerDetId.h.
HFNoseTriggerDetId::HFNoseTriggerDetId | ( | ) |
HFNoseTriggerDetId::HFNoseTriggerDetId | ( | uint32_t | rawid | ) |
HFNoseTriggerDetId::HFNoseTriggerDetId | ( | int | subdet, |
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 13 of file HFNoseTriggerDetId.cc.
References funct::abs(), cellU(), cellV(), DetId::id_, kHFNoseCellUMask, kHFNoseCellUOffset, kHFNoseCellVMask, kHFNoseCellVOffset, kHFNoseLayerMask, kHFNoseLayerOffset, kHFNoseSubdetMask, kHFNoseSubdetOffset, kHFNoseTypeMask, kHFNoseTypeOffset, kHFNoseWaferUMask, kHFNoseWaferUOffset, kHFNoseWaferUSignMask, kHFNoseWaferUSignOffset, kHFNoseWaferVMask, kHFNoseWaferVOffset, kHFNoseWaferVSignMask, kHFNoseWaferVSignOffset, kHFNoseZsideMask, kHFNoseZsideOffset, layer(), subdet(), waferU(), waferV(), and zside().
HFNoseTriggerDetId::HFNoseTriggerDetId | ( | const DetId & | id | ) |
Constructor from a generic cell id
Definition at line 29 of file HFNoseTriggerDetId.cc.
References TauDecayModes::dec, Exception, HFNoseTrigger, DetId::HGCalTrigger, DetId::id_, and kHFNoseSubdetMask.
std::vector< int > HFNoseTriggerDetId::cellU | ( | ) | const |
Definition at line 73 of file HFNoseTriggerDetId.cc.
References HFNoseDetId::HFNoseCoarseTrigger, HFNoseDetId::HFNoseFine, HFNoseDetId::HFNoseFineTrigger, HFNoseTriggerCell, mps_fire::i, dqmiolumiharvest::j, triggerCellU(), triggerCellV(), and type().
Referenced by cellUV(), HGCalTriggerGeometryV9Imp2::getCellsFromTriggerCell(), HFNoseTriggerDetId(), and triggerCellY().
std::vector< std::pair< int, int > > HFNoseTriggerDetId::cellUV | ( | ) | const |
Definition at line 131 of file HFNoseTriggerDetId.cc.
References cellU(), cellV(), and dqmdumpme::k.
std::vector< int > HFNoseTriggerDetId::cellV | ( | ) | const |
Definition at line 102 of file HFNoseTriggerDetId.cc.
References HFNoseDetId::HFNoseCoarseTrigger, HFNoseDetId::HFNoseFine, HFNoseDetId::HFNoseFineTrigger, HFNoseTriggerCell, mps_fire::i, dqmiolumiharvest::j, triggerCellU(), triggerCellV(), type(), and V0Monitor_cff::v0.
Referenced by cellUV(), HGCalTriggerGeometryV9Imp2::getCellsFromTriggerCell(), HFNoseTriggerDetId(), triggerCellX(), and triggerCellY().
|
inline |
|
inline |
consistency check : no bits left => no overhead
Definition at line 87 of file HFNoseTriggerDetId.h.
References kHFNoseMaxEELayer, and layer().
Referenced by l1t::HGCalClusterT< l1t::HGCalCluster >::hOverE(), and HGCalTriggerTools::isEm().
|
inline |
Definition at line 89 of file HFNoseTriggerDetId.h.
|
inline |
|
inline |
get the layer #
Definition at line 53 of file HFNoseTriggerDetId.h.
References DetId::id_, kHFNoseLayerMask, and kHFNoseLayerOffset.
Referenced by geometryCell(), HGCalTriggerGeometryV9Imp2::getCellsFromTriggerCell(), HGCalTriggerGeometryV9Imp2::getModuleFromTriggerCell(), HFNoseTriggerDetId(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), isEE(), isHSilicon(), HGCalTriggerTools::layer(), HGCalTriggerGeometryV9Imp2::layerWithOffset(), and moduleId().
|
inline |
HFNoseTriggerDetId & HFNoseTriggerDetId::operator= | ( | const DetId & | id | ) |
Assignment from a generic cell id
Definition at line 39 of file HFNoseTriggerDetId.cc.
References TauDecayModes::dec, Exception, HFNoseTrigger, DetId::HGCalTrigger, DetId::id_, and kHFNoseSubdetMask.
|
inline |
get the subdetector
Definition at line 42 of file HFNoseTriggerDetId.h.
References DetId::id_, kHFNoseSubdetMask, and kHFNoseSubdetOffset.
Referenced by HFNoseTriggerDetId().
|
inline |
get the cell #'s in u,v or in x,y
Definition at line 60 of file HFNoseTriggerDetId.h.
References DetId::id_, kHFNoseCellUMask, and kHFNoseCellUOffset.
Referenced by cellU(), cellV(), and triggerCellUV().
|
inline |
|
inline |
Definition at line 61 of file HFNoseTriggerDetId.h.
References DetId::id_, kHFNoseCellVMask, and kHFNoseCellVOffset.
Referenced by cellU(), cellV(), and triggerCellUV().
int HFNoseTriggerDetId::triggerCellX | ( | ) | const |
Definition at line 50 of file HFNoseTriggerDetId.cc.
References cellV(), HFNoseDetId::HFNoseCoarseTrigger, HFNoseDetId::HFNoseFine, HFNoseDetId::HFNoseFineTrigger, HFNoseTriggerCell, N, type(), findQualityFiles::v, and x.
Referenced by triggerCellXY().
|
inline |
int HFNoseTriggerDetId::triggerCellY | ( | ) | const |
Definition at line 61 of file HFNoseTriggerDetId.cc.
References cellU(), cellV(), HFNoseDetId::HFNoseCoarseTrigger, HFNoseDetId::HFNoseFine, HFNoseDetId::HFNoseFineTrigger, HFNoseTriggerCell, dqmdumpme::k, N, type(), and y.
Referenced by triggerCellXY().
|
inline |
get the type
Definition at line 47 of file HFNoseTriggerDetId.h.
References DetId::id_, kHFNoseTypeMask, and kHFNoseTypeOffset.
Referenced by cellU(), cellV(), HGCalTriggerGeometryV9Imp2::getCellsFromTriggerCell(), HGCalTriggerGeometryV9Imp2::getModuleFromTriggerCell(), moduleId(), HGCalTriggerTools::thicknessIndex(), triggerCellX(), and triggerCellY().
|
inline |
Definition at line 70 of file HFNoseTriggerDetId.h.
References DetId::id_, kHFNoseWaferUSignMask, kHFNoseWaferUSignOffset, and waferUAbs().
Referenced by geometryCell(), HGCalTriggerGeometryV9Imp2::getCellsFromTriggerCell(), HGCalTriggerGeometryV9Imp2::getModuleFromTriggerCell(), HFNoseTriggerDetId(), moduleId(), waferUV(), and waferX().
|
inline |
get the wafer #'s in u,v or in x,y
Definition at line 68 of file HFNoseTriggerDetId.h.
References DetId::id_, kHFNoseWaferUMask, and kHFNoseWaferUOffset.
Referenced by waferU().
|
inline |
|
inline |
Definition at line 73 of file HFNoseTriggerDetId.h.
References DetId::id_, kHFNoseWaferVSignMask, kHFNoseWaferVSignOffset, and waferVAbs().
Referenced by geometryCell(), HGCalTriggerGeometryV9Imp2::getCellsFromTriggerCell(), HGCalTriggerGeometryV9Imp2::getModuleFromTriggerCell(), HFNoseTriggerDetId(), moduleId(), waferUV(), waferX(), and waferY().
|
inline |
Definition at line 69 of file HFNoseTriggerDetId.h.
References DetId::id_, kHFNoseWaferVMask, and kHFNoseWaferVOffset.
Referenced by waferV().
|
inline |
|
inline |
|
inline |
|
inline |
get the z-side of the cell (1/-1)
Definition at line 50 of file HFNoseTriggerDetId.h.
References DetId::id_, kHFNoseZsideMask, and kHFNoseZsideOffset.
Referenced by geometryCell(), HGCalTriggerGeometryV9Imp2::getCellsFromTriggerCell(), HGCalTriggerGeometryV9Imp2::getModuleFromTriggerCell(), HFNoseTriggerDetId(), moduleId(), and HGCalTriggerTools::zside().
|
static |
Definition at line 28 of file HFNoseTriggerDetId.h.
Referenced by cellU(), cellV(), triggerCellX(), and triggerCellY().
|
static |
Definition at line 94 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and triggerCellU().
|
static |
Definition at line 93 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and triggerCellU().
|
static |
Definition at line 96 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and triggerCellV().
|
static |
Definition at line 95 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and triggerCellV().
|
static |
Definition at line 106 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and layer().
|
static |
Definition at line 105 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and layer().
|
static |
Definition at line 113 of file HFNoseTriggerDetId.h.
Referenced by isEE(), and isHSilicon().
|
static |
Definition at line 112 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), operator=(), and subdet().
|
static |
Definition at line 111 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and subdet().
|
static |
Definition at line 108 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and type().
|
static |
Definition at line 107 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and type().
|
static |
Definition at line 98 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and waferUAbs().
|
static |
Definition at line 97 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and waferUAbs().
|
static |
Definition at line 100 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and waferU().
|
static |
Definition at line 99 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and waferU().
|
static |
Definition at line 102 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and waferVAbs().
|
static |
Definition at line 101 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and waferVAbs().
|
static |
Definition at line 104 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and waferV().
|
static |
Definition at line 103 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and waferV().
|
static |
Definition at line 110 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and zside().
|
static |
Definition at line 109 of file HFNoseTriggerDetId.h.
Referenced by HFNoseTriggerDetId(), and zside().
|
static |
Definition at line 91 of file HFNoseTriggerDetId.h.