Belle II Software  release-05-01-25
TrackQualityAsserter.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/trackFindingCDC/findlets/base/Findlet.h>
13 
14 #include <string>
15 #include <vector>
16 
17 namespace Belle2 {
23  namespace TrackFindingCDC {
24  class CDCTrack;
25 
43  class TrackQualityAsserter: public Findlet<CDCTrack&> {
44 
46  using Super = Findlet<CDCTrack&>;
47 
48  public:
51 
53  std::string getDescription() override;
54 
56  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
57 
59  void apply(std::vector<CDCTrack>& tracks) final;
60 
61  private:
63  std::vector<std::string> m_param_corrections;
64 
66  bool m_param_onlyNotFittedTracks = false;
67  };
68  }
70 }
Belle2::TrackFindingCDC::TrackQualityAsserter::m_param_onlyNotFittedTracks
bool m_param_onlyNotFittedTracks
Parameter : Flag to use the corrections only for not fitted tracks.
Definition: TrackQualityAsserter.h:74
Belle2::TrackFindingCDC::TrackQualityAsserter::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: TrackQualityAsserter.cc:36
Belle2::TrackFindingCDC::TrackQualityAsserter::m_param_corrections
std::vector< std::string > m_param_corrections
Parameter : The corrections to use.
Definition: TrackQualityAsserter.h:71
Belle2::TrackFindingCDC::TrackQualityAsserter::getDescription
std::string getDescription() override
Get the description of the findlet.
Definition: TrackQualityAsserter.cc:30
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::TrackQualityAsserter::TrackQualityAsserter
TrackQualityAsserter()
Constructor setting up the default parameters.
Definition: TrackQualityAsserter.cc:24
Belle2::TrackFindingCDC::TrackQualityAsserter::Super
Findlet< CDCTrack & > Super
Type of the base class.
Definition: TrackQualityAsserter.h:54
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46
Belle2::TrackFindingCDC::TrackQualityAsserter::apply
void apply(std::vector< CDCTrack > &tracks) final
Main function to clean up the tracks.
Definition: TrackQualityAsserter.cc:54