#include <HcalOtherDetId.h>
Public Member Functions | |
HcalOtherDetId (const DetId &id) | |
HcalOtherDetId & | operator= (const DetId &id) |
HcalOtherSubdetector | subdet () const |
get the category | |
Protected Member Functions | |
HcalOtherDetId () | |
HcalOtherDetId (HcalOtherSubdetector subdet) | |
Constructor from signed ieta, iphi plus composite type and composite data. | |
HcalOtherDetId (uint32_t rawid) |
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 24 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(), Exception, DetId::Hcal, HcalOther, DetId::id_, DetId::rawId(), and DetId::subdetId().
HcalOtherDetId::HcalOtherDetId | ( | ) | [protected] |
HcalOtherDetId::HcalOtherDetId | ( | uint32_t | rawid | ) | [explicit, protected] |
HcalOtherDetId::HcalOtherDetId | ( | HcalOtherSubdetector | subdet | ) | [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
Reimplemented in HcalCalibDetId.
Definition at line 22 of file HcalOtherDetId.cc.
References DetId::det(), Exception, DetId::Hcal, HcalOther, DetId::id_, DetId::rawId(), and DetId::subdetId().
HcalOtherSubdetector HcalOtherDetId::subdet | ( | ) | const [inline] |
get the category
Definition at line 32 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().
{ return HcalOtherSubdetector((id_>>20)&0x1F); }