Detector identifier class for the Endcap Timing Layer. More...
#include <ETLDetId.h>
Public Member Functions | |
int | discSide () const |
uint32_t | encodeSector (uint32_t &disc, uint32_t &discside, uint32_t §or) const |
ETLDetId () | |
ETLDetId (const DetId &det_id) | |
ETLDetId (const uint32_t &raw_id) | |
ETLDetId (uint32_t zside, uint32_t disc, uint32_t discside, uint32_t sector, uint32_t module, uint32_t modtyp) | |
ETLDetId (uint32_t zside, uint32_t ring, uint32_t module, uint32_t modtyp) | |
ETLDetId | geographicalId () const |
int | modType () const |
int | module () const |
int | nDisc () const |
int | sector () const |
Public Member Functions inherited from MTDDetId | |
MTDDetId () | |
MTDDetId (const DetId &det_id) | |
MTDDetId (const uint32_t &raw_id) | |
MTDDetId (Detector det, int subdet) | |
int | mtdRR () const |
int | mtdSide () const |
int | mtdSubDetector () const |
SubDetector | subDetector () const |
int | zside () const |
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 uint32_t | kETLdiscSideMask = 0x1 |
static const uint32_t | kETLdiscSideOffset = 2 |
static const uint32_t | kETLmodTypeMask = 0x3 |
static const uint32_t | kETLmodTypeOffset = 5 |
static const uint32_t | kETLmoduleMask = 0x1FF |
static const uint32_t | kETLmoduleOffset = 7 |
static const uint32_t | kETLnDiscMask = 0x1 |
static const uint32_t | kETLnDiscOffset = 3 |
constants for the TDR ETL model More... | |
static const uint32_t | kETLsectorMask = 0x3 |
static constexpr int | kETLv1maxModule = 176 |
static constexpr int | kETLv1maxRing = 11 |
static constexpr int | kETLv1nDisc = 1 |
static constexpr int | kETLv4maxModule = 248 |
static constexpr int | kETLv4maxRing = 16 |
static constexpr int | kETLv4nDisc = 2 |
static constexpr uint32_t | kSoff = 4 |
Static Public Attributes inherited from MTDDetId | |
static const uint32_t | kMTDsubdMask = 0x3 |
static const uint32_t | kMTDsubdOffset = 23 |
static const uint32_t | kRodRingMask = 0x3F |
static const uint32_t | kRodRingOffset = 16 |
static const uint32_t | kZsideMask = 0x1 |
static const uint32_t | kZsideOffset = 22 |
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 MTDDetId | |
enum | MTDType { typeUNKNOWN = 0, BTL = 1, ETL = 2 } |
enum | SubDetector { subUNKNOWN = 0, FastTime = 1 } |
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_ |
Detector identifier class for the Endcap Timing Layer.
bit 15-7 : module sequential number bit 6-5 : module type (unused so far)
Definition at line 15 of file ETLDetId.h.
|
inline |
Construct a null id
Definition at line 42 of file ETLDetId.h.
References DetId::id_, MTDDetId::kMTDsubdMask, and MTDDetId::kMTDsubdOffset.
|
inline |
|
inline |
Construct from generic DetId
Definition at line 50 of file ETLDetId.h.
|
inline |
Construct and fill only the det and sub-det fields.
Definition at line 53 of file ETLDetId.h.
References DetId::id_, kETLmodTypeMask, kETLmodTypeOffset, kETLmoduleMask, kETLmoduleOffset, MTDDetId::kMTDsubdMask, MTDDetId::kMTDsubdOffset, MTDDetId::kRodRingMask, MTDDetId::kRodRingOffset, MTDDetId::kZsideMask, MTDDetId::kZsideOffset, relativeConstraints::ring, and MTDDetId::zside().
|
inline |
Definition at line 66 of file ETLDetId.h.
References TtSemiLepEvtBuilder_cfi::disc, encodeSector(), DetId::id_, kETLmodTypeMask, kETLmodTypeOffset, kETLmoduleMask, kETLmoduleOffset, MTDDetId::kMTDsubdMask, MTDDetId::kMTDsubdOffset, MTDDetId::kRodRingMask, MTDDetId::kRodRingOffset, MTDDetId::kZsideMask, MTDDetId::kZsideOffset, sector(), and MTDDetId::zside().
|
inline |
Definition at line 90 of file ETLDetId.h.
References DetId::id_, kETLdiscSideMask, kETLdiscSideOffset, MTDDetId::kRodRingMask, and MTDDetId::kRodRingOffset.
|
inline |
ETL TDR Construct and fill only the det and sub-det fields.
Definition at line 62 of file ETLDetId.h.
References TtSemiLepEvtBuilder_cfi::disc, kSoff, and sector().
Referenced by ETLDetId(), and ETLNumberingScheme::getUnitID().
|
inline |
Definition at line 81 of file ETLDetId.h.
References DetId::id_.
Referenced by EtlDigiHitsValidation::analyze(), EtlLocalRecoValidation::analyze(), and EtlSimHitsValidation::analyze().
|
inline |
Returns ETL module type number.
Definition at line 79 of file ETLDetId.h.
References DetId::id_, kETLmodTypeMask, and kETLmodTypeOffset.
Referenced by ETLDeviceSim::getHitsResponse().
|
inline |
Returns ETL module number.
Definition at line 76 of file ETLDetId.h.
References DetId::id_, kETLmoduleMask, and kETLmoduleOffset.
Referenced by ETLDeviceSim::getHitsResponse().
|
inline |
Definition at line 95 of file ETLDetId.h.
References DetId::id_, kETLnDiscMask, kETLnDiscOffset, MTDDetId::kRodRingMask, and MTDDetId::kRodRingOffset.
|
inline |
Definition at line 87 of file ETLDetId.h.
References DetId::id_, kETLsectorMask, MTDDetId::kRodRingMask, and MTDDetId::kRodRingOffset.
Referenced by encodeSector(), ETLDetId(), and geometryXMLparser.DTAlignable::index().
|
static |
Definition at line 30 of file ETLDetId.h.
Referenced by discSide().
|
static |
Definition at line 29 of file ETLDetId.h.
Referenced by discSide().
|
static |
Definition at line 20 of file ETLDetId.h.
Referenced by ETLDetId(), and modType().
|
static |
Definition at line 19 of file ETLDetId.h.
Referenced by ETLDetId(), and modType().
|
static |
Definition at line 18 of file ETLDetId.h.
Referenced by ETLDetLayerGeometryBuilder::buildLayer(), ETLDetId(), and module().
|
static |
Definition at line 17 of file ETLDetId.h.
Referenced by ETLDetId(), and module().
|
static |
Definition at line 28 of file ETLDetId.h.
Referenced by nDisc().
|
static |
|
static |
Definition at line 31 of file ETLDetId.h.
Referenced by sector().
|
staticconstexpr |
Definition at line 23 of file ETLDetId.h.
Referenced by ETLNumberingScheme::getUnitID().
|
staticconstexpr |
Definition at line 22 of file ETLDetId.h.
Referenced by ETLNumberingScheme::getUnitID().
|
staticconstexpr |
Definition at line 24 of file ETLDetId.h.
|
staticconstexpr |
Definition at line 34 of file ETLDetId.h.
Referenced by ETLNumberingScheme::getUnitID().
|
staticconstexpr |
Definition at line 33 of file ETLDetId.h.
Referenced by ETLNumberingScheme::getUnitID().
|
staticconstexpr |
Definition at line 35 of file ETLDetId.h.
|
staticconstexpr |
Definition at line 37 of file ETLDetId.h.
Referenced by encodeSector().