Belle II Software development
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
19namespace Belle2 {
29
30 public:
31
34
36 virtual ~ClusterMatcherModule();
37
39 virtual void initialize() override;
40
42 virtual void event() override;
43
45 float m_coneInRad = 0.26;
46
47 protected:
48
49 private:
50
51 // required input
55 // output
58 }; // end class
60} // 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.