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";
79 edm::LogError(
"CaloGenericDetIdError") <<
"No support for CaloTower in CaloGenericDetId";
90 edm::LogError(
"CaloGenericDetIdError") <<
"No support for HB/HE/HO/HF in CaloGenericDetId";
92 }
else if (
id.isCaloTower()) {
93 edm::LogError(
"CaloGenericDetIdError") <<
"No support for CaloTower in CaloGenericDetId";
102 :
s <<
"UnknownId=" << std::hex <<
id.rawId() <<
std::dec))));
static EEDetId detIdFromDenseIndex(uint32_t din)
static bool validDetId(Section iSection, bool posEta, int iSector, int iMod)
static bool validDetId(Section se, int dp)
Section section() const
get the section
int iphi() const
get the crystal iphi
uint32_t denseIndex() const
std::ostream & operator<<(std::ostream &s, const CaloGenericDetId &id)
Log< level::Error, false > LogError
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)
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 HcalZDCDetId detIdFromDenseIndex(uint32_t di)
static ESDetId detIdFromDenseIndex(uint32_t din)
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
uint32_t sizeForDenseIndexing() const
int channel() const
get the channel