#include <HcalOtherDetId.h>
Public Member Functions | |
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... | |
Protected Member Functions | |
HcalOtherDetId () | |
HcalOtherDetId (uint32_t rawid) | |
HcalOtherDetId (HcalOtherSubdetector subdet) | |
Constructor from signed ieta, iphi plus composite type and composite data. More... | |
Additional Inherited Members | |
Public Types inherited from DetId | |
enum | Detector { Tracker =1, Muon =2, Ecal =3, Hcal =4, Calo =5 } |
Static Public Attributes inherited from DetId | |
static const int | kDetOffset = 28 |
static const int | kSubdetOffset = 25 |
Protected Attributes inherited from DetId | |
uint32_t | id_ |
Detector id class which serves as base class for other HCAL-related det ids (cascaded from top bit).
Packing:
[31:28] Global det == HCAL [27:25] HCAL subdet == Other [24:20] Other subdet id [19:0] Available for use
Definition at line 22 of file HcalOtherDetId.h.
HcalOtherDetId::HcalOtherDetId | ( | const DetId & | id | ) |
Constructor from a generic cell id
Definition at line 15 of file HcalOtherDetId.cc.
References DetId::det(), edm::hlt::Exception, DetId::Hcal, HcalOther, DetId::id_, DetId::rawId(), and DetId::subdetId().
|
protected |
|
explicitprotected |
|
protected |
Constructor from signed ieta, iphi plus composite type and composite data.
Definition at line 10 of file HcalOtherDetId.cc.
References DetId::id_.
HcalOtherDetId & HcalOtherDetId::operator= | ( | const DetId & | id | ) |
Assignment from a generic cell id
Definition at line 22 of file HcalOtherDetId.cc.
References DetId::det(), edm::hlt::Exception, DetId::Hcal, HcalOther, DetId::id_, DetId::rawId(), and DetId::subdetId().
|
inline |
get the category
Definition at line 30 of file HcalOtherDetId.h.
References DetId::id_.
Referenced by HcalDcsValues::exists(), HcalDcsValue::getSubdetector(), HcalDcsValues::getValues(), HcalCalibDetId::HcalCalibDetId(), HcalDcsDetId::HcalDcsDetId(), HcalDcsMap::lookup(), HcalDcsMap::mapGeomId2DcsId(), HcalCalibDetId::operator=(), and HcalUnpacker::unpack().