Skip to content

Commit

Permalink
Clang fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
delitez committed Dec 12, 2024
1 parent 0487060 commit 10f2db5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ class EffPlotTool {
TEfficiency* trackEff_vs_DeltaR{
nullptr}; ///< Tracking efficiency vs distance to the closest truth
///< particle
TEfficiency* trackEff_vs_prodR{nullptr}; ///< Tracking efficiency vs production radius
TEfficiency* trackEff_vs_prodR{
nullptr}; ///< Tracking efficiency vs production radius
};

/// Constructor
Expand Down
7 changes: 3 additions & 4 deletions Examples/Framework/src/Validation/EffPlotTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,9 @@ void ActsExamples::EffPlotTool::fill(EffPlotTool::EffPlotCache& effPlotCache,
const auto t_pT = truthParticle.transverseMomentum();
const auto t_z0 = truthParticle.position().z();
const auto t_deltaR = deltaR;
const auto t_prodR = std::sqrt(truthParticle.position().x() *
truthParticle.position().x() +
truthParticle.position().y() *
truthParticle.position().y());
const auto t_prodR =
std::sqrt(truthParticle.position().x() * truthParticle.position().x() +
truthParticle.position().y() * truthParticle.position().y());

PlotHelpers::fillEff(effPlotCache.trackEff_vs_pT, t_pT, status);
PlotHelpers::fillEff(effPlotCache.trackEff_vs_eta, t_eta, status);
Expand Down
1 change: 0 additions & 1 deletion Examples/Io/Root/src/RootTrackSummaryWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,6 @@ ProcessCode RootTrackSummaryWriter::writeT(const AlgorithmContext& ctx,
m_t_d0.push_back(t_d0);
m_t_z0.push_back(t_z0);
m_t_prodR.push_back(t_prodR);


// Initialize the fitted track parameters info
std::array<float, Acts::eBoundSize> param = {NaNfloat, NaNfloat, NaNfloat,
Expand Down

0 comments on commit 10f2db5

Please sign in to comment.