Belle II Software  release-08-01-10
TrackQualityAsserter.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 #pragma once
9 
10 #include <tracking/trackFindingCDC/findlets/base/Findlet.h>
11 
12 #include <string>
13 #include <vector>
14 
15 namespace Belle2 {
21  namespace TrackFindingCDC {
22  class CDCTrack;
23 
41  class TrackQualityAsserter: public Findlet<CDCTrack&> {
42 
45 
46  public:
49 
51  std::string getDescription() override;
52 
54  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
55 
57  void apply(std::vector<CDCTrack>& tracks) final;
58 
59  private:
61  std::vector<std::string> m_param_corrections;
62 
65  };
66  }
68 }
The Module parameter list class.
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
This module applies configurable correction functions to all found tracks.
void apply(std::vector< CDCTrack > &tracks) final
Main function to clean up the tracks.
std::string getDescription() override
Get the description of the findlet.
bool m_param_onlyNotFittedTracks
Parameter : Flag to use the corrections only for not fitted tracks.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
std::vector< std::string > m_param_corrections
Parameter : The corrections to use.
TrackQualityAsserter()
Constructor setting up the default parameters.
Abstract base class for different kinds of events.