12 id_|=(section&0x3)<<4;
13 if (true_for_positive_eta)
id_|=0x40;
46 const bool lz ( di >=
kDepTot ) ;
50 const uint32_t
dp (
EM == se ? in+1 :
76 s <<
"(ZDC" << ((
id.zside()==1)?(
"+"):(
"-"));
77 switch (
id.section()) {
81 default : s <<
" UNKNOWN ";
83 return s <<
id.channel() <<
"," <<
id.depth() <<
')';
static bool validDetId(Section se, int dp)
static bool validDenseIndex(uint32_t di)
int zside() const
get the z-side of the cell (1/-1)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
uint32_t rawId() const
get the raw id
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
Section section() const
get the section
static HcalZDCDetId detIdFromDenseIndex(uint32_t di)
static const int SubdetectorId
bool null() const
is this a null id ?
int channel() const
get the channel
HcalZDCDetId & operator=(const DetId &id)
Detector det() const
get the detector field from this detid
uint32_t denseIndex() const