12 track *= (track.
z()<0) ? fabs(p.
thickness/track.
z()) :
19 const float absProj = fabs( fullProjection );
72 if(
proj() > wc.
N-1)
return false;
74 if(
proj() < wc.
N-3)
return false;
75 if(
proj() < wc.
N-2)
return true;
76 if( wc.
eta().sigmaFrom(0) < 3)
return false;
80 if( wc.
sign()*wc.
eta()() > 1./(wc.
N-1) )
return true;
96 clusterFirst(Q.
begin()+1),
103 if(
eta().sigmaFrom(0) < 1 ) {
first--;
N+=2; }
119 {
return (
first-clusterFirst) +
N/2.;}
126 return sumXQ/sumQ() + 0.5;
147 {
return N * (1 + sign()*
eta() ).inverse(); }
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
std::pair< LocalPoint, LocalError > LocalValues
stats_t< float > centroid() const
StripClusterParameterEstimator::LocalValues localParameters(const SiStripCluster &, const GeomDetUnit &, const LocalTrajectoryParameters &) const
std::vector< double > xtalk1
AlgebraicVector5 vector() const
virtual float localPitch(const LocalPoint &) const =0
stats_t< float > geometric_position(const WrappedCluster &, const stats_t< float > &) const
SiStripDetId::ModuleGeometry moduleGeom
const T & max(const T &a, const T &b)
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
std::vector< double > shift
LocalVector momentum() const
Momentum vector in the local frame.
float coveredStrips(const LocalVector &, const LocalPoint &) const
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
const float thickness_rel_err2
const float noise_threshold
stats_t< float > maxProjection() const
tuple size
Write out results.
const std::vector< uint8_t > & amplitudes() const
Power< A, B >::type pow(const A &a, const B &b)
static std::vector< stats_t< float > > unfold(const std::vector< uint8_t > &q, const float x)
bool useNMinusOne(const WrappedCluster &, const stats_t< float > &) const
stats_t< float > eta() const