Belle II Software  release-05-02-19
MCMatcherKLMClustersModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2016 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 /* Belle 2 headers. */
14 #include <framework/core/Module.h>
15 #include <framework/datastore/StoreArray.h>
16 #include <mdst/dataobjects/KLMCluster.h>
17 
18 namespace Belle2 {
30  class MCMatcherKLMClustersModule : public Module {
31 
32  public:
33 
38 
43 
47  void initialize() override;
48 
52  void beginRun() override;
53 
57  void event() override;
58 
62  void endRun() override;
63 
67  void terminate() override;
68 
69  private:
70 
72  bool m_Hit2dRelations;
73 
76 
77  };
78 
80 }
Belle2::MCMatcherKLMClustersModule::m_Hit2dRelations
bool m_Hit2dRelations
Add relations for BKLMHit2d and EKLMHit2d.
Definition: MCMatcherKLMClustersModule.h:80
Belle2::MCMatcherKLMClustersModule::m_KLMClusters
StoreArray< KLMCluster > m_KLMClusters
KLM clusters.
Definition: MCMatcherKLMClustersModule.h:83
Belle2::MCMatcherKLMClustersModule::event
void event() override
This method is called for each event.
Definition: MCMatcherKLMClustersModule.cc:62
Belle2::MCMatcherKLMClustersModule::~MCMatcherKLMClustersModule
~MCMatcherKLMClustersModule()
Destructor.
Definition: MCMatcherKLMClustersModule.cc:40
Belle2::MCMatcherKLMClustersModule::initialize
void initialize() override
Initializer.
Definition: MCMatcherKLMClustersModule.cc:44
Belle2::MCMatcherKLMClustersModule::endRun
void endRun() override
This method is called if the current run ends.
Definition: MCMatcherKLMClustersModule.cc:179
Belle2::MCMatcherKLMClustersModule::beginRun
void beginRun() override
Called when entering a new run.
Definition: MCMatcherKLMClustersModule.cc:58
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::MCMatcherKLMClustersModule::MCMatcherKLMClustersModule
MCMatcherKLMClustersModule()
Constructor.
Definition: MCMatcherKLMClustersModule.cc:32
Belle2::StoreArray
Accessor to arrays stored in the data store.
Definition: ECLMatchingPerformanceExpertModule.h:33
Belle2::MCMatcherKLMClustersModule::terminate
void terminate() override
This method is called at the end of the event processing.
Definition: MCMatcherKLMClustersModule.cc:183