9 double shiftx = (col > 0) ? -0.5 *
ahcal_->deltaX() : 0.5 *
ahcal_->deltaX();
10 double shifty = (row > 0) ? -0.5 *
ahcal_->deltaY() : 0.5 *
ahcal_->deltaY();
11 return std::pair<double, double>(col *
ahcal_->deltaX() + shiftx, row *
ahcal_->deltaY() + shifty);
16 return (
ahcal_->zFirst() + (lay - 1) *
ahcal_->deltaZ());
std::unique_ptr< AHCalParameters > ahcal_
double getZ(const AHCalDetId &id) const
std::pair< double, double > getXY(const AHCalDetId &id) const
get the local coordinate in the plane and along depth