Belle II Software development
TrackCreatorSingleSegments.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 <cdc/topology/ISuperLayer.h>
13
14#include <map>
15#include <vector>
16#include <string>
17
18namespace Belle2 {
23
24 namespace TrackingUtilities {
25 class CDCTrack;
26 class CDCSegment2D;
27 }
28
29 namespace TrackFindingCDC {
30
38 TrackingUtilities::Findlet<const TrackingUtilities::CDCSegment2D, TrackingUtilities::CDCTrack&> {
39
40 private:
43
44 public:
47
49 std::string getDescription() final;
50
52 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
53
54 public:
56 void
57 apply(const std::vector<TrackingUtilities::CDCSegment2D>& segments, std::vector<TrackingUtilities::CDCTrack>& tracks) final;
58
59 private:
69 };
70 }
72}
The Module parameter list class.
TrackCreatorSingleSegments()
Constructor setting up default parameters.
std::string getDescription() final
Short description of the findlet.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
void apply(const std::vector< TrackingUtilities::CDCSegment2D > &segments, std::vector< TrackingUtilities::CDCTrack > &tracks) final
Main algorithm.
std::map< CDC::ISuperLayer, size_t > m_param_minimalHitsBySuperLayerId
Parameter: Map of super layer ids to minimum hit number for which left over segments shall be forward...
TrackingUtilities::Findlet< const TrackingUtilities::CDCSegment2D, TrackingUtilities::CDCTrack & > Super
Type of the base class.
A reconstructed sequence of two dimensional hits in one super layer.
Class representing a sequence of three dimensional reconstructed hits.
Definition CDCTrack.h:39
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition Findlet.h:26
STL class.
STL class.
signed short ISuperLayer
The type of the layer and superlayer ids.
Definition ISuperLayer.h:24
Abstract base class for different kinds of events.
STL namespace.