Belle II Software  release-05-01-25
TrackCombiner.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 <tracking/trackFindingCDC/eventdata/tracks/CDCTrack.h>
15 
16 #include <tracking/trackFindingCDC/ca/MultipassCellularPathFinder.h>
17 
18 #include <vector>
19 #include <string>
20 
21 namespace Belle2 {
26  namespace TrackFindingCDC {
27  class CDCSegment3D;
28 
30  class TrackCombiner : public Findlet<const CDCTrack, const CDCTrack, CDCTrack> {
31 
32  private:
34  using Super = Findlet<const CDCTrack, const CDCTrack, CDCTrack>;
35 
36  public:
39 
41  std::string getDescription() final;
42 
44  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
45 
46  public:
48  void apply(const std::vector<CDCTrack>& inputTracks,
49  const std::vector<CDCTrack>& secondInputTracks,
50  std::vector<CDCTrack>& tracks) final;
51 
52  private:
54  bool m_param_identifyCommonSegments = false;
55 
56  private:
59  };
60  }
62 }
Belle2::TrackFindingCDC::CDCTrack
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:51
Belle2::TrackFindingCDC::TrackCombiner::TrackCombiner
TrackCombiner()
Default constructor.
Belle2::TrackFindingCDC::TrackCombiner::m_param_identifyCommonSegments
bool m_param_identifyCommonSegments
Parameter : Activate the identification of common segments.
Definition: TrackCombiner.h:62
Belle2::TrackFindingCDC::CDCSegment3D
A segment consisting of three dimensional reconstructed hits.
Definition: CDCSegment3D.h:36
Belle2::TrackFindingCDC::MultipassCellularPathFinder
Class to combine the run of the cellular automaton and the repeated path extraction.
Definition: MultipassCellularPathFinder.h:46
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::TrackCombiner::Super
Findlet< const CDCTrack, const CDCTrack, CDCTrack > Super
Type of the base class.
Definition: TrackCombiner.h:42
Belle2::TrackFindingCDC::TrackCombiner::apply
void apply(const std::vector< CDCTrack > &inputTracks, const std::vector< CDCTrack > &secondInputTracks, std::vector< CDCTrack > &tracks) final
Main algorithm.
Definition: TrackCombiner.cc:100
Belle2::TrackFindingCDC::TrackCombiner::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: TrackCombiner.cc:91
Belle2::TrackFindingCDC::TrackCombiner::m_cellularPathFinder
MultipassCellularPathFinder< const CDCSegment3D > m_cellularPathFinder
Instance of the cellular automaton path finder.
Definition: TrackCombiner.h:66
Belle2::TrackFindingCDC::TrackCombiner::getDescription
std::string getDescription() final
Short description of the findlet.
Definition: TrackCombiner.cc:86
Belle2::ModuleParamList
The Module parameter list class.
Definition: ModuleParamList.h:46