#include <CaloGenericDetId.h>
Public Member Functions | |
CaloGenericDetId (uint32_t rawid) | |
CaloGenericDetId (const DetId &id) | |
CaloGenericDetId (DetId::Detector iDet, int iSub, uint32_t iDenseIndex) | |
uint32_t | denseIndex () const |
bool | isCalo () const |
bool | isCaloTower () const |
bool | isCastor () const |
bool | isEB () const |
bool | isEcal () const |
bool | isEE () const |
bool | isES () const |
bool | isHcal () const |
bool | isZDC () const |
uint32_t | sizeForDenseIndexing () const |
bool | validDetId () const |
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... | |
Additional Inherited Members | |
Public Types inherited from DetId | |
enum | Detector { Tracker =1, Muon =2, Ecal =3, Hcal =4, Calo =5, Forward =6 } |
Static Public Attributes inherited from DetId | |
static const int | kDetOffset = 28 |
static const int | kSubdetOffset = 25 |
Protected Attributes inherited from DetId | |
uint32_t | id_ |
Definition at line 12 of file CaloGenericDetId.h.
|
inline |
Definition at line 16 of file CaloGenericDetId.h.
|
inline |
Definition at line 18 of file CaloGenericDetId.h.
CaloGenericDetId::CaloGenericDetId | ( | DetId::Detector | iDet, |
int | iSub, | ||
uint32_t | iDenseIndex | ||
) |
Definition at line 5 of file CaloGenericDetId.cc.
References dtNoiseDBValidation_cfg::cerr, DetId::det(), CaloTowerDetId::detIdFromDenseIndex(), HcalZDCDetId::detIdFromDenseIndex(), ESDetId::detIdFromDenseIndex(), HcalCastorDetId::detIdFromDenseIndex(), EBDetId::detIdFromDenseIndex(), EEDetId::detIdFromDenseIndex(), edm::hlt::Exception, DetId::Hcal, DetId::id_, isCaloTower(), isCastor(), isEB(), isEE(), isES(), isZDC(), and DetId::rawId().
uint32_t CaloGenericDetId::denseIndex | ( | ) | const |
Definition at line 24 of file CaloGenericDetId.cc.
References dtNoiseDBValidation_cfg::cerr, DetId::det(), edm::hlt::Exception, DetId::Hcal, isCaloTower(), isCastor(), isEB(), isEE(), isES(), isZDC(), and DetId::rawId().
Referenced by CaloSubdetectorGeometry::indexFor(), CaloTowerGeometry::newCell(), ZdcGeometry::newCell(), and CastorGeometry::newCell().
|
inline |
Definition at line 34 of file CaloGenericDetId.h.
References DetId::Calo, and DetId::det().
Referenced by isCaloTower(), isCastor(), and isZDC().
|
inline |
Definition at line 38 of file CaloGenericDetId.h.
References isCalo(), CaloTowerDetId::SubdetId, and DetId::subdetId().
Referenced by CaloTowerGeometry::alignmentTransformIndexLocal(), CaloGenericDetId(), denseIndex(), CaloTowerGeometry::newCell(), sizeForDenseIndexing(), and validDetId().
|
inline |
Definition at line 37 of file CaloGenericDetId.h.
References isCalo(), HcalCastorDetId::SubdetectorId, and DetId::subdetId().
Referenced by CastorGeometry::alignmentTransformIndexLocal(), CaloGenericDetId(), denseIndex(), CastorGeometry::newCell(), sizeForDenseIndexing(), and validDetId().
|
inline |
Definition at line 31 of file CaloGenericDetId.h.
References isEcal(), EBDetId::Subdet, and DetId::subdetId().
Referenced by EcalBarrelGeometry::alignmentTransformIndexLocal(), CaloGenericDetId(), denseIndex(), sizeForDenseIndexing(), and validDetId().
|
inline |
Definition at line 30 of file CaloGenericDetId.h.
References DetId::det(), and DetId::Ecal.
Referenced by isEB(), isEE(), and isES().
|
inline |
Definition at line 32 of file CaloGenericDetId.h.
References isEcal(), EEDetId::Subdet, and DetId::subdetId().
Referenced by EcalEndcapGeometry::alignmentTransformIndexLocal(), CaloGenericDetId(), denseIndex(), sizeForDenseIndexing(), and validDetId().
|
inline |
Definition at line 33 of file CaloGenericDetId.h.
References isEcal(), ESDetId::Subdet, and DetId::subdetId().
Referenced by EcalPreshowerGeometry::alignmentTransformIndexLocal(), CaloGenericDetId(), denseIndex(), sizeForDenseIndexing(), and validDetId().
|
inline |
Definition at line 35 of file CaloGenericDetId.h.
References DetId::det(), and DetId::Hcal.
|
inline |
Definition at line 36 of file CaloGenericDetId.h.
References isCalo(), HcalZDCDetId::SubdetectorId, and DetId::subdetId().
Referenced by ZdcGeometry::alignmentTransformIndexLocal(), CaloGenericDetId(), denseIndex(), ZdcGeometry::newCell(), sizeForDenseIndexing(), and validDetId().
uint32_t CaloGenericDetId::sizeForDenseIndexing | ( | ) | const |
Definition at line 40 of file CaloGenericDetId.cc.
References dtNoiseDBValidation_cfg::cerr, DetId::det(), edm::hlt::Exception, DetId::Hcal, isCaloTower(), isCastor(), isEB(), isEE(), isES(), isZDC(), HcalZDCDetId::kSizeForDenseIndexing, CaloTowerDetId::kSizeForDenseIndexing, HcalCastorDetId::kSizeForDenseIndexing, ESDetId::kSizeForDenseIndexing, EBDetId::kSizeForDenseIndexing, and EEDetId::kSizeForDenseIndexing.
Referenced by CaloSubdetectorGeometry::sizeForDenseIndex().
bool CaloGenericDetId::validDetId | ( | ) | const |
Definition at line 56 of file CaloGenericDetId.cc.
References dtNoiseDBValidation_cfg::cerr, HcalZDCDetId::channel(), DetId::det(), edm::hlt::Exception, DetId::Hcal, CaloTowerDetId::ieta(), EBDetId::ieta(), CaloTowerDetId::iphi(), EBDetId::iphi(), isCaloTower(), isCastor(), isEB(), isEE(), isES(), isZDC(), EEDetId::ix(), EEDetId::iy(), HcalCastorDetId::module(), ESDetId::plane(), DetId::rawId(), HcalZDCDetId::section(), HcalCastorDetId::section(), HcalCastorDetId::sector(), ESDetId::six(), ESDetId::siy(), ESDetId::strip(), CaloTowerDetId::validDetId(), HcalZDCDetId::validDetId(), ESDetId::validDetId(), HcalCastorDetId::validDetId(), EBDetId::validDetId(), EEDetId::validDetId(), ESDetId::zside(), HcalCastorDetId::zside(), and EEDetId::zside().