13 : packedIndexVersion_(0), topo_(topo), kSizeForDenseIndexing_(
HcalZDCDetId::kSizeForDenseIndexingRun1) {
33 edm::LogError(
"HCAL") <<
"Illegal call to HcalCondObjectContainerBase with a null pointer";
38 unsigned int retval = 0xFFFFFFFFu;
40 edm::LogError(
"HCAL") <<
"Topology pointer not set, HCAL conditions non-functional";
41 throw cms::Exception(
"Topology pointer not set, HCAL conditions non-functional");
76 static const int CASTORhalf = 224;
94 unsigned int retval = 0;
97 edm::LogError(
"HCAL") <<
"Topology pointer not set, HCAL conditions non-functional";
98 throw cms::Exception(
"Topology pointer not set, HCAL conditions non-functional");
137 std::ostringstream
os;
138 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
unsigned int getHESize() const
unsigned int detId2denseIdHF(const DetId &id) const
return a linear packed id from HF
constexpr uint32_t denseIndex() const
HcalOtherSubdetector extractOther(const DetId &id) const
unsigned int detId2denseIdHO(const DetId &id) const
return a linear packed id from HO
uint32_t kSizeForDenseIndexing_
std::string textForId(const DetId &id) const
unsigned int getHBSize() const
Log< level::Error, false > LogError
static constexpr int32_t kSizeForDenseIndexingRun1
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)
HcalTopologyMode::Mode mode() 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 constexpr int kSizeForDenseIndexing
constexpr Section section() const
get the section
unsigned int getCALIBSize() const
static constexpr int32_t SubdetectorId
constexpr int32_t channel() const
get the channel
constexpr int32_t zside() const
get the z-side of the cell (1/-1)
unsigned int sizeFor(DetId) const
unsigned int detId2denseIdHT(const DetId &id) const
return a linear packed id from HT
void setTopo(const HcalTopology *topo)
static constexpr int32_t kSizeForDenseIndexingRun3