#include <HGCalTriggerModuleDetId.h>
Public Member Functions | |
int | classId () const |
get the class More... | |
int | eta () const |
get the scintillator panel eta More... | |
HGCalTriggerModuleDetId () | |
HGCalTriggerModuleDetId (uint32_t rawid) | |
HGCalTriggerModuleDetId (HGCalTriggerSubdetector subdet, int zp, int type, int layer, int sector, int moduleU, int moduleV) | |
HGCalTriggerModuleDetId (const DetId &id) | |
bool | isEE () const |
bool | isForward () const |
bool | isHFNose () const |
consistency check : no bits left => no overhead More... | |
bool | isHGCalBackendDetId () const |
bool | isHGCalModuleDetId () const |
bool | isHGCTrigger () const |
bool | isHScintillator () const |
bool | isHSilicon () const |
int | layer () const |
get the layer # More... | |
int | moduleU () const |
get the module U More... | |
int | moduleV () const |
get the module V More... | |
HGCalTriggerModuleDetId & | operator= (const DetId &id) |
int | phi () const |
get the scintillator panel phi More... | |
int | sector () const |
get the sector # More... | |
int | triggerSubdetId () const |
get the trigger sub-detector More... | |
int | type () const |
get the type More... | |
int | zside () const |
get the z-side of the module (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 | kHGCalLayerMask = 0x1F |
static const int | kHGCalLayerOffset = 14 |
static const int | kHGCalModuleUMask = 0xF |
static const int | kHGCalModuleUOffset = 0 |
static const int | kHGCalModuleVMask = 0xF |
static const int | kHGCalModuleVOffset = 4 |
static const int | kHGCalSectorMask = 0x3 |
static const int | kHGCalSectorOffset = 8 |
static const int | kHGCalTriggerClassIdentifierMask = 0x1 |
static const int | kHGCalTriggerClassIdentifierOffset = 24 |
static const int | kHGCalTriggerSubdetMask = 0x3 |
static const int | kHGCalTriggerSubdetOffset = 22 |
static const int | kHGCalTypeMask = 0x3 |
static const int | kHGCalTypeOffset = 19 |
static const int | kHGCalZsideMask = 0x1 |
static const int | kHGCalZsideOffset = 21 |
static const HGCalTriggerModuleDetId | 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 31 of file HGCalTriggerModuleDetId.h.
HGCalTriggerModuleDetId::HGCalTriggerModuleDetId | ( | ) |
Create a null module id
Definition at line 5 of file HGCalTriggerModuleDetId.cc.
HGCalTriggerModuleDetId::HGCalTriggerModuleDetId | ( | uint32_t | rawid | ) |
Create module id from raw id (0=invalid id)
Definition at line 7 of file HGCalTriggerModuleDetId.cc.
HGCalTriggerModuleDetId::HGCalTriggerModuleDetId | ( | HGCalTriggerSubdetector | subdet, |
int | zp, | ||
int | type, | ||
int | layer, | ||
int | sector, | ||
int | moduleU, | ||
int | moduleV | ||
) |
Constructor from subdetector, zplus, type, layer, sector, module numbers
Definition at line 9 of file HGCalTriggerModuleDetId.cc.
References Forward, DetId::id_, kHGCalLayerMask, kHGCalLayerOffset, kHGCalModuleUMask, kHGCalModuleUOffset, kHGCalModuleVMask, kHGCalModuleVOffset, kHGCalSectorMask, kHGCalSectorOffset, kHGCalTriggerClassIdentifierMask, kHGCalTriggerClassIdentifierOffset, kHGCalTriggerSubdetMask, kHGCalTriggerSubdetOffset, kHGCalTypeMask, kHGCalTypeOffset, kHGCalZsideMask, kHGCalZsideOffset, layer(), ModuleDetId, moduleU(), moduleV(), sector(), and zside().
HGCalTriggerModuleDetId::HGCalTriggerModuleDetId | ( | const DetId & | id | ) |
Constructor from a generic det id
Definition at line 23 of file HGCalTriggerModuleDetId.cc.
References TauDecayModes::dec, Exception, DetId::Forward, and DetId::id_.
|
inline |
get the class
Definition at line 49 of file HGCalTriggerModuleDetId.h.
References DetId::id_, kHGCalTriggerClassIdentifierMask, and kHGCalTriggerClassIdentifierOffset.
Referenced by isHGCalBackendDetId(), and isHGCalModuleDetId().
|
inline |
get the scintillator panel eta
Definition at line 70 of file HGCalTriggerModuleDetId.h.
References moduleU().
Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), HGCalTriggerGeometryV9Imp3::getOrderedTriggerCellsFromModule(), HGCalTriggerGeometryV9Imp3::getTriggerCellsFromModule(), Jet.Jet::jetID(), datamodel.Object::p4(), and Jet.Jet::puJetId().
|
inline |
Definition at line 77 of file HGCalTriggerModuleDetId.h.
References HGCalEETrigger, and triggerSubdetId().
Referenced by HGCalTriggerTools::isEm().
|
inline |
Definition at line 80 of file HGCalTriggerModuleDetId.h.
|
inline |
consistency check : no bits left => no overhead
Definition at line 76 of file HGCalTriggerModuleDetId.h.
References HFNoseTrigger, and triggerSubdetId().
|
inline |
Definition at line 83 of file HGCalTriggerModuleDetId.h.
References BackendDetId, and classId().
|
inline |
Definition at line 82 of file HGCalTriggerModuleDetId.h.
References classId(), and ModuleDetId.
|
inline |
Definition at line 81 of file HGCalTriggerModuleDetId.h.
|
inline |
Definition at line 79 of file HGCalTriggerModuleDetId.h.
References HGCalHScTrigger, and triggerSubdetId().
|
inline |
Definition at line 78 of file HGCalTriggerModuleDetId.h.
References HGCalHSiTrigger, and triggerSubdetId().
|
inline |
get the layer #
Definition at line 58 of file HGCalTriggerModuleDetId.h.
References DetId::id_, kHGCalLayerMask, and kHGCalLayerOffset.
Referenced by HGCalTriggerGeometryV9Imp3::getLinksInModule(), HGCalTriggerGeometryV9Imp3::getOrderedTriggerCellsFromModule(), HGCalTriggerGeometryV9Imp3::getTriggerCellsFromModule(), HGCalTriggerModuleDetId(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), HGCalTriggerTools::layer(), and HGCalTriggerGeometryV9Imp3::layerWithOffset().
|
inline |
get the module U
Definition at line 64 of file HGCalTriggerModuleDetId.h.
References DetId::id_, kHGCalModuleUMask, and kHGCalModuleUOffset.
Referenced by eta(), HGCalTriggerGeometryV9Imp3::getLinksInModule(), HGCalTriggerGeometryV9Imp3::getOrderedTriggerCellsFromModule(), HGCalTriggerGeometryV9Imp3::getTriggerCellsFromModule(), and HGCalTriggerModuleDetId().
|
inline |
get the module V
Definition at line 67 of file HGCalTriggerModuleDetId.h.
References DetId::id_, kHGCalModuleVMask, and kHGCalModuleVOffset.
Referenced by HGCalTriggerGeometryV9Imp3::getLinksInModule(), HGCalTriggerGeometryV9Imp3::getOrderedTriggerCellsFromModule(), HGCalTriggerGeometryV9Imp3::getTriggerCellsFromModule(), HGCalTriggerModuleDetId(), and phi().
HGCalTriggerModuleDetId & HGCalTriggerModuleDetId::operator= | ( | const DetId & | id | ) |
Assignment from a generic det id
Definition at line 33 of file HGCalTriggerModuleDetId.cc.
References TauDecayModes::dec, Exception, DetId::Forward, and DetId::id_.
|
inline |
get the scintillator panel phi
Definition at line 73 of file HGCalTriggerModuleDetId.h.
References moduleV().
Referenced by Particle.Particle::__str__(), datamodel.Object::DeltaR(), HGCalTriggerGeometryV9Imp3::getOrderedTriggerCellsFromModule(), HGCalTriggerGeometryV9Imp3::getTriggerCellsFromModule(), datamodel.Object::p4(), and ntupleDataFormat.Track::phiPull().
|
inline |
get the sector #
Definition at line 61 of file HGCalTriggerModuleDetId.h.
References DetId::id_, kHGCalSectorMask, and kHGCalSectorOffset.
Referenced by HGCalTriggerGeometryV9Imp3::getOrderedTriggerCellsFromModule(), HGCalTriggerGeometryV9Imp3::getTriggerCellsFromModule(), HGCalTriggerModuleDetId(), and geometryXMLparser.DTAlignable::index().
|
inline |
get the trigger sub-detector
Definition at line 46 of file HGCalTriggerModuleDetId.h.
References DetId::id_, kHGCalTriggerSubdetMask, and kHGCalTriggerSubdetOffset.
Referenced by HGCalTriggerGeometryV9Imp3::getLinksInModule(), HGCalTriggerGeometryV9Imp3::getModulePosition(), HGCalTriggerGeometryV9Imp3::getOrderedTriggerCellsFromModule(), HGCalTriggerGeometryV9Imp3::getTriggerCellsFromModule(), isEE(), isHFNose(), isHScintillator(), isHSilicon(), HGCalTriggerTools::isSilicon(), and HGCalTriggerGeometryV9Imp3::layerWithOffset().
|
inline |
get the type
Definition at line 52 of file HGCalTriggerModuleDetId.h.
References DetId::id_, kHGCalTypeMask, and kHGCalTypeOffset.
Referenced by HGCalTriggerGeometryV9Imp3::getOrderedTriggerCellsFromModule(), HGCalTriggerGeometryV9Imp3::getTriggerCellsFromModule(), and HGCalTriggerTools::thicknessIndex().
|
inline |
get the z-side of the module (1/-1)
Definition at line 55 of file HGCalTriggerModuleDetId.h.
References DetId::id_, kHGCalZsideMask, and kHGCalZsideOffset.
Referenced by HGCalTriggerGeometryV9Imp3::getOrderedTriggerCellsFromModule(), HGCalTriggerGeometryV9Imp3::getTriggerCellsFromModule(), HGCalTriggerModuleDetId(), and HGCalTriggerTools::zside().
|
static |
Definition at line 94 of file HGCalTriggerModuleDetId.h.
Referenced by HGCalTriggerModuleDetId(), layer(), HGCalTriggerTowerGeometryHelper::packLayerSubdetWaferId(), HGCalTriggerGeometryV9Imp3::packLayerSubdetWaferId(), and HGCalTriggerGeometryV9Imp3::unpackLayerSubdetWaferId().
|
static |
Definition at line 93 of file HGCalTriggerModuleDetId.h.
Referenced by HGCalTriggerModuleDetId(), layer(), HGCalTriggerTowerGeometryHelper::packLayerSubdetWaferId(), HGCalTriggerGeometryV9Imp3::packLayerSubdetWaferId(), and HGCalTriggerGeometryV9Imp3::unpackLayerSubdetWaferId().
|
static |
Definition at line 88 of file HGCalTriggerModuleDetId.h.
Referenced by HGCalTriggerModuleDetId(), moduleU(), HGCalTriggerTowerGeometryHelper::packLayerSubdetWaferId(), HGCalTriggerGeometryV9Imp3::packLayerSubdetWaferId(), and HGCalTriggerGeometryV9Imp3::unpackLayerSubdetWaferId().
|
static |
Definition at line 87 of file HGCalTriggerModuleDetId.h.
Referenced by HGCalTriggerModuleDetId(), moduleU(), HGCalTriggerTowerGeometryHelper::packLayerSubdetWaferId(), HGCalTriggerGeometryV9Imp3::packLayerSubdetWaferId(), and HGCalTriggerGeometryV9Imp3::unpackLayerSubdetWaferId().
|
static |
Definition at line 90 of file HGCalTriggerModuleDetId.h.
Referenced by HGCalTriggerModuleDetId(), moduleV(), HGCalTriggerTowerGeometryHelper::packLayerSubdetWaferId(), HGCalTriggerGeometryV9Imp3::packLayerSubdetWaferId(), and HGCalTriggerGeometryV9Imp3::unpackLayerSubdetWaferId().
|
static |
Definition at line 89 of file HGCalTriggerModuleDetId.h.
Referenced by HGCalTriggerModuleDetId(), moduleV(), HGCalTriggerTowerGeometryHelper::packLayerSubdetWaferId(), HGCalTriggerGeometryV9Imp3::packLayerSubdetWaferId(), and HGCalTriggerGeometryV9Imp3::unpackLayerSubdetWaferId().
|
static |
Definition at line 92 of file HGCalTriggerModuleDetId.h.
Referenced by HGCalTriggerModuleDetId(), and sector().
|
static |
Definition at line 91 of file HGCalTriggerModuleDetId.h.
Referenced by HGCalTriggerModuleDetId(), and sector().
|
static |
Definition at line 102 of file HGCalTriggerModuleDetId.h.
Referenced by classId(), and HGCalTriggerModuleDetId().
|
static |
Definition at line 101 of file HGCalTriggerModuleDetId.h.
Referenced by classId(), and HGCalTriggerModuleDetId().
|
static |
|
static |
|
static |
Definition at line 96 of file HGCalTriggerModuleDetId.h.
Referenced by HGCalTriggerModuleDetId(), and type().
|
static |
Definition at line 95 of file HGCalTriggerModuleDetId.h.
Referenced by HGCalTriggerModuleDetId(), and type().
|
static |
Definition at line 98 of file HGCalTriggerModuleDetId.h.
Referenced by HGCalTriggerModuleDetId(), and zside().
|
static |
Definition at line 97 of file HGCalTriggerModuleDetId.h.
Referenced by HGCalTriggerModuleDetId(), and zside().
|
static |
Definition at line 85 of file HGCalTriggerModuleDetId.h.