Belle II Software light-2505-deimos
ParticleMassUpdaterModule.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#include <framework/core/Module.h>
11#include <string>
12
13namespace Belle2 {
18
21
26 private:
29
31 std::vector<std::string> m_strParticleLists;
32
33 public:
36
39 virtual void initialize() override;
41 virtual void event() override;
43 virtual void terminate() override;
44 };
45
46} // end namespace Belle2
47
48
Module()
Constructor.
Definition Module.cc:30
virtual void initialize() override
Initialises the module.
virtual void event() override
Method called for each event.
virtual void terminate() override
Write TTree to file, and close file if necessary.
std::vector< std::string > m_strParticleLists
Name of the lists.
int m_pdgCode
PDG code for mass reference.
Abstract base class for different kinds of events.