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;
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)
const HcalTopology * topo_
int topoVersion() const override
return a version which identifies the given topology
Section section() const
get the section
unsigned int getHESize() const
unsigned int detId2denseIdHF(const DetId &id) const
return a linear packed id from HF
HcalOtherSubdetector extractOther(const DetId &id) const
unsigned int detId2denseIdHO(const DetId &id) const
return a linear packed id from HO
std::string textForId(const DetId &id) const
unsigned int getHBSize() const
Log< level::Error, false > LogError
unsigned int getHOSize() const
constexpr Detector det() const
get the detector field from this detid
unsigned int indexFor(DetId) const
unsigned int detId2denseIdHE(const DetId &id) const
return a linear packed id from HE
unsigned int detId2denseIdCALIB(const DetId &id) const
return a linear packed id from CALIB
const HcalTopology * topo() const
virtual bool denseIdConsistent(int topoVer) const
return whether this topology is consistent with the numbering in the given topology ...
unsigned int detId2denseIdHB(const DetId &id) const
return a linear packed id from HB
int module() const
get the module (1-2 for EM, 1-12 for HAD)
int zside() const
get the z-side of the cell (1/-1)
uint32_t denseIndex() const
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
unsigned int getHFSize() const
unsigned int getHTSize() const
int sector() const
get the sector (1-16)
static const int SubdetectorId
static const int SubdetectorId
unsigned int getCALIBSize() const
unsigned int sizeFor(DetId) const
int zside() const
get the z-side of the cell (1/-1)
unsigned int detId2denseIdHT(const DetId &id) const
return a linear packed id from HT
void setTopo(const HcalTopology *topo)
int channel() const
get the channel