Belle II Software development
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>
16namespace Belle2 {
26 public:
29 virtual void initialize() override final;
31 virtual void event() override final;
32 private:
36 std::vector<std::string> m_ParticleLists;
38 double m_effcorr;
40 double m_distance;
42 std::vector<int> m_PDGignore;
44 std::string m_infoName;
46 std::string m_matchedId;
47 };
49}
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
ignore clusters that are matched with the following PDG codes
Abstract base class for different kinds of events.