23 float& timeErr)
const {
27 const float centreOfCluster = (fstrip + lstrip) / 2;
28 const double y = cluster.
hasY() ? cluster.
y() : 0;
31 if (!cluster.
hasY()) {
39 const float maxDy = stripLen / 2 -
std::abs(cluster.
y());
45 const double x = centreOfCluster - y *
std::tan(angle);
49 const double scale = topo.localPitch(Point) / topo.pitch();
53 error =
LocalError(ex2, 0, maxDy * maxDy / 3.);
57 time = cluster.
time();
74 float& timeErr)
const {
75 this->
compute(roll, cl, Point, error, time, timeErr);
LocalPoint centreOfStrip(int strip) const
Point3DBase< Scalar, LocalTag > LocalPoint
const StripTopology & specificTopology() const
virtual float stripLength() const =0
LocalError localError(float strip) const
Tan< T >::type tan(const T &t)
Abs< T >::type abs(const T &t)
bool compute(const RPCRoll &roll, const RPCCluster &cluster, LocalPoint &point, LocalError &error, float &time, float &timeErr) const override
standard local recHit computation
Structure Point Contains parameters of Gaussian fits to DMRs.
const Topology & topology() const override
T angle(T x1, T y1, T z1, T x2, T y2, T z2)
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.