14 int icol = (col > 0) ? col : 10-col;
15 int irow = (row > 0) ? row : 10-row;
35 if (value >= 10) value = -(value%10);
41 if (value >= 10) value = -(value%10);
54 return std::pair<double,double>(col*
deltaX_+shiftx,row*
deltaY_+shifty);
63 return s <<
"(AHCal " <<
id.irow() <<
',' <<
id.icol() <<
',' <<
id.depth() <<
')';
int irow() const
get the row number
HcalSubdetector subdet() const
get the subdetector
static const int kHcalDepthMask2
uint32_t rawId() const
get the raw id
int icol() const
get the column number
std::pair< double, double > getXY() const
get the local coordinate in the plane and along depth
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
std::ostream & operator<<(std::ostream &s, const AHCalDetId &id)
static const int kHcalPhiMask2
static const AHCalDetId Undefined
static const int kHcalIdFormat2
bool null() const
is this a null id ?
static const int kHcalEtaOffset2
static const int kHcalZsideMask2
static const int kHcalEtaMask2
Detector det() const
get the detector field from this detid
static const int kHcalDepthOffset2