Belle II Software development
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 {
23 private:
26
28 std::vector<std::string> m_strParticleLists;
29
30 public:
33
36 virtual void initialize() override;
38 virtual void event() override;
40 virtual void terminate() override;
41 };
43} // end namespace Belle2
44
45
Base class for Modules.
Definition: Module.h:72
This module replaces the mass of the particles inside the given particleLists with the invariant mass...
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.