Belle II Software development
ParticleMomentumUpdaterModule.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
12#include <framework/datastore/StoreObjPtr.h>
13
14#include <analysis/dataobjects/Particle.h>
15#include <analysis/dataobjects/ParticleList.h>
16
17#include <analysis/DecayDescriptor/DecayDescriptor.h>
18
19#include <string>
20
21namespace Belle2 {
31 private:
33 std::string m_particleList;
42
43 public:
46
49 virtual void initialize() override;
51 virtual void event() override;
53 virtual void terminate() override;
54 };
56} // end namespace Belle2
57
58
The DecayDescriptor stores information about a decay tree or parts of a decay tree.
Base class for Modules.
Definition: Module.h:72
This module replaces the momentum of the Particle in the target particle list by p(beam) - p(selected...
std::string m_decayStringDaughters
DecayString specifying the daughters used to update the momentum of the target particle.
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.
DecayDescriptor m_pDDescriptorTarget
Decay descriptor of the target particles.
std::string m_particleList
name of input particle list.
DecayDescriptor m_pDDescriptorDaughters
Decay descriptor of the daughter particles.
std::string m_decayStringTarget
DecayString specifying the target Particle whose momentum will be updated.
Abstract base class for different kinds of events.