Belle II Software development
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/trackingUtilities/findlets/base/Findlet.h>
11
12#include <vector>
13#include <string>
14
15namespace Belle2 {
20
21
22 namespace TrackingUtilities {
23 class CDCTrack;
24 class CDCWireHit;
25 }
26
27 namespace TrackFindingCDC {
28
31 TrackingUtilities::Findlet<const TrackingUtilities::CDCWireHit, TrackingUtilities::CDCTrack> {
32
33 private:
36
37 public:
39 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
40
42 std::string getDescription() final;
43
45 void initialize() final;
46
48 void beginEvent() final;
49
51 void apply(const std::vector<TrackingUtilities::CDCWireHit>& inputWireHits,
52 std::vector<TrackingUtilities::CDCTrack>& outputAxialTracks) final;
53
54 private:
57
60
62 bool m_param_fit = false;
63
66 };
67 }
69}
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.
void apply(const std::vector< TrackingUtilities::CDCWireHit > &inputWireHits, std::vector< TrackingUtilities::CDCTrack > &outputAxialTracks) final
Main function of the track finding by the cellular automaton.
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 imitating the Legendre finder.
TrackingUtilities::Findlet< const TrackingUtilities::CDCWireHit, TrackingUtilities::CDCTrack > Super
Type of the base class.
bool m_param_fit
Parameter : Fit the track instead of forwarding the MC truth information.
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:39
Class representing a hit wire in the central drift chamber.
Definition CDCWireHit.h:58
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition Findlet.h:26
STL class.
Abstract base class for different kinds of events.
STL namespace.