6 uint32_t iDin ) :
DetId( iDet, iSub )
44 bool returnValue (
false ) ;
118 return (
id.isEB() ? s<<
EBDetId(
id ) :
119 (
id.isEE() ? s<<
EEDetId(
id ) :
120 (
id.isES() ? s<<
ESDetId(
id ) :
124 s<<
"UnknownId="<<std::hex<<
id.rawId()<<std::dec ) ) ) ) ) ) ;
static EEDetId detIdFromDenseIndex(uint32_t din)
static bool validDetId(int i, int j)
check if a valid index combination
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)
HcalSubdetector subdet() const
get the subdetector
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(HcalSubdetector subdet, int tower_ieta, int tower_iphi, int depth)
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
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
int depth() const
get the tower depth
static HcalCastorDetId detIdFromDenseIndex(uint32_t di)
static HcalDetId detIdFromDenseIndex(uint32_t di)
int ieta() const
get the cell ieta
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)
int iphi() const
get the cell iphi
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