9#include <tracking/modules/fitter/KalmanRecoFitterModule.h>
17 setDescription(
"Kalman Fitter using Genfit. If you have TrackCands, you have to convert them to RecoTracks"
18 "using the RecoTrackCreatorModule first. After that, you probably want to add the measurements from the"
19 "hits using the MeasurementCreatorModule.");
22 "Minimum number of iterations for the Kalman filter",
static_cast<unsigned int>(3));
24 "Maximum number of iterations for the Kalman filter",
static_cast<unsigned int>(10));
27 "Maximum number of failed hits before aborting the fit.",
static_cast<unsigned int>(5));
34 std::shared_ptr<genfit::KalmanFitterRefTrack> fitter = std::make_shared<genfit::KalmanFitterRefTrack>();
A base class for all modules that implement a fitter for reco tracks.
KalmanRecoFitterModule()
Module for the Kalman Fitter.
unsigned int m_param_maxNumberOfFailedHits
Maximum number of failed hits before aborting the fit.
unsigned int m_param_minimumIterations
Minimum number of iterations for the Kalman filter.
unsigned int m_param_maximumIterations
Maximum number of iterations for the Kalman filter.
std::shared_ptr< genfit::AbsFitter > createFitter() const override
Create a Kalman fitter.
void setDescription(const std::string &description)
Sets the description of the module.
void addParam(const std::string &name, T ¶mVariable, const std::string &description, const T &defaultValue)
Adds a new parameter to the module.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.