#include <HcalDcsDetId.h>
Public Types | |
enum | DcsType { HV = 1, BV = 2, CATH = 3, DYN7 = 4, DYN8 = 5, RM_TEMP = 6, CCM_TEMP = 7, CALIB_TEMP = 8, LVTTM_TEMP = 9, TEMP = 10, QPLL_LOCK = 11, STATUS = 12, DCSUNKNOWN = 15, DCS_MAX = 16 } |
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 | |
HcalDcsDetId () | |
HcalDcsDetId (uint32_t rawid) | |
HcalDcsDetId (const DetId &id) | |
HcalDcsDetId (HcalOtherSubdetector subd, int side_or_ring, unsigned int slc, DcsType ty, unsigned int subchan) | |
int | ring () const |
int | slice () const |
int | subchannel () const |
DcsType | type () const |
int | zside () const |
Public Member Functions inherited from HcalOtherDetId | |
HcalOtherDetId (const DetId &id) | |
HcalOtherDetId & | operator= (const DetId &id) |
HcalOtherSubdetector | subdet () const |
get the category 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 Member Functions | |
static DcsType | DcsTypeFromString (const std::string &str) |
static std::string | typeString (DcsType typ) |
Static Public Attributes | |
static const int | maxLinearIndex = 0x16800 |
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 Protected Attributes | |
static unsigned int const | kRingOffset = 17 |
static unsigned int const | kSideOffset = 19 |
static unsigned int const | kSliceOffset = 12 |
static unsigned int const | kSubChannelOffset = 4 |
static unsigned int const | kTypeOffset = 8 |
Additional Inherited Members | |
Protected Member Functions inherited from HcalOtherDetId | |
HcalOtherDetId () | |
HcalOtherDetId (uint32_t rawid) | |
HcalOtherDetId (HcalOtherSubdetector subdet) | |
Constructor from signed ieta, iphi plus composite type and composite data. More... | |
Protected Attributes inherited from DetId | |
uint32_t | id_ |
for use to identify HcalDcsChannels
bit packing [31:28] from DetId to identify detector (Hcal) [27:25] from DetId to identify subdetector (HcalOther) [24:20] other subdet id [19:19] zside +/- [18:17] HO ring (not important in other subdets) [16:12] Slice (phi slice for HB HE, Sector for HO, Quadrant for HF) [11:8] Type from the DCSType list [7:4] sub-channel a number to identify the channel can be from 0 to 15 [3:0] still open
Definition at line 27 of file HcalDcsDetId.h.
Enumerator | |
---|---|
HV | |
BV | |
CATH | |
DYN7 | |
DYN8 | |
RM_TEMP | |
CCM_TEMP | |
CALIB_TEMP | |
LVTTM_TEMP | |
TEMP | |
QPLL_LOCK | |
STATUS | |
DCSUNKNOWN | |
DCS_MAX |
Definition at line 29 of file HcalDcsDetId.h.
HcalDcsDetId::HcalDcsDetId | ( | ) |
Definition at line 5 of file HcalDcsDetId.cc.
HcalDcsDetId::HcalDcsDetId | ( | uint32_t | rawid | ) |
Definition at line 7 of file HcalDcsDetId.cc.
HcalDcsDetId::HcalDcsDetId | ( | const DetId & | id | ) |
Definition at line 9 of file HcalDcsDetId.cc.
References TauDecayModes::dec, Exception, HcalDcsBarrel, HcalDcsEndcap, HcalDcsForward, HcalDcsOuter, DetId::id_, and HcalOtherDetId::subdet().
HcalDcsDetId::HcalDcsDetId | ( | HcalOtherSubdetector | subd, |
int | side_or_ring, | ||
unsigned int | slc, | ||
DcsType | ty, | ||
unsigned int | subchan | ||
) |
Definition at line 16 of file HcalDcsDetId.cc.
References DetId::id_, kRingOffset, kSideOffset, kSliceOffset, kSubChannelOffset, and kTypeOffset.
|
static |
Definition at line 25 of file HcalDcsDetId.cc.
References DCS_MAX, DCSUNKNOWN, HV, and typeString().
Referenced by HcalDbASCIIIO::createObject< HcalElectronicsMap >().
|
inline |
Definition at line 55 of file HcalDcsDetId.h.
References DetId::id_, kRingOffset, and zside().
Referenced by HcalDbASCIIIO::createObject< HcalDcsMap >(), HcalDcsValues::exists(), HcalDcsValues::getValues(), geometryXMLparser.CSCAlignable::index(), HcalDcsMap::lookup(), and HcalDcsMapAddons::Helper::mapGeomId2DcsId().
|
inline |
Definition at line 56 of file HcalDcsDetId.h.
References DetId::id_, and kSliceOffset.
Referenced by HcalDbASCIIIO::createObject< HcalDcsMap >(), HcalDcsMap::lookup(), and HcalDcsMapAddons::Helper::mapGeomId2DcsId().
|
inline |
Definition at line 58 of file HcalDcsDetId.h.
References DetId::id_, and kSubChannelOffset.
Referenced by HcalDbASCIIIO::createObject< HcalDcsMap >(), HcalDcsMap::lookup(), and HcalDcsMapAddons::Helper::mapGeomId2DcsId().
|
inline |
Definition at line 57 of file HcalDcsDetId.h.
References DetId::id_, and kTypeOffset.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputCommands(), operator<<(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties().
|
static |
Definition at line 34 of file HcalDcsDetId.cc.
References BV, CALIB_TEMP, CATH, CCM_TEMP, DYN7, DYN8, HV, LVTTM_TEMP, QPLL_LOCK, RM_TEMP, STATUS, and TEMP.
Referenced by DcsTypeFromString().
|
inline |
Definition at line 54 of file HcalDcsDetId.h.
References DetId::id_, kSideOffset, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by ring().
|
staticprotected |
Definition at line 64 of file HcalDcsDetId.h.
Referenced by HcalDcsDetId(), and ring().
|
staticprotected |
Definition at line 63 of file HcalDcsDetId.h.
Referenced by HcalDcsDetId(), and zside().
|
staticprotected |
Definition at line 65 of file HcalDcsDetId.h.
Referenced by HcalDcsDetId(), and slice().
|
staticprotected |
Definition at line 67 of file HcalDcsDetId.h.
Referenced by HcalDcsDetId(), and subchannel().
|
staticprotected |
Definition at line 66 of file HcalDcsDetId.h.
Referenced by HcalDcsDetId(), and type().
|
static |
Definition at line 60 of file HcalDcsDetId.h.