8 uint32_t iDin ) :
DetId( iDet, iSub )
11 edm::LogError(
"CaloGenericDetIdError") <<
"No support for HB/HE/HO/HF in CaloGenericDetId";
15 edm::LogError(
"CaloGenericDetIdError") <<
"No support for CaloTower in CaloGenericDetId";
32 edm::LogError(
"CaloGenericDetIdError") <<
"No support for HB/HE/HO/HF in CaloGenericDetId";
36 edm::LogError(
"CaloGenericDetIdError") <<
"No support for CaloTower in CaloGenericDetId";
51 edm::LogError(
"CaloGenericDetIdError") <<
"No support for HB/HE/HO/HF in CaloGenericDetId";
55 edm::LogError(
"CaloGenericDetIdError") <<
"No support for CaloTower in CaloGenericDetId";
69 bool returnValue (
false ) ;
94 edm::LogError(
"CaloGenericDetIdError") <<
"No support for HB/HE/HO/HF in CaloGenericDetId";
115 edm::LogError(
"CaloGenericDetIdError") <<
"No support for CaloTower in CaloGenericDetId";
127 edm::LogError(
"CaloGenericDetIdError") <<
"No support for HB/HE/HO/HF in CaloGenericDetId";
130 else if(
id.isCaloTower()) {
131 edm::LogError(
"CaloGenericDetIdError") <<
"No support for CaloTower in CaloGenericDetId";
135 return (
id.isEB() ? s<<
EBDetId(
id ) :
136 (
id.isEE() ? s<<
EEDetId(
id ) :
137 (
id.isES() ? s<<
ESDetId(
id ) :
139 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)
int sector() const
get the sector (1-16)
int module() const
get the module (1-2 for EM, 1-12 for HAD)
uint32_t sizeForDenseIndexing() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Section section() const
get the section
static bool validDetId(int i, int j)
check if a valid index combination
int iphi() const
get the crystal iphi
static EBDetId detIdFromDenseIndex(uint32_t di)
uint32_t rawId() const
get the raw id
static HcalCastorDetId detIdFromDenseIndex(uint32_t di)
int zside() const
get the z-side of the cell (1/-1)
int ieta() const
get the crystal ieta
CaloGenericDetId(uint32_t rawid)
static HcalZDCDetId detIdFromDenseIndex(uint32_t di)
uint32_t denseIndex() const
static ESDetId detIdFromDenseIndex(uint32_t din)
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
int channel() const
get the channel
Section section() const
get the section