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