Belle II Software development
EventKinematics.cc
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#include <analysis/dataobjects/EventKinematics.h>
10
11using namespace Belle2;
12
13void EventKinematics::addMissingMomentum(const ROOT::Math::XYZVector& missingMomentum)
14{
15 m_missingMomentum = missingMomentum;
16}
17
18void EventKinematics::addMissingMomentumCMS(const ROOT::Math::XYZVector& missingMomentumCMS)
19{
20 m_missingMomentumCMS = missingMomentumCMS;
21}
22
23void EventKinematics::addMissingEnergyCMS(float missingEnergyCMS)
24{
25 m_missingEnergyCMS = missingEnergyCMS;
26}
27
28void EventKinematics::addMissingMass2(float missingMass2)
29{
30 m_missingMass2 = missingMass2;
31}
32
33void EventKinematics::addVisibleEnergyCMS(float visibleEnergyCMS)
34{
35 m_visibleEnergyCMS = visibleEnergyCMS;
36}
37
38void EventKinematics::addTotalPhotonsEnergy(float totalPhotonsEnergy)
39{
40 m_photonsEnergy = totalPhotonsEnergy;
41}
void addMissingMomentum(const ROOT::Math::XYZVector &missingMomentum)
Add the missing momentum vector in lab.
void addTotalPhotonsEnergy(float totalPhotonsEnergy)
Add total energy of photons in the event.
ROOT::Math::XYZVector m_missingMomentum
Missing momentum of the event in lab.
float m_photonsEnergy
Total energy of photons in lab.
void addVisibleEnergyCMS(float visibleEnergyCMS)
Add visible energy of the event in CMS.
void addMissingMomentumCMS(const ROOT::Math::XYZVector &missingMomentumCMS)
Add the missing momentum vector in CMS.
ROOT::Math::XYZVector m_missingMomentumCMS
Missing momentum of the event in CMS.
float m_missingEnergyCMS
Missing energy of the event in CMS
void addMissingMass2(float missingMass2)
Add missing mass squared.
float m_missingMass2
Missing mass squared computed from m_missingMomentumCMS and m_missingEnergyCMS.
void addMissingEnergyCMS(float missingEnergyCMS)
Add missing energy in CMS.
float m_visibleEnergyCMS
Visible energy of the event in CMS
Abstract base class for different kinds of events.