BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
Kinem2 Class Reference

#include <kinem.h>

+ Inheritance diagram for Kinem2:

Public Member Functions

 Kinem2 ()
 
 Kinem2 (double xp1, double xm1, double xm2)
 
double p1 () const
 
double m1 () const
 
double m2 () const
 
- Public Member Functions inherited from Kinem< 2 >
bool operator== (const Kinem &kinem) const
 
double mass (int i) const
 

Additional Inherited Members

- Protected Types inherited from Kinem< 2 >
enum  Invar
 
- Protected Member Functions inherited from Kinem< 2 >
 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< 2 >
double kdata [KLEN]
 
- Static Protected Attributes inherited from Kinem< 2 >
static const uint64_t idelta
 
static const int KLEN
 

Detailed Description

Definition at line 104 of file kinem.h.

Constructor & Destructor Documentation

◆ Kinem2() [1/2]

Kinem2::Kinem2 ( )
inline

Definition at line 107 of file kinem.h.

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

◆ Kinem2() [2/2]

Kinem2::Kinem2 ( double  xp1,
double  xm1,
double  xm2 
)
inline

Definition at line 108 of file kinem.h.

110 {
111 kdata[ip1]=xp1;
112 kdata[im1]=xm1;
113 kdata[im2]=xm2;
114 }
@ im1
Definition: kinem.h:64
@ im2
Definition: kinem.h:65
@ ip1
Definition: kinem.h:65
double kdata[KLEN]
Definition: kinem.h:71

Member Function Documentation

◆ m1()

double Kinem2::m1 ( ) const
inline

Definition at line 117 of file kinem.h.

117{ return kdata[im1]; }

Referenced by ICache::getB().

◆ m2()

double Kinem2::m2 ( ) const
inline

Definition at line 118 of file kinem.h.

118{ return kdata[im2]; }

Referenced by ICache::getB().

◆ p1()

double Kinem2::p1 ( ) const
inline

Definition at line 116 of file kinem.h.

116{ return kdata[ip1]; }

Referenced by ICache::getB().


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