Go to the documentation of this file.
12 : packedIndexVersion_(0), topo_(topo) {
25 unsigned int retval = 0xFFFFFFFFu;
27 edm::LogError(
"HCAL") <<
"Topology pointer not set, HCAL conditions non-functional";
28 throw cms::Exception(
"Topology pointer not set, HCAL conditions non-functional");
63 static const int CASTORhalf = 224;
65 int index = 14 * (sector - 1) + (module - 1);
81 unsigned int retval = 0;
84 edm::LogError(
"HCAL") <<
"Topology pointer not set, HCAL conditions non-functional";
85 throw cms::Exception(
"Topology pointer not set, HCAL conditions non-functional");
124 std::ostringstream os;
125 os << std::hex <<
"(0x" <<
id.rawId() <<
") " <<
std::dec;
HcalCondObjectContainerBase(HcalCondObjectContainerBase const &o)
void setTopo(const HcalTopology *topo)
constexpr Detector det() const
get the detector field from this detid
unsigned int getHTSize() const
int channel() const
get the channel
unsigned int detId2denseIdHB(const DetId &id) const
return a linear packed id from HB
static const int SubdetectorId
virtual bool denseIdConsistent(int topoVer) const
return whether this topology is consistent with the numbering in the given topology
std::string textForId(const DetId &id) const
int topoVersion() const override
return a version which identifies the given topology
unsigned int getHESize() const
const HcalTopology * topo_
unsigned int detId2denseIdHT(const DetId &id) const
return a linear packed id from HT
static const int SubdetectorId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
unsigned int detId2denseIdHF(const DetId &id) const
return a linear packed id from HF
unsigned int getHFSize() const
int zside() const
get the z-side of the cell (1/-1)
unsigned int detId2denseIdHE(const DetId &id) const
return a linear packed id from HE
unsigned int sizeFor(DetId) const
int module() const
get the module (1-2 for EM, 1-12 for HAD)
unsigned int getHOSize() const
unsigned int getHBSize() const
const HcalTopology * topo() const
int zside() const
get the z-side of the cell (1/-1)
int sector() const
get the sector (1-16)
unsigned int indexFor(DetId) const
Log< level::Error, false > LogError
unsigned int getCALIBSize() const
unsigned int detId2denseIdHO(const DetId &id) const
return a linear packed id from HO
unsigned int detId2denseIdCALIB(const DetId &id) const
return a linear packed id from CALIB
uint32_t denseIndex() const
Section section() const
get the section
HcalOtherSubdetector extractOther(const DetId &id) const