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

#include <TConstants.h>

Public Member Functions

 TConstants ()
 
 ~TConstants ()
 
void Init ()
 
void SetAlphaScale (const double &x)
 
double GetAlphaScale ()
 
double Alpha ()
 
double Alpha2 ()
 
double Alpha3 ()
 
double AlphaPi ()
 
void Print ()
 

Static Public Member Functions

static double Pi ()
 
static double Pi2 ()
 
static double HC ()
 
static double HC2 ()
 
static double Me ()
 
static double Me2 ()
 
static double Mmu ()
 
static double Mmu2 ()
 
static double Mtau ()
 
static double Mtau2 ()
 
static double Mpi ()
 
static double Mpi2 ()
 
static double Meta ()
 
static double Meta2 ()
 
static double MK0 ()
 
static double MK02 ()
 
static double MKC ()
 
static double MKC2 ()
 

Protected Attributes

double fAlphaScale
 
double fAlpha
 
double fAlpha2
 
double fAlpha3
 
double fAlphaPi
 

Detailed Description

Definition at line 15 of file TConstants.h.

Constructor & Destructor Documentation

◆ TConstants()

TConstants::TConstants ( )
inline

Definition at line 23 of file TConstants.h.

23 {
24 fAlphaScale = 1;
25 Init();
26 };
void Init()
Definition: TConstants.h:28
double fAlphaScale
Definition: TConstants.h:17

◆ ~TConstants()

TConstants::~TConstants ( )
inline

Definition at line 27 of file TConstants.h.

27{};

Member Function Documentation

◆ Alpha()

double TConstants::Alpha ( )
inline

Definition at line 36 of file TConstants.h.

36{return fAlpha;}
double fAlpha
Definition: TConstants.h:18

◆ Alpha2()

double TConstants::Alpha2 ( )
inline

Definition at line 37 of file TConstants.h.

37{return fAlpha2;}
double fAlpha2
Definition: TConstants.h:19

Referenced by TRadGlobal::Get_Norm().

◆ Alpha3()

double TConstants::Alpha3 ( )
inline

Definition at line 38 of file TConstants.h.

38{return fAlpha3;}
double fAlpha3
Definition: TConstants.h:20

◆ AlphaPi()

double TConstants::AlphaPi ( )
inline

Definition at line 41 of file TConstants.h.

41{return fAlphaPi;}
double fAlphaPi
Definition: TConstants.h:21

Referenced by TRadGlobal::Get_VarPar().

◆ GetAlphaScale()

double TConstants::GetAlphaScale ( )
inline

Definition at line 35 of file TConstants.h.

35{return fAlphaScale;}

◆ HC()

static double TConstants::HC ( )
inlinestatic

Definition at line 42 of file TConstants.h.

42{return M_HC;}
#define M_HC
Definition: TConstants.h:7

◆ HC2()

static double TConstants::HC2 ( )
inlinestatic

Definition at line 43 of file TConstants.h.

43{return M_HC*M_HC;}

Referenced by TRadGlobal::Get_Norm().

◆ Init()

void TConstants::Init ( )
inline

Definition at line 28 of file TConstants.h.

28 {
33 }
#define M_PI
Definition: TConstant.h:4
#define M_ALPHA
Definition: TConstants.h:6

Referenced by SetAlphaScale(), and TConstants().

◆ Me()

static double TConstants::Me ( )
inlinestatic

Definition at line 44 of file TConstants.h.

44{return M_ME;}
#define M_ME
Definition: TConstants.h:8

◆ Me2()

static double TConstants::Me2 ( )
inlinestatic

Definition at line 45 of file TConstants.h.

45{return M_ME*M_ME;}

◆ Meta()

static double TConstants::Meta ( )
inlinestatic

Definition at line 52 of file TConstants.h.

52{return M_META;}
#define M_META
Definition: TConstants.h:14

◆ Meta2()

static double TConstants::Meta2 ( )
inlinestatic

