Skip to content

Commit

Permalink
forgot to run clang format on changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosie-Hasan committed Jan 15, 2025
1 parent b5a1ded commit 83c742c
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions Examples/Algorithms/TrackFinding/src/GbtsSeedingAlgorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,18 @@ ActsExamples::ProcessCode ActsExamples::GbtsSeedingAlgorithm::execute(
MakeGbtsSpacePoints(ctx, m_cfg.ActsGbtsMap);

for (auto sp : GbtsSpacePoints) {
const auto& links = sp.SP->sourceLinks();
const auto &links = sp.SP->sourceLinks();
if (!links.empty()) {
const auto& frontLink = links.front();
if (frontLink.template has<IndexSourceLink>()) {
ACTS_DEBUG("Gbts space points: " << " Gbts_id: " << sp.gbtsID
<< " z: " << sp.SP->z() << " r: " << sp.r()
<< " ACTS volume: "
<< frontLink.template get<IndexSourceLink>()
.geometryId()
.volume()
<< "\n");
}
}
const auto &frontLink = links.front();
if (frontLink.template has<IndexSourceLink>()) {
ACTS_DEBUG(
"Gbts space points: "
<< " Gbts_id: " << sp.gbtsID << " z: " << sp.SP->z()
<< " r: " << sp.r() << " ACTS volume: "
<< frontLink.template get<IndexSourceLink>().geometryId().volume()
<< "\n");
}
}
}
// this is now calling on a core algorithm
Acts::SeedFinderGbts<SimSpacePoint> finder(
Expand Down

0 comments on commit 83c742c

Please sign in to comment.