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.");
21 addParam(
"minimumIterations", m_param_minimumIterations,
22 "Minimum number of iterations for the Kalman filter",
static_cast<unsigned int>(3));
23 addParam(
"maximumIterations", m_param_maximumIterations,
24 "Maximum number of iterations for the Kalman filter",
static_cast<unsigned int>(10));
26 addParam(
"numberOfFailedHits", m_param_maxNumberOfFailedHits,
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.
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.
#define REG_MODULE(moduleName)
Register the given module (without 'Module' suffix) with the framework.
Abstract base class for different kinds of events.