Belle II Software  release-08-00-10
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 
13 namespace Belle2 {
25  class TauPairDecay : public RelationsObject {
26 
27  public:
28 
33  TauPairDecay() : m_pmode(0.0), m_mmode(0.0), m_pprong(0.0), m_mprong(0.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  int getTauPlusIdMode(void) const
70  {
71  return m_pmode;
72  }
73 
79  int getTauMinusIdMode(void) const
80  {
81  return m_mmode;
82  }
83 
89  int getTauPlusMcProng(void) const
90  {
91  return m_pprong;
92  }
93 
99  int getTauMinusMcProng(void) const
100  {
101  return m_mprong;
102  }
103 
104  private:
105 
106  // persistent data members
107  int m_pmode;
108  int m_mmode;
109  int m_pprong;
110  int m_mprong;
115  };
116 
117 
119 } // end namespace Belle2
120 
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:89
int m_mprong
Prong of negative tau lepton decay.
Definition: TauPairDecay.h:110
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:109
void addTauMinusIdMode(int mmode)
Add ID of negative tau decay.
Definition: TauPairDecay.cc:18
TauPairDecay()
Default constructor.
Definition: TauPairDecay.h:33
int getTauPlusIdMode(void) const
Get ID of positive tau decay.
Definition: TauPairDecay.h:69
int m_pmode
Decay ID of positive tau lepton decay.
Definition: TauPairDecay.h:107
int m_mmode
Decay ID of negative tau lepton decay.
Definition: TauPairDecay.h:108
int getTauMinusIdMode(void) const
Get ID of negative tau decay.
Definition: TauPairDecay.h:79
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:99
void addTauMinusMcProng(int mprong)
Add prong of negative tau decay.
Definition: TauPairDecay.cc:28
Abstract base class for different kinds of events.