Belle II Software  release-08-01-10
TrackExporter.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 <vector>
13 #include <string>
14 
15 namespace Belle2 {
22  namespace TrackFindingCDC {
23  class CDCTrack;
24 
26  class TrackExporter : public Findlet<CDCTrack&> {
27 
28  private:
31 
32  public:
34  std::string getDescription() final;
35 
37  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
38 
40  void initialize() final;
41 
43  void apply(std::vector<CDCTrack>& tracks) final;
44 
45  private:
47  bool m_param_exportTracks = true;
48 
50  std::string m_param_exportTracksInto = "";
51 
54 
57  };
58  }
60 }
The Module parameter list class.
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:41
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Findlet to exports CDCTracks as RecoTracks.
Definition: TrackExporter.h:26
void apply(std::vector< CDCTrack > &tracks) final
Write give tracks into track store array.
void initialize() final
Signal initialisation phase to register store array for export.
bool m_param_exportTracks
Parameter: Switch if a RecoTrack be generated for each track.
Definition: TrackExporter.h:47
std::string getDescription() final
Short description of the findlet.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
std::string m_param_exportTracksInto
Parameter: Name of the output StoreArray of the RecoTracks generated by this module.
Definition: TrackExporter.h:50
bool m_param_discardCovarianceMatrix
Parameter: Discard covariance matrix in favour of a hand written one.
Definition: TrackExporter.h:53
double m_param_monopoleMomSeed
Parameter: If non-zero, estimate seeds as for monopoles and set the momentum magnitude as this value.
Definition: TrackExporter.h:56
Abstract base class for different kinds of events.