Skip to content

Commit

Permalink
refactor!: Use track container in Core CKF and pass track proxies to …
Browse files Browse the repository at this point in the history
…delegates (#3161) @36.0.0: (fixup)
  • Loading branch information
wdconinc committed Jan 18, 2025
1 parent fbb48be commit 7f477e9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/algorithms/tracking/CKFTrackingFunction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
#include <Acts/EventData/ParticleHypothesis.hpp>
#include <Acts/EventData/TrackContainer.hpp>
#include <Acts/EventData/TrackStatePropMask.hpp>
#if Acts_VERSION_MAJOR < 36
#include <Acts/EventData/VectorMultiTrajectory.hpp>
#include <Acts/EventData/VectorTrackContainer.hpp>
#endif
#include <Acts/Geometry/Layer.hpp>
#include <Acts/Geometry/TrackingGeometry.hpp>
#include <Acts/Geometry/TrackingVolume.hpp>
Expand Down Expand Up @@ -44,11 +46,11 @@ namespace eicrecon{
#else
using CKF =
Acts::CombinatorialKalmanFilter<Propagator, Acts::VectorMultiTrajectory>;
#endif

using TrackContainer =
Acts::TrackContainer<Acts::VectorTrackContainer,
Acts::VectorMultiTrajectory, std::shared_ptr>;
#endif

/** Finder implementation .
*
Expand All @@ -63,7 +65,11 @@ namespace eicrecon{
eicrecon::CKFTracking::TrackFinderResult operator()(
const ActsExamples::TrackParameters& initialParameters,
const eicrecon::CKFTracking::TrackFinderOptions& options,
#if Acts_VERSION_MAJOR >= 36
ActsExamples::TrackContainer& tracks) const override {
#else
TrackContainer& tracks) const override {
#endif
return trackFinder.findTracks(initialParameters, options, tracks);
};
};
Expand Down

0 comments on commit 7f477e9

Please sign in to comment.