Belle II Software development
AxialTrackHitMigrator.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 namespace TrackingUtilities {
22 class CDCTrack;
23 class CDCWireHit;
24 }
25
26 namespace TrackFindingCDC {
27
29 class AxialTrackHitMigrator : public
30 TrackingUtilities::Findlet<const TrackingUtilities::CDCWireHit* const, TrackingUtilities::CDCTrack> {
31
32 private:
35
36 public:
38 std::string getDescription() final;
39
41 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
42
44 void apply(const std::vector<const TrackingUtilities::CDCWireHit*>& axialWireHits,
45 std::vector<TrackingUtilities::CDCTrack>& axialTracks) final;
46
47 private:
49 double m_param_dropDistance = 0.20;
50
52 double m_param_addDistance = 0.25;
53 };
54 }
56}
The Module parameter list class.
Exchanges hits between axial tracks based on their distance to the respective trajectory.
void apply(const std::vector< const TrackingUtilities::CDCWireHit * > &axialWireHits, std::vector< TrackingUtilities::CDCTrack > &axialTracks) final
Do the hit migration.
double m_param_addDistance
Parameter : Distance for a hit to be added.
std::string getDescription() final
Short description of the findlet.
TrackingUtilities::Findlet< const TrackingUtilities::CDCWireHit *const, TrackingUtilities::CDCTrack > Super
Type of the base class.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
double m_param_dropDistance
Parameter : Distance for a hit to be removed.
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.