Skip to content

Commit aab7571

Browse files
committed
Fix in bi-square weights calculation
1 parent 9fffe69 commit aab7571

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Detectors/Vertexing/src/PVertexer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ int PVertexer::runVertexing(const gsl::span<o2d::GlobalTrackID> gids, const gsl:
3939
std::vector<V2TRef> v2tRefsLoc;
4040
std::vector<float> validationTimes;
4141
std::vector<o2::MCEventLabel> lblVtxLoc;
42-
4342
for (auto tc : mTimeZClusters) {
4443
VertexingInput inp;
4544
inp.idRange = gsl::span<int>(tc.trackIDs);
@@ -269,6 +268,7 @@ void PVertexer::accountTrack(TrackVF& trc, VertexSeed& vtxSeed) const
269268
trc.wgh = 0.f;
270269
return;
271270
}
271+
wghT *= wghT;
272272
float syyI(trc.sig2YI), szzI(trc.sig2ZI), syzI(trc.sigYZI);
273273

274274
auto timeErrorFromTB = [&trc]() {

0 commit comments

Comments
 (0)