Belle II Software development
SegmentCreatorMCTruth.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 CDCWireHit;
23 class CDCSegment2D;
24 }
25
26 namespace TrackFindingCDC {
27
29 class SegmentCreatorMCTruth : public
30 TrackingUtilities::Findlet<const TrackingUtilities::CDCWireHit, TrackingUtilities::CDCSegment2D> {
31
32 private:
35
36 public:
38 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
39
41 std::string getDescription() final;
42
44 void initialize() final;
45
47 void beginEvent() final;
48
50 void apply(const std::vector<TrackingUtilities::CDCWireHit>& inputWireHits,
51 std::vector<TrackingUtilities::CDCSegment2D>& outputSegments) final;
52
53 private:
56
59 };
60 }
62}
The Module parameter list class.
Findlet that generates segments from wire hits using the mc truth information.
TrackingUtilities::Findlet< const TrackingUtilities::CDCWireHit, TrackingUtilities::CDCSegment2D > Super
Type of the base class.
void initialize() final
Initialize the Module before event processing.
bool m_param_reconstructedDriftLength
Parameter : Setup the drift length as it can be estimated from two dimensional information.
void beginEvent() final
Start processing the current event.
std::string getDescription() final
Short description of the findlet.
void exposeParameters(ModuleParamList *moduleParamList, const std::string &prefix) final
Expose the parameters to a module.
bool m_param_reconstructedPositions
Parameter : Switch to reconstruct the positions in the segments imitating the facet ca picking up all...
void apply(const std::vector< TrackingUtilities::CDCWireHit > &inputWireHits, std::vector< TrackingUtilities::CDCSegment2D > &outputSegments) final
Main function of the segment finding by the cellular automaton.
A reconstructed sequence of two dimensional hits in one super layer.
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.