Belle II Software  release-08-01-10
NeutralHadronMatcherModule.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 <mdst/dataobjects/ECLCluster.h>
13 #include <mdst/dataobjects/MCParticle.h>
14 #include <analysis/dataobjects/Particle.h>
15 #include <analysis/dataobjects/ParticleList.h>
16 namespace Belle2 {
29  public:
32  virtual void initialize() override final;
34  virtual void event() override final;
35  private:
37  int m_mcPDG;
39  std::vector<std::string> m_ParticleLists;
41  double m_effcorr;
43  double m_distance;
45  std::vector<int> m_PDGignore;
47  std::string m_infoName;
49  std::string m_matchedId;
50  };
52 }
Base class for Modules.
Definition: Module.h:72
Module to geometrically match neutral hadrons (KL, neutrons) to ECL clusters.
std::vector< std::string > m_ParticleLists
input particle lists name
virtual void initialize() override final
Overridden initialize method.
double m_effcorr
input efficiency correction
std::string m_infoName
extra info variable for distance
virtual void event() override final
Overridden event method.
std::string m_matchedId
extra info variable for matched MC
std::vector< int > m_PDGignore
ingore clusters that are matched with the following PDG codes
Abstract base class for different kinds of events.