Belle II Software  release-08-01-10
KLMClustersReconstructorModule.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 
9 #pragma once
10 
11 /* KLM headers. */
12 #include <klm/dataobjects/KLMHit2d.h>
13 
14 /* Basf2 headers. */
15 #include <framework/core/Module.h>
16 #include <framework/datastore/StoreArray.h>
17 #include <mdst/dataobjects/KLMCluster.h>
18 
19 namespace Belle2 {
34 
38  enum PositionMode {
41  };
42 
46  enum ClusterMode {
49  };
50 
51  public:
52 
57 
62 
66  void initialize() override;
67 
71  void beginRun() override;
72 
76  void event() override;
77 
81  void endRun() override;
82 
86  void terminate() override;
87 
88  private:
89 
92 
94  std::string m_PositionModeString;
95 
98 
100  std::string m_ClusterModeString;
101 
104 
107 
110 
111  };
112 
114 }
Module KLMClustersReconstructorModule.
enum ClusterMode m_ClusterMode
Clusterization mode.
void event() override
This method is called for each event.
void endRun() override
This method is called if the current run ends.
void terminate() override
This method is called at the end of the event processing.
std::string m_PositionModeString
Vertex position calculation mode.
enum PositionMode m_PositionMode
Vertex position calculation mode.
void beginRun() override
Called when entering a new run.
StoreArray< KLMCluster > m_KLMClusters
KLM clusters.
StoreArray< KLMHit2d > m_Hit2ds
Two-dimensional hits.
Base class for Modules.
Definition: Module.h:72
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.