Belle II Software  release-05-02-19
KalmanRecoFitterModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Nils Braun *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <tracking/modules/fitter/BaseRecoFitterModule.h>
13 #include <genfit/KalmanFitterRefTrack.h>
14 
15 namespace Belle2 {
22  class KalmanRecoFitterModule : public BaseRecoFitterModule {
23  public:
26 
27  protected:
29  std::shared_ptr<genfit::AbsFitter> createFitter() const override;
30 
31  private:
32  unsigned int m_param_minimumIterations;
33  unsigned int m_param_maximumIterations;
35  unsigned int m_param_maxNumberOfFailedHits = 5;
36  };
38 }
Belle2::KalmanRecoFitterModule::KalmanRecoFitterModule
KalmanRecoFitterModule()
Module for the Kalman Fitter.
Definition: KalmanRecoFitterModule.cc:17
Belle2::KalmanRecoFitterModule::m_param_minimumIterations
unsigned int m_param_minimumIterations
Minimum number of iterations for the Kalman filter.
Definition: KalmanRecoFitterModule.h:40
Belle2::KalmanRecoFitterModule::m_param_maxNumberOfFailedHits
unsigned int m_param_maxNumberOfFailedHits
Maximum number of failed hits before aborting the fit.
Definition: KalmanRecoFitterModule.h:43
Belle2::KalmanRecoFitterModule::createFitter
std::shared_ptr< genfit::AbsFitter > createFitter() const override
Create a Kalman fitter.
Definition: KalmanRecoFitterModule.cc:34
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::KalmanRecoFitterModule::m_param_maximumIterations
unsigned int m_param_maximumIterations
Maximum number of iterations for the Kalman filter.
Definition: KalmanRecoFitterModule.h:41