Belle II Software  release-05-01-25
AxialTrackHitMigrator.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 CDCWireHit;
26  class CDCTrack;
27 
29  class AxialTrackHitMigrator : public Findlet<const CDCWireHit* const, CDCTrack> {
30 
31  private:
33  using Super = Findlet<const CDCWireHit* const, CDCTrack>;
34 
35  public:
37  std::string getDescription() final;
38 
40  void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
41 
43  void apply(const std::vector<const CDCWireHit*>& axialWireHits,
44  std::vector<CDCTrack>& axialTracks) final;
45 
46  private:
48  double m_param_dropDistance = 0.20;
49 
51  double m_param_addDistance = 0.25;
52  };
53  }
55 }
Belle2::TrackFindingCDC::AxialTrackHitMigrator::m_param_addDistance
double m_param_addDistance
Parameter : Distance for a hit to be added.
Definition: AxialTrackHitMigrator.h:59
Belle2::TrackFindingCDC::CDCTrack
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:51
Belle2::TrackFindingCDC::AxialTrackHitMigrator::getDescription
std::string getDescription() final
Short description of the findlet.
Definition: AxialTrackHitMigrator.cc:24
Belle2::TrackFindingCDC::AxialTrackHitMigrator::Super
Findlet< const CDCWireHit *const, CDCTrack > Super
Type of the base class.
Definition: AxialTrackHitMigrator.h:41
Belle2::TrackFindingCDC::AxialTrackHitMigrator::exposeParameters
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
Definition: AxialTrackHitMigrator.cc:30
Belle2::TrackFindingCDC::AxialTrackHitMigrator::apply
void apply(const std::vector< const CDCWireHit * > &axialWireHits, std::vector< CDCTrack > &axialTracks) final
Do the hit migration.
Definition: AxialTrackHitMigrator.cc:44
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::AxialTrackHitMigrator::m_param_dropDistance
double m_param_dropDistance
Parameter : Distance for a hit to be removed.
Definition: AxialTrackHitMigrator.h:56
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