Belle II Software  release-05-01-25
AxialTrackFinderHough.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/findlets/minimal/AxialTrackMerger.h>
15 #include <tracking/trackFindingCDC/findlets/minimal/AxialTrackCreatorHitHough.h>
16 #include <tracking/trackFindingCDC/findlets/minimal/AxialTrackHitMigrator.h>
17 
18 #include <tracking/trackFindingCDC/utilities/ParameterVariant.h>
19 
20 #include <vector>
21 #include <string>
22 
23 namespace Belle2 {
30  namespace TrackFindingCDC {
31  class CDCWireHit;
32  class CDCTrack;
33 
35  class AxialTrackFinderHough : public Findlet<const CDCWireHit, CDCTrack> {
36 
37  private:
39  using Super = Findlet<const CDCWireHit, CDCTrack>;
40 
41  public:
44 
46  std::string getDescription() final;
47 
49  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
50 
52  void apply(const std::vector<CDCWireHit>& wireHits, std::vector<CDCTrack>& tracks) final;
53 
54  public:
56  std::vector<ParameterVariantMap> getDefaultFineRelaxationSchedule() const;
57 
59  std::vector<ParameterVariantMap> getDefaultRoughRelaxationSchedule() const;
60 
61  private:
63  const double m_maxCurvAcceptance = 0.13;
64 
65  private: // findlets
68 
71 
74 
77  };
78  }
80 }
Belle2::TrackFindingCDC::CDCTrack
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:51
Belle2::TrackFindingCDC::AxialTrackFinderHough::m_fineHoughSearch
AxialTrackCreatorHitHough m_fineHoughSearch
First hough search over a fine hough grid.
Definition: AxialTrackFinderHough.h:75
Belle2::TrackFindingCDC::AxialTrackFinderHough::getDefaultRoughRelaxationSchedule
std::vector< ParameterVariantMap > getDefaultRoughRelaxationSchedule() const
Get a series of parameters to be set for each pass over the rough hough space.
Definition: AxialTrackFinderHough.cc:192
Belle2::TrackFindingCDC::AxialTrackHitMigrator
Exchanges hits between axial tracks based on their distance to the respective trajectory.
Definition: AxialTrackHitMigrator.h:37
Belle2::TrackFindingCDC::AxialTrackFinderHough::AxialTrackFinderHough
AxialTrackFinderHough()
Constructor.
Definition: AxialTrackFinderHough.cc:23
Belle2::TrackFindingCDC::AxialTrackFinderHough::m_axialTrackHitMigrator
AxialTrackHitMigrator m_axialTrackHitMigrator
Findlet to exchange hits between tracks based on their proximity to the respective trajectory.
Definition: AxialTrackFinderHough.h:81
Belle2::TrackFindingCDC::AxialTrackMerger
Findlet implementing the merging of axial tracks found in the legendre tree search.
Definition: AxialTrackMerger.h:40
Belle2::TrackFindingCDC::AxialTrackFinderHough::m_axialTrackMerger
AxialTrackMerger m_axialTrackMerger
Findlet to merge the tracks after the hough finder.
Definition: AxialTrackFinderHough.h:84
Belle2::TrackFindingCDC::AxialTrackFinderHough::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: AxialTrackFinderHough.cc:67
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::AxialTrackCreatorHitHough
Generates axial tracks from hit using the special leaf processing inspired by the legendre algorithm.
Definition: AxialTrackCreatorHitHough.h:42
Belle2::TrackFindingCDC::AxialTrackFinderHough::m_maxCurvAcceptance
const double m_maxCurvAcceptance
Maximal curvature acceptance of the CDC.
Definition: AxialTrackFinderHough.h:71
Belle2::TrackFindingCDC::AxialTrackFinderHough::getDefaultFineRelaxationSchedule
std::vector< ParameterVariantMap > getDefaultFineRelaxationSchedule() const
Get a series of parameters to be set for each pass over the fine hough space.
Definition: AxialTrackFinderHough.cc:111
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::AxialTrackFinderHough::m_roughHoughSearch
AxialTrackCreatorHitHough m_roughHoughSearch
Second hough search over a fine hough grid.
Definition: AxialTrackFinderHough.h:78
Belle2::TrackFindingCDC::AxialTrackFinderHough::getDescription
std::string getDescription() final
Short description of the findlet.
Definition: AxialTrackFinderHough.cc:62
Belle2::TrackFindingCDC::AxialTrackFinderHough::apply
void apply(const std::vector< CDCWireHit > &wireHits, std::vector< CDCTrack > &tracks) final
Generates the tracks from the given segments into the output argument.
Definition: AxialTrackFinderHough.cc:76
Belle2::TrackFindingCDC::AxialTrackFinderHough::Super
Findlet< const CDCWireHit, CDCTrack > Super
Type of the base class.
Definition: AxialTrackFinderHough.h:47