ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Examples/Algorithms/Fitting/include/ACTFW/Fitting/FittingAlgorithm.hpp>
Classes | |
struct | Config |
Public Types | |
using | FitterResult = Acts::Result< Acts::KalmanFitterResult< SimSourceLink >> |
using | FitterFunction = std::function< FitterResult(const std::vector< SimSourceLink > &, const TrackParameters &, const Acts::KalmanFitterOptions< Acts::VoidOutlierFinder > &)> |
Public Member Functions | |
FittingAlgorithm (Config cfg, Acts::Logging::Level lvl) | |
FW::ProcessCode | execute (const FW::AlgorithmContext &ctx) const finaloverride |
Public Member Functions inherited from FW::BareAlgorithm | |
BareAlgorithm (std::string name, Acts::Logging::Level level=Acts::Logging::INFO) | |
std::string | name () const finaloverride |
The algorithm name. | |
Static Public Member Functions | |
static FitterFunction | makeFitterFunction (std::shared_ptr< const Acts::TrackingGeometry > trackingGeometry, Options::BFieldVariant magneticField, Acts::Logging::Level lvl) |
Private Attributes | |
Config | m_cfg |
Additional Inherited Members | |
Protected Member Functions inherited from FW::BareAlgorithm | |
const Acts::Logger & | logger () const |
Definition at line 24 of file FittingAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 24 of file FittingAlgorithm.hpp
using FW::FittingAlgorithm::FitterFunction = std::function<FitterResult( const std::vector<SimSourceLink>&, const TrackParameters&, const Acts::KalmanFitterOptions<Acts::VoidOutlierFinder>&)> |
Fit function that takes input measurements, initial trackstate and fitter options and returns some fit-specific result.
Definition at line 31 of file FittingAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 31 of file FittingAlgorithm.hpp
Definition at line 26 of file FittingAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 26 of file FittingAlgorithm.hpp
FW::FittingAlgorithm::FittingAlgorithm | ( | Config | cfg, |
Acts::Logging::Level | lvl | ||
) |
Constructor of the fitting algorithm
cfg | is the config struct to configure the algorihtm |
level | is the logging level |
Definition at line 18 of file FittingAlgorithm.cpp.
View newest version in sPHENIX GitHub at line 18 of file FittingAlgorithm.cpp
References FW::FittingAlgorithm::Config::inputInitialTrackParameters, FW::FittingAlgorithm::Config::inputProtoTracks, FW::FittingAlgorithm::Config::inputSourceLinks, m_cfg, and FW::FittingAlgorithm::Config::outputTrajectories.
|
finaloverridevirtual |
Framework execute method of the fitting algorithm
ctx | is the algorithm context that holds event-wise information |
Implements FW::BareAlgorithm.
Definition at line 35 of file FittingAlgorithm.cpp.
View newest version in sPHENIX GitHub at line 35 of file FittingAlgorithm.cpp
References ACTS_DEBUG, ACTS_FATAL, ACTS_VERBOSE, ACTS_WARNING, FW::WhiteBoard::add(), FW::AlgorithmContext::calibContext, FW::AlgorithmContext::eventStore, FW::AlgorithmContext::geoContext, FW::WhiteBoard::get(), FW::AlgorithmContext::magFieldContext, and SUCCESS.
|
static |
Create the fitter function implementation.
The magnetic field is intentionally given by-value since the variant contains shared_ptr anyways.
Definition at line 46 of file FittingAlgorithmFitterFunction.cpp.
View newest version in sPHENIX GitHub at line 46 of file FittingAlgorithmFitterFunction.cpp
References Acts::getDefaultLogger(), Acts::Test::navigator, and propagation_timing::stepper.
|
private |
Definition at line 67 of file FittingAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 67 of file FittingAlgorithm.hpp
Referenced by FittingAlgorithm().