Implementation class for PhiZMeasurementEstimator etc.
Definition at line 12 of file GlobalDetRodRangeZPhi.h.
GlobalDetRodRangeZPhi::GlobalDetRodRangeZPhi |
( |
const Plane & |
RodPlane | ) |
|
Definition at line 8 of file GlobalDetRodRangeZPhi.cc.
References Surface::bounds(), PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, Bounds::length(), SiStripPI::max, min(), PV3DBase< T, PVType, FrameType >::perp(), phi, Geom::phiLess(), phimax, phimin, thePhiRange, theZRange, Bounds::thickness(), Surface::toGlobal(), Bounds::width(), and z.
9 float dx = plane.bounds().width() / 2.;
10 float dy = plane.bounds().length() / 2.;
11 float dz = plane.bounds().thickness() / 2.;
16 (plane.toGlobal(
LocalPoint(0, 0, -dz)).perp() < plane.toGlobal(
LocalPoint(0, 0, dz)).perp()) ? -dz : dz;
18 const std::array<Surface::GlobalPoint, 4> corners{{plane.toGlobal(
LocalPoint(-dx, -dy, deltaZ)),
23 float phimin = corners[0].phi();
26 float zmin = corners[0].z();
29 for (
const auto& corner : corners) {
30 float phi = corner.phi();
Point3DBase< Scalar, LocalTag > LocalPoint
bool phiLess(float phi1, float phi2)