22 float&
time,
float& timeErr)
const 27 const float centreOfCluster = (fstrip + lstrip)/2;
28 const double y = cluster.
hasY() ? cluster.
y() : 0;
31 if ( !cluster.
hasY() ) {
40 const float maxDy = stripLen/2 -
std::abs(cluster.
y());
46 const double x = centreOfCluster - y*
std::tan(angle);
50 const double scale = topo.localPitch(Point)/topo.pitch();
58 time = cluster.
time();
75 float&
time,
float& timeErr)
const 77 this->
compute(roll,cl,Point,error,time,timeErr);
virtual float stripLength() const =0
LocalPoint centreOfStrip(int strip) const
Point3DBase< Scalar, LocalTag > LocalPoint
const StripTopology & specificTopology() const
const Topology & topology() const override
LocalError localError(float strip) const
Tan< T >::type tan(const T &t)
Abs< T >::type abs(const T &t)
virtual bool compute(const RPCRoll &roll, const RPCCluster &cluster, LocalPoint &point, LocalError &error, float &time, float &timeErr) const
standard local recHit computation
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.