#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 |
Definition at line 15 of file TConstants.h.
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] |
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] |
static double TConstants::HC | ( | ) | [inline, static] |
static double TConstants::HC2 | ( | ) | [inline, static] |
Definition at line 43 of file TConstants.h.
References M_HC.
Referenced by TRadGlobal::Get_Norm(), and main().
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] |
static double TConstants::Meta | ( | ) | [inline, static] |
static double TConstants::Meta2 | ( | ) | [inline, static] |
Definition at line 53 of file TConstants.h.
References M_META.
Referenced by TKcFormFactor::qpgamma().
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] |
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().
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] |
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().
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] |
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().
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();}
double TConstants::fAlpha [protected] |
double TConstants::fAlpha2 [protected] |
double TConstants::fAlpha3 [protected] |
double TConstants::fAlphaPi [protected] |
double TConstants::fAlphaScale [protected] |
Definition at line 17 of file TConstants.h.
Referenced by GetAlphaScale(), Init(), Print(), SetAlphaScale(), and TConstants().