Definition at line 53 of file TConstants.h.

53{return M_META*M_META;}

◆ MK0()

static double TConstants::MK0 ( )
inlinestatic

Definition at line 54 of file TConstants.h.

54{return M_MK0;}
#define M_MK0
Definition: TConstants.h:12

◆ MK02()

static double TConstants::MK02 ( )
inlinestatic

Definition at line 55 of file TConstants.h.

55{return M_MK0*M_MK0;}

◆ MKC()

static double TConstants::MKC ( )
inlinestatic

Definition at line 56 of file TConstants.h.

56{return M_MKC;}
#define M_MKC
Definition: TConstants.h:13

◆ MKC2()

static double TConstants::MKC2 ( )
inlinestatic

Definition at line 57 of file TConstants.h.

57{return M_MKC*M_MKC;}

◆ Mmu()

static double TConstants::Mmu ( )
inlinestatic

Definition at line 46 of file TConstants.h.

46{return M_MMU;}
#define M_MMU
Definition: TConstants.h:9

◆ Mmu2()

static double TConstants::Mmu2 ( )
inlinestatic

Definition at line 47 of file TConstants.h.

47{return M_MMU*M_MMU;}

◆ Mpi()

static double TConstants::Mpi ( )
inlinestatic

Definition at line 50 of file TConstants.h.

50{return M_MPI;}
#define M_MPI
Definition: TConstants.h:11

◆ Mpi2()

static double TConstants::Mpi2 ( )
inlinestatic

Definition at line 51 of file TConstants.h.

51{return M_MPI*M_MPI;}

◆ Mtau()

static double TConstants::Mtau ( )
inlinestatic

Definition at line 48 of file TConstants.h.

48{return M_MTAU;}
#define M_MTAU
Definition: TConstants.h:10

◆ Mtau2()

static double TConstants::Mtau2 ( )
inlinestatic

Definition at line 49 of file TConstants.h.

49{return M_MTAU*M_MTAU;}

◆ Pi()

static double TConstants::Pi ( )
inlinestatic

Definition at line 39 of file TConstants.h.

39{return M_PI;}

Referenced by TKinemCut::AverageTheta(), TEvent::GetPhi(), TKinemCut::ThetaMinM(), and TKinemCut::ThetaMinP().

◆ Pi2()

static double TConstants::Pi2 ( )
inlinestatic

Definition at line 40 of file TConstants.h.

40{return M_PI*M_PI;}

Referenced by TMuKFun::Eval_a(), and TRadGlobal::Get_VarPar().

◆ Print()

void TConstants::Print ( )
inline

Definition at line 58 of file TConstants.h.

58 {
59 std::cout<<"Alpha scale = "<<fAlphaScale<<std::endl;
60 }

Referenced by Mcgpj::initialize().

◆ SetAlphaScale()

void TConstants::SetAlphaScale ( const double &  x)
inline

Definition at line 34 of file TConstants.h.

34{fAlphaScale = x; Init();}
double x[1000]

Referenced by Mcgpj::initialize().

Member Data Documentation

◆ fAlpha

double TConstants::fAlpha
protected

Definition at line 18 of file TConstants.h.

Referenced by Alpha(), and Init().

◆ fAlpha2

double TConstants::fAlpha2
protected

Definition at line 19 of file TConstants.h.

Referenced by Alpha2(), and Init().

◆ fAlpha3

double TConstants::fAlpha3
protected

Definition at line 20 of file TConstants.h.

Referenced by Alpha3(), and Init().

◆ fAlphaPi

double TConstants::fAlphaPi
protected

Definition at line 21 of file TConstants.h.

Referenced by AlphaPi(), and Init().

◆ fAlphaScale

double TConstants::fAlphaScale
protected

Definition at line 17 of file TConstants.h.

Referenced by GetAlphaScale(), Init(), Print(), SetAlphaScale(), and TConstants().


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