7 uint32_t iDin ) :
DetId( iDet, iSub )
10 std::cerr <<
"No support for HB/HE/HO/HF in CaloGenericDetId" << std::endl;
27 std::cerr <<
"No support for HB/HE/HO/HF in CaloGenericDetId" << std::endl;
43 std::cerr <<
"No support for HB/HE/HO/HF in CaloGenericDetId" << std::endl;
58 bool returnValue (
false ) ;
88 std::cerr <<
"No support for HB/HE/HO/HF in CaloGenericDetId" << std::endl;
131 std::cerr <<
"No support for HB/HE/HO/HF in CaloGenericDetId" << std::endl;
135 return (
id.isEB() ? s<<
EBDetId(
id ) :
136 (
id.isEE() ? s<<
EEDetId(
id ) :
137 (
id.isES() ? s<<
ESDetId(
id ) :
140 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(int ie, int ip)
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
static CaloTowerDetId detIdFromDenseIndex(uint32_t din)
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 iphi() const
get the tower iphi
int zside() const
get the z-side of the cell (1/-1)
int ieta() const
get the crystal ieta
CaloGenericDetId(uint32_t rawid)
Section section() const
get the section
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
int ieta() const
get the tower ieta
Detector det() const
get the detector field from this detid