#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 | |
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... | |
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, Forward =6, VeryForward =7, HGCalEE =8, HGCalHSi =9, HGCalHSc =10, HGCalTrigger =11 } |
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 |
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 TauDecayModes::dec, DetId::det(), Exception, DetId::Hcal, HcalOther, DetId::id_, DetId::rawId(), and DetId::subdetId().
|
protected |
|
explicitprotected |
Constructor from a raw value
Definition at line 7 of file HcalOtherDetId.cc.
|
protected |
Constructor from signed ieta, iphi plus composite type and composite data.
Definition at line 10 of file HcalOtherDetId.cc.
References DetId::id_, and createfilelist::int.
HcalOtherDetId & HcalOtherDetId::operator= | ( | const DetId & | id | ) |
Assignment from a generic cell id
Definition at line 22 of file HcalOtherDetId.cc.
References TauDecayModes::dec, DetId::det(), Exception, DetId::Hcal, HcalOther, DetId::id_, DetId::rawId(), and DetId::subdetId().
|
inline |
get the category
Definition at line 30 of file HcalOtherDetId.h.
References HcalOtherDetId(), and DetId::id_.
Referenced by HcalDcsValues::exists(), HcalDcsValue::getSubdetector(), HcalDcsValues::getValues(), HcalCalibDetId::HcalCalibDetId(), HcalDcsDetId::HcalDcsDetId(), HcalDcsMap::lookup(), HcalDcsMapAddons::Helper::mapGeomId2DcsId(), operator<<(), HcalCalibDetId::operator=(), HcalUnpacker::unpackUTCA(), and HcalUnpacker::unpackVME().