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() <<
')';
static uint32_t kHcalEtaMask2
constexpr bool null() const
is this a null id ?
constexpr uint32_t rawId() const
get the raw id
int irow() const
get the row number
HcalSubdetector subdet() const
get the subdetector
int icol() const
get the column number
std::pair< double, double > getXY() const
get the local coordinate in the plane and along depth
static uint32_t kHcalDepthMask2
constexpr 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 AHCalDetId Undefined
static uint32_t kHcalPhiMask2
static uint32_t kHcalEtaOffset2
static uint32_t kHcalIdFormat2
static uint32_t kHcalZsideMask2
static uint32_t kHcalDepthOffset2
constexpr Detector det() const
get the detector field from this detid