12 track *= (track.
z() < 0) ? fabs(p.
thickness / track.
z())
19 const float absProj = fabs(fullProjection);
25 const std::vector<stats_t<float> > Q =
29 const float corrected =
46 if (proj() < wc.
N - 2)
75 if (proj() > wc.
N - 1)
79 if (proj() < wc.
N - 3)
81 if (proj() < wc.
N - 2)
83 if (wc.
eta().sigmaFrom(0) < 3)
90 if (wc.
sign() * wc.
eta()() > 1. / (wc.
N - 1))
104 if (
eta().sigmaFrom(0) < 1) {
132 sumXQ += (
i - clusterFirst) * (*i);
133 return sumXQ /
sumQ() + 0.5;
147 return N * (1 +
sign() *
eta()).inverse();
std::pair< LocalPoint, LocalError > LocalValues
WrappedCluster(const std::vector< stats_t< float > > &)
void addSuppressedEdgeStrip()
LocalPoint position() const
Local x and y position coordinates.
StripTopology const * topology
stats_t< float > smallerEdgeStrip() const
const float scaling_squared
uint16_t firstStrip() const
float backplanecorrection
stats_t< float > centroid() const
AlgebraicVector5 vector() const
virtual float localPitch(const LocalPoint &) const =0
stats_t< float > geometric_position(const WrappedCluster &, const stats_t< float > &) const
std::vector< float > xtalk1
static stats_t from_relative_uncertainty2(T q, T re2)
stats_t< float > sumQ() const
stats_t< float > offset_from_firstStrip(const std::vector< stats_t< float > > &, const stats_t< float > &) const
static std::vector< stats_t< float > > unfold(const SiStripCluster &q, const float x)
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 override
const float maybe_noise_threshold
void dropSmallerEdgeStrip()
bool useNPlusOne(const WrappedCluster &, const stats_t< float > &) const
const float minimum_uncertainty_squared
bool ambiguousSize(const WrappedCluster &, const stats_t< float > &) const
const float tan_diffusion_angle
virtual LocalError localError(float strip, float stripErr2) const =0
Param const & param(const GeomDetUnit &det) const
virtual LocalPoint localPosition(float strip) const =0
SiStripModuleGeometry moduleGeom
const float thickness_rel_err2
const float noise_threshold
stats_t< float > maxProjection() const
tuple size
Write out results.
Power< A, B >::type pow(const A &a, const B &b)
bool useNMinusOne(const WrappedCluster &, const stats_t< float > &) const
stats_t< float > eta() const
double sumQ(DIGI const &digi, double ped, int i=0, int j=3)