TConstants Class Reference

#include <TConstants.h>

List of all members.

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 (  )  [inline]

Definition at line 23 of file TConstants.h.

References fAlphaScale, and Init().

00023               {
00024     fAlphaScale = 1;
00025     Init();
00026   };

TConstants::~TConstants (  )  [inline]

Definition at line 27 of file TConstants.h.

00027 {};


Member Function Documentation

double TConstants::Alpha (  )  [inline]

Definition at line 36 of file TConstants.h.

References fAlpha.

Referenced by TMuKFun::Eval_Coloumb_Factor(), TPiCrossPart::GetValue(), TMuCrossPart::GetValue(), TGGCrossPart::GetValue(), TEPCrossPart::GetValue(), and TKcFormFactor::z().

00036 {return fAlpha;}

double TConstants::Alpha2 (  )  [inline]

Definition at line 37 of file TConstants.h.

References fAlpha2.

Referenced by TKcFormFactor::csborn(), TRadGlobal::Get_Norm(), main(), and TPiFormFactor::SetFFParameters().

00037 {return fAlpha2;}

double TConstants::Alpha3 (  )  [inline]

Definition at line 38 of file TConstants.h.

References fAlpha3.

Referenced by main().

00038 {return fAlpha3;}

double TConstants::AlphaPi (  )  [inline]

Definition at line 41 of file TConstants.h.

References fAlphaPi.

Referenced by TRadGlobal::Get_VarPar(), TPiCrossPart::GetValue(), TMuCrossPart::GetValue(), TGGCrossPart::GetValue(), TEPCrossPart::GetValue(), TRadGlobal::Init(), and main().

00041 {return fAlphaPi;}

double TConstants::GetAlphaScale (  )  [inline]

Definition at line 35 of file TConstants.h.

References fAlphaScale.

00035 {return fAlphaScale;}

static double TConstants::HC (  )  [inline, static]

Definition at line 42 of file TConstants.h.

References M_HC.

00042 {return M_HC;}

static double TConstants::HC2 (  )  [inline, static]

Definition at line 43 of file TConstants.h.

References M_HC.

Referenced by TRadGlobal::Get_Norm(), and main().

00043 {return M_HC*M_HC;}

void TConstants::Init (  )  [inline]

Definition at line 28 of file TConstants.h.

References fAlpha, fAlpha2, fAlpha3, fAlphaPi, fAlphaScale, M_ALPHA, and M_PI.

Referenced by SetAlphaScale(), and TConstants().

00028              {
00029     fAlpha = M_ALPHA*fAlphaScale;
00030     fAlpha2 = fAlpha*fAlpha;
00031     fAlpha3 = fAlpha2*fAlpha;
00032     fAlphaPi = fAlpha/M_PI;
00033   }

static double TConstants::Me (  )  [inline, static]

Definition at line 44 of file TConstants.h.

References M_ME.

Referenced by hist_sample_comp(), and TRadGlobal::Init().

00044 {return M_ME;}

static double TConstants::Me2 (  )  [inline, static]

Definition at line 45 of file TConstants.h.

References M_ME.

00045 {return M_ME*M_ME;}

static double TConstants::Meta (  )  [inline, static]

Definition at line 52 of file TConstants.h.

References M_META.

00052 {return M_META;}

static double TConstants::Meta2 (  )  [inline, static]

Definition at line 53 of file TConstants.h.

References M_META.

Referenced by TKcFormFactor::qpgamma().

00053 {return M_META*M_META;}

static double TConstants::MK0 (  )  [inline, static]

Definition at line 54 of file TConstants.h.

References M_MK0.

Referenced by TRadGlobal::Init().

00054 {return M_MK0;}

static double TConstants::MK02 (  )  [inline, static]

Definition at line 55 of file TConstants.h.

References M_MK0.

Referenced by TKcFormFactor::qklks().

00055 {return M_MK0*M_MK0;}

static double TConstants::MKC (  )  [inline, static]

Definition at line 56 of file TConstants.h.

References M_MKC.

Referenced by TRadGlobal::Init().

00056 {return M_MKC;}

static double TConstants::MKC2 (  )  [inline, static]

Definition at line 57 of file TConstants.h.

References M_MKC.

Referenced by TKcFormFactor::csborn(), TKcFormFactor::qkpkm(), and TKcFormFactor::z().

00057 {return M_MKC*M_MKC;}

