-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Named the host track finding traccc::host::ckf_algorithm.
Switched to implementing the reconstruction code for different Detray detector and Covfie magnetic field types as overloads on the call operator of a single "CKF algorithm". Updated all clients to use this new name. Split the source file, to parallelize compilation, and hopefully reduce memory usage in individual build processes.
- Loading branch information
Showing
18 changed files
with
120 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** TRACCC library, part of the ACTS project (R&D line) | ||
* | ||
* (c) 2024 CERN for the benefit of the ACTS project | ||
* | ||
* Mozilla Public License Version 2.0 | ||
*/ | ||
|
||
// Local include(s). | ||
#include "traccc/finding/ckf_algorithm.hpp" | ||
|
||
namespace traccc::host { | ||
|
||
ckf_algorithm::ckf_algorithm(const config_type& config) : m_config{config} {} | ||
|
||
} // namespace traccc::host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/** TRACCC library, part of the ACTS project (R&D line) | ||
* | ||
* (c) 2024 CERN for the benefit of the ACTS project | ||
* | ||
* Mozilla Public License Version 2.0 | ||
*/ | ||
|
||
// Local include(s). | ||
#include "find_tracks.hpp" | ||
#include "traccc/finding/ckf_algorithm.hpp" | ||
|
||
// Detray include(s). | ||
#include <detray/core/detector.hpp> | ||
#include <detray/detectors/bfield.hpp> | ||
#include <detray/navigation/navigator.hpp> | ||
#include <detray/propagator/propagator.hpp> | ||
#include <detray/propagator/rk_stepper.hpp> | ||
|
||
namespace traccc::host { | ||
|
||
ckf_algorithm::output_type ckf_algorithm::operator()( | ||
const telescope_detector::host& det, | ||
const detray::bfield::const_field_t::view_t& field, | ||
const measurement_collection_types::const_view& measurements, | ||
const bound_track_parameters_collection_types::const_view& seeds) const { | ||
|
||
// Perform the track finding using the templated implementation. | ||
return details::find_tracks< | ||
detray::rk_stepper<detray::bfield::const_field_t::view_t, | ||
telescope_detector::host::algebra_type, | ||
detray::constrained_step<>>, | ||
detray::navigator<const telescope_detector::host>>( | ||
det, field, measurements, seeds, m_config); | ||
} | ||
|
||
} // namespace traccc::host |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.