Skip to content

Commit

Permalink
Remove unused variable in VertexTimeAlgorithmLegacy4D.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider committed May 29, 2024
1 parent f1b0254 commit fef8047
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ bool VertexTimeAlgorithmLegacy4D::vertexTime(float& vtxTime, float& vtxTimeError
}

double sumwt = 0.;
double sumwt2 = 0.;
double sumw = 0.;

for (const auto& trk : vtx.originalTracks()) {
Expand All @@ -37,7 +36,6 @@ bool VertexTimeAlgorithmLegacy4D::vertexTime(float& vtxTime, float& vtxTimeError
const double inverr = err > 0. ? 1.0 / err : 0.;
const double w = inverr * inverr;
sumwt += w * time;
sumwt2 += w * time * time;
sumw += w;
}

Expand Down

0 comments on commit fef8047

Please sign in to comment.