Belle II Software  release-05-01-25
ResidualSVDStateFilter.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - 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/ckf/svd/filters/states/BaseSVDStateFilter.h>
13 #include <tracking/ckf/svd/utilities/SVDKalmanStepper.h>
14 #include <framework/gearbox/Unit.h>
15 
16 namespace Belle2 {
21  class ResidualSVDStateFilter : public BaseSVDStateFilter {
23  public:
25  TrackFindingCDC::Weight operator()(const BaseSVDStateFilter::Object& pair) final;
26 
28  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) override;
29 
30  private:
33 
35  double m_param_maximalResidual = 2 * Unit::cm;
36  };
38 }
Belle2::Unit::cm
static const double cm
Standard units with the value = 1.
Definition: Unit.h:57
Belle2::ResidualSVDStateFilter::m_param_maximalResidual
double m_param_maximalResidual
Parameter: maximal residual.
Definition: ResidualSVDStateFilter.h:43
Belle2::ResidualSVDStateFilter::m_kalmanStepper
SVDKalmanStepper m_kalmanStepper
Kalman Stepper to calculate the residual.
Definition: ResidualSVDStateFilter.h:40
Belle2::ResidualSVDStateFilter::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) override
Expose the maximal residual.
Definition: ResidualSVDStateFilter.cc:20
Belle2::SVDKalmanStepper
Kalman stepper implementation for the SVD CKF.
Definition: SVDKalmanStepper.h:26
Belle2::BaseSVDStateFilter
TrackFindingCDC::Filter< std::pair< const std::vector< TrackFindingCDC::WithWeight< const CKFToSVDState * > >, CKFToSVDState * > > BaseSVDStateFilter
Base filter for CKF SVD states.
Definition: BaseSVDStateFilter.h:32
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ResidualSVDStateFilter::operator()
TrackFindingCDC::Weight operator()(const BaseSVDStateFilter::Object &pair) final
Return 1/residual and cut at the maximum residual.
Definition: ResidualSVDStateFilter.cc:26
Belle2::TrackFindingCDC::Filter::Object
AObject Object
Type of the object to be analysed.
Definition: Filter.dcl.h:43