Belle II Software  release-05-01-25
AxialTrackCreatorMCTruth.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Oliver Frost *
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 <vector>
15 #include <string>
16 
17 namespace Belle2 {
24  namespace TrackFindingCDC {
25  class CDCTrack;
26  class CDCWireHit;
27 
29  class AxialTrackCreatorMCTruth : public Findlet<const CDCWireHit, CDCTrack> {
30 
31  private:
33  using Super = Findlet<const CDCWireHit, CDCTrack>;
34 
35  public:
37  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
38 
40  std::string getDescription() final;
41 
43  void initialize() final;
44 
46  void beginEvent() final;
47 
49  void apply(const std::vector<CDCWireHit>& inputWireHits,
50  std::vector<CDCTrack>& outputAxialTracks) final;
51 
52  private:
55 
57  bool m_param_reconstructedPositions = false;
58 
60  bool m_param_fit = false;
61 
63  bool m_param_useOnlyBeforeTOP = false;
64  };
65  }
67 }
Belle2::TrackFindingCDC::AxialTrackCreatorMCTruth::beginEvent
void beginEvent() final
Start processing the current event.
Definition: AxialTrackCreatorMCTruth.cc:82
Belle2::TrackFindingCDC::CDCTrack
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:51
Belle2::TrackFindingCDC::AxialTrackCreatorMCTruth::getDescription
std::string getDescription() final
Short description of the findlet.
Definition: AxialTrackCreatorMCTruth.cc:69
Belle2::TrackFindingCDC::AxialTrackCreatorMCTruth::m_param_reconstructedDriftLength
bool m_param_reconstructedDriftLength
Parameter : Setup the drift length as it can be estimated from two dimensional information.
Definition: AxialTrackCreatorMCTruth.h:62
Belle2::TrackFindingCDC::AxialTrackCreatorMCTruth::m_param_fit
bool m_param_fit
Parameter : Fit the track instead of forwarding the mc truth information.
Definition: AxialTrackCreatorMCTruth.h:68
Belle2::TrackFindingCDC::AxialTrackCreatorMCTruth::initialize
void initialize() final
Initialize the Module before event processing.
Definition: AxialTrackCreatorMCTruth.cc:75
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::AxialTrackCreatorMCTruth::Super
Findlet< const CDCWireHit, CDCTrack > Super
Type of the base class.
Definition: AxialTrackCreatorMCTruth.h:41
Belle2::TrackFindingCDC::AxialTrackCreatorMCTruth::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: AxialTrackCreatorMCTruth.cc:43
Belle2::TrackFindingCDC::AxialTrackCreatorMCTruth::m_param_useOnlyBeforeTOP
bool m_param_useOnlyBeforeTOP
Parameter : Cut tracks after the last layer of the CDC has been reached, assuming the tracks left the...
Definition: AxialTrackCreatorMCTruth.h:71
Belle2::TrackFindingCDC::AxialTrackCreatorMCTruth::apply
void apply(const std::vector< CDCWireHit > &inputWireHits, std::vector< CDCTrack > &outputAxialTracks) final
Main function of the track finding by the cellular automaton.
Definition: AxialTrackCreatorMCTruth.cc:88
Belle2::TrackFindingCDC::CDCWireHit
Class representing a hit wire in the central drift chamber.
Definition: CDCWireHit.h:65
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46
Belle2::TrackFindingCDC::AxialTrackCreatorMCTruth::m_param_reconstructedPositions
bool m_param_reconstructedPositions
Parameter : Switch to reconstruct the positions in the tracks immitating the legendre finder.
Definition: AxialTrackCreatorMCTruth.h:65