BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
Kinem4 Class Reference

#include <kinem.h>

+ Inheritance diagram for Kinem4:

Public Member Functions

 Kinem4 ()
 
 Kinem4 (double xp1, double xp2, double xp3, double xp4, double xs12, double xs23, double xm1, double xm2, double xm3, double xm4)
 
double p1 () const
 
double p2 () const
 
double p3 () const
 
double p4 () const
 
double m1 () const
 
double m2 () const
 
double m3 () const
 
double m4 () const
 
double s12 () const
 
double s23 () const
 
- Public Member Functions inherited from Kinem< 4 >
bool operator== (const Kinem &kinem) const
 
double mass (int i) const
 

Additional Inherited Members

- Protected Types inherited from Kinem< 4 >
enum  Invar
 
- Protected Member Functions inherited from Kinem< 4 >
 Kinem ()
 
void zero ()
 
bool eq (const double &a, const double &b) const
 
bool neq (const double &a, const double &b) const
 
- Protected Attributes inherited from Kinem< 4 >
double kdata [KLEN]
 
- Static Protected Attributes inherited from Kinem< 4 >
static const uint64_t idelta
 
static const int KLEN
 

Detailed Description

Definition at line 146 of file kinem.h.

Constructor & Destructor Documentation

◆ Kinem4() [1/2]

Kinem4::Kinem4 ( )
inline

Definition at line 149 of file kinem.h.

149{ zero(); }
void zero()
Definition: kinem.h:84

◆ Kinem4() [2/2]

Kinem4::Kinem4 ( double  xp1,
double  xp2,
double  xp3,
double  xp4,
double  xs12,
double  xs23,
double  xm1,
double  xm2,
double  xm3,
double  xm4 
)
inline

Definition at line 150 of file kinem.h.

153 {
154 kdata[ip1]=xp1;
155 kdata[ip2]=xp2;
156 kdata[ip3]=xp3;
157 kdata[ip4]=xp4;
158 kdata[is12]=xs12;
159 kdata[is23]=xs23;
160 kdata[im1]=xm1;
161 kdata[im2]=xm2;
162 kdata[im3]=xm3;
163 kdata[im4]=xm4;
164 }
@ im1
Definition: kinem.h:64
@ im4
Definition: kinem.h:67
@ im2
Definition: kinem.h:65
@ ip3
Definition: kinem.h:66
@ ip2
Definition: kinem.h:66
@ im3
Definition: kinem.h:66
@ ip1
Definition: kinem.h:65
@ is12
Definition: kinem.h:67
@ is23
Definition: kinem.h:67
@ ip4
Definition: kinem.h:67
double kdata[KLEN]
Definition: kinem.h:71

Member Function Documentation

◆ m1()

double Kinem4::m1 ( ) const
inline

Definition at line 170 of file kinem.h.

170{ return kdata[im1]; }

◆ m2()

double Kinem4::m2 ( ) const
inline

Definition at line 171 of file kinem.h.

171{ return kdata[im2]; }

◆ m3()

double Kinem4::m3 ( ) const
inline

Definition at line 172 of file kinem.h.

172{ return kdata[im3]; }

◆ m4()

double Kinem4::m4 ( ) const
inline

Definition at line 173 of file kinem.h.

173{ return kdata[im4]; }

◆ p1()

double Kinem4::p1 ( ) const
inline

Definition at line 166 of file kinem.h.

166{ return kdata[ip1]; }

◆ p2()

double Kinem4::p2 ( ) const
inline

Definition at line 167 of file kinem.h.

167{ return kdata[ip2]; }

◆ p3()

double Kinem4::p3 ( ) const
inline

Definition at line 168 of file kinem.h.

168{ return kdata[ip3]; }

◆ p4()

double Kinem4::p4 ( ) const
inline

Definition at line 169 of file kinem.h.

169{ return kdata[ip4]; }

◆ s12()

double Kinem4::s12 ( ) const
inline

Definition at line 174 of file kinem.h.

174{ return kdata[is12]; }

◆ s23()

double Kinem4::s23 ( ) const
inline

Definition at line 175 of file kinem.h.

175{ return kdata[is23]; }

The documentation for this class was generated from the following file: