Belle II Software  release-05-02-19
KLMClustersReconstructorModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Kirill Chilikin *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 /* KLM headers. */
14 #include <klm/dataobjects/bklm/BKLMHit2d.h>
15 #include <klm/dataobjects/eklm/EKLMHit2d.h>
16 
17 /* Belle 2 headers. */
18 #include <framework/core/Module.h>
19 #include <framework/datastore/StoreArray.h>
20 #include <mdst/dataobjects/KLMCluster.h>
21 
22 namespace Belle2 {
36  class KLMClustersReconstructorModule : public Module {
37 
41  enum PositionMode {
43  c_FirstLayer,
44  };
45 
49  enum ClusterMode {
52  };
53 
54  public:
55 
60 
65 
69  void initialize() override;
70 
74  void beginRun() override;
75 
79  void event() override;
80 
84  void endRun() override;
85 
89  void terminate() override;
90 
91  private:
92 
94  double m_ClusteringAngle;
95 
97  std::string m_PositionModeString;
98 
101 
103  std::string m_ClusterModeString;
104 
107 
110 
113 
116 
117  };
118 
120 }
Belle2::KLMClustersReconstructorModule::m_PositionModeString
std::string m_PositionModeString
Vertex position calculation mode.
Definition: KLMClustersReconstructorModule.h:105
Belle2::KLMClustersReconstructorModule::c_FullAverage
@ c_FullAverage
Full average.
Definition: KLMClustersReconstructorModule.h:50
Belle2::KLMClustersReconstructorModule::m_KLMClusters
StoreArray< KLMCluster > m_KLMClusters
KLM clusters.
Definition: KLMClustersReconstructorModule.h:117
Belle2::KLMClustersReconstructorModule::m_ClusterMode
enum ClusterMode m_ClusterMode
Clusterization mode.
Definition: KLMClustersReconstructorModule.h:114
Belle2::KLMClustersReconstructorModule::c_FirstHit
@ c_FirstHit
Angle from first hit.
Definition: KLMClustersReconstructorModule.h:59
Belle2::KLMClustersReconstructorModule::~KLMClustersReconstructorModule
~KLMClustersReconstructorModule()
Destructor.
Definition: KLMClustersReconstructorModule.cc:42
Belle2::KLMClustersReconstructorModule::beginRun
void beginRun() override
Called when entering a new run.
Definition: KLMClustersReconstructorModule.cc:67
Belle2::KLMClustersReconstructorModule::m_EKLMHit2ds
StoreArray< EKLMHit2d > m_EKLMHit2ds
EKLM 2d hits.
Definition: KLMClustersReconstructorModule.h:123
Belle2::KLMClustersReconstructorModule::ClusterMode
ClusterMode
Clusterization mode.
Definition: KLMClustersReconstructorModule.h:57
Belle2::KLMClustersReconstructorModule::m_ClusterModeString
std::string m_ClusterModeString
Clusterization mode.
Definition: KLMClustersReconstructorModule.h:111
Belle2::KLMClustersReconstructorModule::terminate
void terminate() override
This method is called at the end of the event processing.
Definition: KLMClustersReconstructorModule.cc:210
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::KLMClustersReconstructorModule::m_ClusteringAngle
double m_ClusteringAngle
Clustering angle.
Definition: KLMClustersReconstructorModule.h:102
Belle2::KLMClustersReconstructorModule::event
void event() override
This method is called for each event.
Definition: KLMClustersReconstructorModule.cc:76
Belle2::KLMClustersReconstructorModule::c_AnyHit
@ c_AnyHit
Angle from any hit.
Definition: KLMClustersReconstructorModule.h:58
Belle2::KLMClustersReconstructorModule::KLMClustersReconstructorModule
KLMClustersReconstructorModule()
Constructor.
Definition: KLMClustersReconstructorModule.cc:26
Belle2::KLMClustersReconstructorModule::initialize
void initialize() override
Initializer.
Definition: KLMClustersReconstructorModule.cc:46
Belle2::KLMClustersReconstructorModule::m_PositionMode
enum PositionMode m_PositionMode
Vertex position calculation mode.
Definition: KLMClustersReconstructorModule.h:108
Belle2::KLMClustersReconstructorModule::PositionMode
PositionMode
Vertex position calculation mode.
Definition: KLMClustersReconstructorModule.h:49
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::KLMClustersReconstructorModule::endRun
void endRun() override
This method is called if the current run ends.
Definition: KLMClustersReconstructorModule.cc:206
Belle2::KLMClustersReconstructorModule::c_FirstLayer
@ c_FirstLayer
First layer only.
Definition: KLMClustersReconstructorModule.h:51
Belle2::KLMClustersReconstructorModule::m_BKLMHit2ds
StoreArray< BKLMHit2d > m_BKLMHit2ds
BKLM 2d hits.
Definition: KLMClustersReconstructorModule.h:120