8 edm::LogError(
"CaloGenericDetIdError") <<
"No support for HB/HE/HO/HF in CaloGenericDetId";
11 edm::LogError(
"CaloGenericDetIdError") <<
"No support for CaloTower in CaloGenericDetId";
26 edm::LogError(
"CaloGenericDetIdError") <<
"No support for HB/HE/HO/HF in CaloGenericDetId";
29 edm::LogError(
"CaloGenericDetIdError") <<
"No support for CaloTower in CaloGenericDetId";
42 edm::LogError(
"CaloGenericDetIdError") <<
"No support for HB/HE/HO/HF in CaloGenericDetId";
45 edm::LogError(
"CaloGenericDetIdError") <<
"No support for CaloTower in CaloGenericDetId";
57 bool returnValue(
false);
68 edm::LogError(
"CaloGenericDetIdError") <<
"No support for HB/HE/HO/HF in CaloGenericDetId";
75 edm::LogError(
"CaloGenericDetIdError") <<
"No support for CaloTower in CaloGenericDetId";
86 edm::LogError(
"CaloGenericDetIdError") <<
"No support for HB/HE/HO/HF in CaloGenericDetId";
88 }
else if (
id.isCaloTower()) {
89 edm::LogError(
"CaloGenericDetIdError") <<
"No support for CaloTower in CaloGenericDetId";
static EEDetId detIdFromDenseIndex(uint32_t din)
static constexpr int kSizeForDenseIndexing
static bool validDetId(Section iSection, bool posEta, int iSector, int iMod)
int iphi() const
get the crystal iphi
static constexpr HcalZDCDetId detIdFromDenseIndex(uint32_t di)
uint32_t denseIndex() const
std::ostream & operator<<(std::ostream &s, const CaloGenericDetId &id)
Log< level::Error, false > LogError
static constexpr int kSizeForDenseIndexing
static bool validDetId(int i, int j)
check if a valid index combination
int ieta() const
get the crystal ieta
static EBDetId detIdFromDenseIndex(uint32_t di)
static HcalCastorDetId detIdFromDenseIndex(uint32_t di)
static constexpr int kSizeForDenseIndexing
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)
int sector() const
get the sector (1-16)
CaloGenericDetId(uint32_t rawid)
static ESDetId detIdFromDenseIndex(uint32_t din)
static constexpr int32_t kSizeForDenseIndexing
constexpr uint32_t rawId() const
get the raw id
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
static bool validDetId(int istrip, int ixs, int iys, int iplane, int iz)
check if a valid index combination
Section section() const
get the section
static constexpr int kSizeForDenseIndexing
uint32_t sizeForDenseIndexing() const