Belle II Software  release-08-01-10
ClusterMatcherModule.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 #include <framework/core/Module.h>
12 #include <framework/datastore/StoreArray.h>
13 
14 #include <mdst/dataobjects/KLMCluster.h>
15 #include <mdst/dataobjects/ECLCluster.h>
16 #include <mdst/dataobjects/Cluster.h>
17 
18 
19 namespace Belle2 {
31  class ClusterMatcherModule : public Module {
32 
33  public:
34 
37 
39  virtual ~ClusterMatcherModule();
40 
42  virtual void initialize() override;
43 
45  virtual void event() override;
46 
48  float m_coneInRad = 0.26;
49 
50  protected:
51 
52  private:
53 
54  // required input
58  // output
61  }; // end class
63 } // end namespace Belle2
Match KLM Clusters to close ECL Clusters.
StoreArray< KLMCluster > m_klmClusters
Required array of input KLMClusters.
virtual void initialize() override
init
virtual void event() override
process event
virtual ~ClusterMatcherModule()
Destructor.
StoreArray< ECLCluster > m_eclClusters
Required array of input ECLClusters.
float m_coneInRad
cone angle for matching (whole cone)
StoreArray< Cluster > m_Clusters
array of output 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.