elegent is hosted by Hepforge, IPPP Durham
Elegent

Set of constants used in Elegent calculations. More...

#include <Constants.h>

Public Types

enum  ParticleMode { mPP, mAPP }
 particle mode
 

Public Member Functions

 Constants (double W=0., ParticleMode mode=mPP)
 
void Configure (double W, ParticleMode mode)
 Configure the constants. More...
 
void Print ()
 print the actual values
 

Static Public Member Functions

static void Init (double W, ParticleMode mode)
 initilize new instance of Constants and save its pointer to the `cnts' global variable. More...
 

Public Attributes

double sqrt_s
 sqrt_s / GeV
 
double s
 s / GeV^2
 
double ln_s
 ln(s / GeV^2)
 
double p_cms
 particle CMS impuls
 
double sig_fac
 d sig/dt = sig_fac * |A|^2
 
double t_min
 negative
 
enum Elegent::Constants::ParticleMode pMode
 

Static Public Attributes

static double alpha = 7.297E-3
 fine structure constant
 
static double proton_mass = 0.938271
 GeV.
 
static double neutron_mass = 0.939565
 GeV.
 
static double hbarc = 0.197326
 GeV * fm.
 
static double sq_hbarc = 0.389379
 GeV^2 * mbarn sigma/mbarn = sigma/GeV^-2 * sq_hbarc.
 
static double M = proton_mass
 abbreviation for proton mass in GeV
 
static double M_sq = proton_mass * proton_mass
 proton mass squared, GeV^2
 
static double kappa = 1.793
 the anomalous magnetic moment of proton
 
static double pi = M_PI
 pi
 
static double gamma = 0.577215
 Euler's constant.
 

Detailed Description

Set of constants used in Elegent calculations.

Member Function Documentation

void Elegent::Constants::Configure ( double  W,
Constants::ParticleMode  mode 
)

Configure the constants.

Parameters
W= sqrt(s)
void Elegent::Constants::Init ( double  W,
Constants::ParticleMode  mode 
)
static

initilize new instance of Constants and save its pointer to the `cnts' global variable.

Parameters
W= sqrt(s)

The documentation for this struct was generated from the following files:
  • src/libElegent/interface/Constants.h
  • src/libElegent/src/Constants.cc