Skip to content

Commit

Permalink
Swapped the order of the ckf algorithm arguments to match the factory…
Browse files Browse the repository at this point in the history
… order
  • Loading branch information
simonge committed Oct 23, 2024
1 parent 468c0a7 commit 70f252f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/algorithms/tracking/CKFTracking.cc
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ namespace eicrecon {
std::vector<ActsExamples::Trajectories*>,
std::vector<ActsExamples::ConstTrackContainer*>
>
CKFTracking::process(const edm4eic::Measurement2DCollection& meas2Ds,
const edm4eic::TrackParametersCollection &init_trk_params) {
CKFTracking::process(const edm4eic::TrackParametersCollection& init_trk_params,
const edm4eic::Measurement2DCollection& meas2Ds) {


// create sourcelink and measurement containers
Expand Down
4 changes: 2 additions & 2 deletions src/algorithms/tracking/CKFTracking.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ namespace eicrecon {
std::vector<ActsExamples::Trajectories*>,
std::vector<ActsExamples::ConstTrackContainer*>
>
process(const edm4eic::Measurement2DCollection& meas2Ds,
const edm4eic::TrackParametersCollection &init_trk_params);
process(const edm4eic::TrackParametersCollection& init_trk_params,
const edm4eic::Measurement2DCollection& meas2Ds);

private:
std::shared_ptr<spdlog::logger> m_log;
Expand Down
4 changes: 2 additions & 2 deletions src/global/tracking/CKFTracking_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ class CKFTracking_factory :
m_acts_trajectories_output(),
m_acts_tracks_output()
) = m_algo->process(
*m_measurements_input(),
*m_parameters_input()
*m_parameters_input(),
*m_measurements_input()
);
}
};
Expand Down

0 comments on commit 70f252f

Please sign in to comment.