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/trackFindingCDC/findlets/base/Findlet.h>
11
12#include <vector>
13#include <string>
14
15namespace Belle2 {
21 namespace TrackFindingCDC {
22 class CDCSegment2D;
23 class CDCWireHit;
24
26 class SegmentCreatorMCTruth : public Findlet<const CDCWireHit, CDCSegment2D> {
27
28 private:
31
32 public:
34 void exposeParameters(ModuleParamList* moduleParamList, const std::string& prefix) final;
35
37 std::string getDescription() final;
38
40 void initialize() final;
41
43 void beginEvent() final;
44
46 void apply(const std::vector<CDCWireHit>& inputWireHits,
47 std::vector<CDCSegment2D>& outputSegments) final;
48
49 private:
52
55 };
56 }
58}
The Module parameter list class.
A reconstructed sequence of two dimensional hits in one super layer.
Definition: CDCSegment2D.h:39
Class representing a hit wire in the central drift chamber.
Definition: CDCWireHit.h:55
Interface for a minimal algorithm part that wants to expose some parameters to a module.
Definition: Findlet.h:26
Findlet that generates segments from wire hits using the mc truth information.
void apply(const std::vector< CDCWireHit > &inputWireHits, std::vector< CDCSegment2D > &outputSegments) final
Main function of the segment finding by the cellular automaton.
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...
Abstract base class for different kinds of events.
STL namespace.