|
|
Go to the documentation of this file.
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))));
int ieta() const
get the crystal ieta
static HcalZDCDetId detIdFromDenseIndex(uint32_t di)
static bool validDetId(Section iSection, bool posEta, int iSector, int iMod)
int channel() const
get the channel
CaloGenericDetId(uint32_t rawid)
static bool validDetId(Section se, int dp)
static EEDetId detIdFromDenseIndex(uint32_t din)
static HcalCastorDetId detIdFromDenseIndex(uint32_t di)
Section section() const
get the section
uint32_t sizeForDenseIndexing() const
static ESDetId detIdFromDenseIndex(uint32_t din)
int module() const
get the module (1-2 for EM, 1-12 for HAD)
static EBDetId detIdFromDenseIndex(uint32_t di)
int zside() const
get the z-side of the cell (1/-1)
int sector() const
get the sector (1-16)
Log< level::Error, false > LogError
static bool validDetId(int i, int j)
check if a valid index combination
constexpr uint32_t rawId() const
get the raw id
uint32_t denseIndex() const
static bool validDetId(int istrip, int ixs, int iys, int iplane, int iz)
check if a valid index combination
std::ostream & operator<<(std::ostream &s, const CaloGenericDetId &id)
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
int iphi() const
get the crystal iphi
Section section() const
get the section