Belle II Software  release-08-01-10
AxialTrackCreatorMCTruth.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  class CDCWireHit;
25 
27  class AxialTrackCreatorMCTruth : public Findlet<const CDCWireHit, CDCTrack> {
28 
29  private:
32 
33  public:
35  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
36 
38  std::string getDescription() final;
39 
41  void initialize() final;
42 
44  void beginEvent() final;
45 
47  void apply(const std::vector<CDCWireHit>& inputWireHits,
48  std::vector<CDCTrack>& outputAxialTracks) final;
49 
50  private:
53 
56 
58  bool m_param_fit = false;
59 
62  };
63  }
65 }
The Module parameter list class.
Findlet that generates tracks from wire hits using the mc truth information.
void initialize() final
Initialize the Module before event processing.
bool m_param_reconstructedDriftLength
Parameter : Setup the drift length as it can be estimated from two dimensional information.
void beginEvent() final
Start processing the current event.
std::string getDescription() final
Short description of the findlet.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
bool m_param_reconstructedPositions
Parameter : Switch to reconstruct the positions in the tracks immitating the legendre finder.
bool m_param_fit
Parameter : Fit the track instead of forwarding the mc truth information.
void apply(const std::vector< CDCWireHit > &inputWireHits, std::vector< CDCTrack > &outputAxialTracks) final
Main function of the track finding by the cellular automaton.
bool m_param_useOnlyBeforeTOP
Parameter : Cut tracks after the last layer of the CDC has been reached, assuming the tracks left the...
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:41
Class representing a hit wire in the central drift chamber.
Definition: CDCWireHit.h:55
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Abstract base class for different kinds of events.