4 #include "vdt/vdtMath.h"
8 float stripErrorSquared(
const unsigned N,
const float uProj) {
9 if( (
float(N)-uProj) > 3.5
f )
10 return float(N*N)/12.f;
16 const float uerr = P1*uProj*vdt::fast_expf(-uProj*P2)+P3;
34 const unsigned N = cluster.
amplitudes().size();
36 const float uerr2 = stripErrorSquared( N,
std::abs(fullProjection) );
LocalPoint position() const
Local x and y position coordinates.
StripTopology const * topology
std::pair< LocalPoint, LocalError > LocalValues
float backplanecorrection
AlgebraicVector5 vector() const
LocalVector momentum() const
Momentum vector in the local frame.
float coveredStrips(const LocalVector &, const LocalPoint &) const
StripClusterParameterEstimator::LocalValues localParameters(const SiStripCluster &, const GeomDetUnit &, const LocalTrajectoryParameters &) const
virtual LocalError localError(float strip, float stripErr2) const =0
Param const & param(const GeomDetUnit &det) const
virtual LocalPoint localPosition(float strip) const =0
const std::vector< uint8_t > & amplitudes() const