Belle II Software  release-06-01-15
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/bklm/BKLMHit2d.h>
13 #include <klm/dataobjects/eklm/EKLMHit2d.h>
14 
15 /* Belle 2 headers. */
16 #include <framework/core/Module.h>
17 #include <framework/datastore/StoreArray.h>
18 #include <mdst/dataobjects/KLMCluster.h>
19 
20 namespace Belle2 {
35 
39  enum PositionMode {
42  };
43 
47  enum ClusterMode {
50  };
51 
52  public:
53 
58 
63 
67  void initialize() override;
68 
72  void beginRun() override;
73 
77  void event() override;
78 
82  void endRun() override;
83 
87  void terminate() override;
88 
89  private:
90 
93 
95  std::string m_PositionModeString;
96 
99 
101  std::string m_ClusterModeString;
102 
105 
108 
111 
114 
115  };
116 
118 }
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.
StoreArray< BKLMHit2d > m_BKLMHit2ds
BKLM 2d hits.
void beginRun() override
Called when entering a new run.
StoreArray< EKLMHit2d > m_EKLMHit2ds
EKLM 2d hits.
StoreArray< KLMCluster > m_KLMClusters
KLM clusters.
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.