Belle II Software development
AxialSegmentPairCreator.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/trackFindingCDC/findlets/base/Findlet.h>
11
12#include <tracking/trackFindingCDC/filters/axialSegmentPair/ChooseableAxialSegmentPairFilter.h>
13
14#include <tracking/trackFindingCDC/topology/ISuperLayer.h>
15
16#include <vector>
17#include <array>
18#include <string>
19
20namespace Belle2 {
26 namespace TrackFindingCDC {
27 class CDCAxialSegmentPair;
28 class CDCSegment2D;
29
31 class AxialSegmentPairCreator : public Findlet<const CDCSegment2D, CDCAxialSegmentPair> {
32
33 private:
36
37 public:
40
42 std::string getDescription() final;
43
45 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
46
48 void apply(const std::vector<CDCSegment2D>& inputSegments,
49 std::vector<CDCAxialSegmentPair>& axialSegmentPairs) final;
50
51 private:
53 void create(const std::vector<const CDCSegment2D*>& startSegments,
54 const std::vector<const CDCSegment2D*>& endSegments,
55 std::vector<CDCAxialSegmentPair>& axialSegmentPairs);
56
57 private:
60
63 };
64 }
66}
The Module parameter list class.
Class providing construction combinatorics for the axial stereo segment pairs.
AxialSegmentPairCreator()
Constructor adding the filter as a subordinary processing signal listener.
std::string getDescription() final
Short description of the findlet.
void create(const std::vector< const CDCSegment2D * > &startSegments, const std::vector< const CDCSegment2D * > &endSegments, std::vector< CDCAxialSegmentPair > &axialSegmentPairs)
Creates segment pairs from a combination of start segments and end segments.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
void apply(const std::vector< CDCSegment2D > &inputSegments, std::vector< CDCAxialSegmentPair > &axialSegmentPairs) final
Main method constructing pairs in adjacent super layers.
std::array< std::vector< const CDCSegment2D * >, ISuperLayerUtil::c_N > m_segmentsBySuperLayer
Structure for the segments grouped by super layer id.
ChooseableAxialSegmentPairFilter m_axialSegmentPairFilter
The filter to be used for the segment pair generation.
Class representing a pair of reconstructed axial segments in adjacent superlayer.
A reconstructed sequence of two dimensional hits in one super layer.
Definition: CDCSegment2D.h:39
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Abstract base class for different kinds of events.
STL namespace.
This is a utility class for the free ISuperLayer type.
Definition: ISuperLayer.h:50