static double TConstants::Mmu (  )  [inline, static]

Definition at line 46 of file TConstants.h.

References M_MMU.

Referenced by TRadGlobal::Init().

00046 {return M_MMU;}

static double TConstants::Mmu2 (  )  [inline, static]

Definition at line 47 of file TConstants.h.

References M_MMU.

00047 {return M_MMU*M_MMU;}

static double TConstants::Mpi (  )  [inline, static]

Definition at line 50 of file TConstants.h.

References M_MPI.

Referenced by TPiFormFactor::GS(), TPiFormFactor::h(), and TRadGlobal::Init().

00050 {return M_MPI;}

static double TConstants::Mpi2 (  )  [inline, static]

Definition at line 51 of file TConstants.h.

References M_MPI.

Referenced by TKcFormFactor::omegawidth(), TKcFormFactor::phiwidth(), TPiFormFactor::ppi(), TKcFormFactor::qpgamma(), and TKcFormFactor::rhowidth().

00051 {return M_MPI*M_MPI;}

static double TConstants::Mtau (  )  [inline, static]

Definition at line 48 of file TConstants.h.

References M_MTAU.

Referenced by TRadGlobal::Init().

00048 {return M_MTAU;}

static double TConstants::Mtau2 (  )  [inline, static]

Definition at line 49 of file TConstants.h.

References M_MTAU.

00049 {return M_MTAU*M_MTAU;}

static double TConstants::Pi (  )  [inline, static]

Definition at line 39 of file TConstants.h.

References M_PI.

Referenced by TKinemCut::AverageTheta(), TKinemCut::Default(), TMuKFun::Eval_Coloumb_Factor(), TPiFormFactor::f(), TEvent::GetPhi(), TPiFormFactor::GS(), TPiFormFactor::h(), TKinemCut::Init(), TEvent::MakeEvent(), TEvent::MakeEventgg(), TEvent::Select(), TEvent::Selectgg(), TPiFormFactor::SetFFParameters(), TPiCrossPart::SetThetaMin(), TMuCrossPart::SetThetaMin(), TGGCrossPart::SetThetaMin(), TEPCrossPart::SetThetaMin(), TKinemCut::ThetaMinM(), TKinemCut::ThetaMinP(), and TKinemCut::TKinemCut().

00039 {return M_PI;}

static double TConstants::Pi2 (  )  [inline, static]

Definition at line 40 of file TConstants.h.

References M_PI.

Referenced by TMuKFun::Eval_a(), TPiKFun::Eval_even(), TMuKFun::Eval_even(), TPiKFun::Eval_even_odd(), TMuKFun::Eval_even_odd(), TMuKFun::Eval_even_ultra(), TPiKFun::Eval_odd(), TMuKFun::Eval_odd(), TRadGlobal::Get_VarPar(), TPiCrossPart::GetValue(), TMuCrossPart::GetValue(), TGGCrossPart::GetValue(), TEPCrossPart::GetValue(), TRadGlobal::Init(), TGGCrossPart::K_SV(), TKFun::kfun(), and TEKFun::kfun().

00040 {return M_PI*M_PI;}

void TConstants::Print (  )  [inline]

Definition at line 58 of file TConstants.h.

References fAlphaScale.

Referenced by GetOption(), init_prime_gen_(), and Mcgpj::initialize().

00058               {
00059     std::cout<<"Alpha scale      = "<<fAlphaScale<<std::endl;
00060   }

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

Definition at line 34 of file TConstants.h.

References fAlphaScale, and Init().

Referenced by GetOption(), init_prime_gen_(), and Mcgpj::initialize().

00034 {fAlphaScale = x; Init();}


Member Data Documentation

double TConstants::fAlpha [protected]

Definition at line 18 of file TConstants.h.

Referenced by Alpha(), and Init().

double TConstants::fAlpha2 [protected]

Definition at line 19 of file TConstants.h.

Referenced by Alpha2(), and Init().

double TConstants::fAlpha3 [protected]

Definition at line 20 of file TConstants.h.

Referenced by Alpha3(), and Init().

double TConstants::fAlphaPi [protected]

Definition at line 21 of file TConstants.h.

Referenced by AlphaPi(), and Init().

double TConstants::fAlphaScale [protected]

Definition at line 17 of file TConstants.h.

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


Generated on Tue Nov 29 23:35:58 2016 for BOSS_7.0.2 by  doxygen 1.4.7