#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 } |
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 | |
Detector | det () const |
get the detector field from this detid More... | |
DetId () | |
Create an empty or null id (also for persistence) More... | |
DetId (uint32_t id) | |
Create an id from a raw number. More... | |
DetId (Detector det, int subdet) | |
Create an id, filling the detector and subdetector fields as specified. More... | |
bool | null () const |
is this a null id ? More... | |
operator uint32_t () const | |
bool | operator!= (DetId id) const |
inequality More... | |
uint32_t | operator() () const |
bool | operator< (DetId id) const |
comparison More... | |
bool | operator== (DetId id) const |
equality More... | |
uint32_t | rawId () const |
get the raw id More... | |
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 | kDetOffset = 28 |
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 30 of file HcalDcsDetId.h.
HcalDcsDetId::HcalDcsDetId | ( | ) |
Definition at line 5 of file HcalDcsDetId.cc.
HcalDcsDetId::HcalDcsDetId | ( | uint32_t | rawid | ) |
Definition at line 8 of file HcalDcsDetId.cc.
HcalDcsDetId::HcalDcsDetId | ( | const DetId & | id | ) |
Definition at line 11 of file HcalDcsDetId.cc.
References edm::hlt::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 21 of file HcalDcsDetId.cc.
References DetId::id_, kRingOffset, kSideOffset, kSliceOffset, kSubChannelOffset, and kTypeOffset.
|
static |
Definition at line 31 of file HcalDcsDetId.cc.
References DCS_MAX, DCSUNKNOWN, HV, and typeString().
|
inline |
Definition at line 46 of file HcalDcsDetId.h.
References DetId::id_, kRingOffset, and zside().
Referenced by HcalDcsValues::exists(), HcalDcsValues::getValues(), geometryXMLparser.CSCAlignable::index(), HcalDcsMap::lookup(), and HcalDcsMap::mapGeomId2DcsId().
|
inline |
Definition at line 47 of file HcalDcsDetId.h.
References DetId::id_, and kSliceOffset.
Referenced by HcalDcsMap::lookup(), and HcalDcsMap::mapGeomId2DcsId().
|
inline |
Definition at line 49 of file HcalDcsDetId.h.
References DetId::id_, and kSubChannelOffset.
Referenced by HcalDcsMap::lookup(), and HcalDcsMap::mapGeomId2DcsId().
|
inline |
Definition at line 48 of file HcalDcsDetId.h.
References DetId::id_, and kTypeOffset.
Referenced by python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputCommands(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputCommands(), python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), and python.Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties().
|
static |
Definition at line 40 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 45 of file HcalDcsDetId.h.
References DetId::id_, and kSideOffset.
Referenced by HcalDcsMap::lookup(), and ring().
|
staticprotected |
Definition at line 55 of file HcalDcsDetId.h.
Referenced by HcalDcsDetId(), and ring().
|
staticprotected |
Definition at line 54 of file HcalDcsDetId.h.
Referenced by HcalDcsDetId(), and zside().
|
staticprotected |
Definition at line 56 of file HcalDcsDetId.h.
Referenced by HcalDcsDetId(), and slice().
|
staticprotected |
Definition at line 58 of file HcalDcsDetId.h.
Referenced by HcalDcsDetId(), and subchannel().
|
staticprotected |
Definition at line 57 of file HcalDcsDetId.h.
Referenced by HcalDcsDetId(), and type().
|
static |
Definition at line 51 of file HcalDcsDetId.h.