Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminhuth committed Jan 29, 2025
1 parent ab9b7cf commit 630c22c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Examples/Io/Root/src/RootTrackSummaryWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,9 @@ ProcessCode RootTrackSummaryWriter::writeT(const AlgorithmContext& ctx,
param[i] = parameter[i];
}

const auto& covariance = track.covariance();
for (unsigned int i = 0; i < Acts::eBoundSize; ++i) {
error[i] =
std::sqrt(covariance(i, i)); // MARK: fpeMask(FLTINV, 1, #3999)
double variance = getCov(i, i);
error[i] = variance >= 0 ? std::sqrt(variance) : NaNfloat;
}
}

Expand Down

0 comments on commit 630c22c

Please sign in to comment.