Belle II Software development
TauPairDecay.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/datastore/RelationsObject.h>
12
13namespace Belle2 {
26
27 public:
28
33 TauPairDecay() : m_pmode(0.0), m_mmode(0.0), m_pprong(0.0), m_mprong(0.0), m_megstar(0), m_pegstar(0) {};
34
35 // setters
41 void addTauPlusIdMode(int pmode);
42
48 void addTauMinusIdMode(int mmode);
49
55 void addTauPlusMcProng(int pprong);
56
62 void addTauMinusMcProng(int mprong);
63
69 void addTauMinusEgstar(double megstar);
70
76 void addTauPlusEgstar(double pegstar);
77
83 int getTauPlusIdMode(void) const
84 {
85 return m_pmode;
86 }
87
93 int getTauMinusIdMode(void) const
94 {
95 return m_mmode;
96 }
97
103 int getTauPlusMcProng(void) const
104 {
105 return m_pprong;
106 }
107
113 int getTauMinusMcProng(void) const
114 {
115 return m_mprong;
116 }
117
123 double getTauMinusEgstar(void) const
124 {
125 return m_megstar;
126 }
127
133 double getTauPlusEgstar(void) const
134 {
135 return m_pegstar;
136 }
137
138 private:
139
140 // persistent data members
145 double m_megstar;
146 double m_pegstar;
150 };
151
152
154} // end namespace Belle2
155
Defines interface for accessing relations of objects in StoreArray.
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Class for collecting variables related to tau-taubar MC decay process.
Definition: TauPairDecay.h:25
int getTauPlusMcProng(void) const
Get prong of positive tau decay.
Definition: TauPairDecay.h:103
int m_mprong
Prong of negative tau lepton decay.
Definition: TauPairDecay.h:144
void addTauPlusEgstar(double pegstar)
Add energy of radiated photon from positive tau decay [in tau+ rest frame].
Definition: TauPairDecay.cc:38
double getTauPlusEgstar(void) const
Get energy of radiated photon from positive tau decay [in tau+ rest frame].
Definition: TauPairDecay.h:133
void addTauPlusIdMode(int pmode)
Add ID of positive tau decay.
Definition: TauPairDecay.cc:13
int m_pprong
Prong of positive tau lepton decay.
Definition: TauPairDecay.h:143
double m_pegstar
Energy of photon from positive tau decay.
Definition: TauPairDecay.h:146
void addTauMinusIdMode(int mmode)
Add ID of negative tau decay.
Definition: TauPairDecay.cc:18
double getTauMinusEgstar(void) const
Get energy of radiated photon from negative tau decay [in tau- rest frame].
Definition: TauPairDecay.h:123
void addTauMinusEgstar(double megstar)
Add energy of radiated photon from negative tau decay [in tau- rest frame].
Definition: TauPairDecay.cc:33
TauPairDecay()
Default constructor.
Definition: TauPairDecay.h:33
int getTauPlusIdMode(void) const
Get ID of positive tau decay.
Definition: TauPairDecay.h:83
int m_pmode
Decay ID of positive tau lepton decay.
Definition: TauPairDecay.h:141
int m_mmode
Decay ID of negative tau lepton decay.
Definition: TauPairDecay.h:142
int getTauMinusIdMode(void) const
Get ID of negative tau decay.
Definition: TauPairDecay.h:93
double m_megstar
Energy of photon from negative tau decay.
Definition: TauPairDecay.h:145
void addTauPlusMcProng(int pprong)
Add prong of positive tau decay.
Definition: TauPairDecay.cc:23
int getTauMinusMcProng(void) const
Get prong of negative tau decay.
Definition: TauPairDecay.h:113
void addTauMinusMcProng(int mprong)
Add prong of negative tau decay.
Definition: TauPairDecay.cc:28
Abstract base class for different kinds of events.