Garfield++ 3.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
lorgamma.h
Go to the documentation of this file.
1#ifndef LORGAMMA_H
2#define LORGAMMA_H
3
4/*
5Functions for safe manipulations with beta and gamma kinematical
6parameters without loss of precision at very extremal values,
7such as beta very close to zero or to unity.
8
9The main representation of gamma is gamma - 1, to assure that
10gamma will be meaningful for small beta.
11
12Author I. B. Smirnov, 1999 - 2002.
13*/
14
15namespace Heed {
16
17/// \f$\gamma - 1\f$ as function of \f$\beta\f$.
18double lorgamma_1(double beta);
19/// \f$\beta\f$ as function of \f$\gamma - 1\f$.
20double lorbeta(const double gamma_1);
21/// \f$\beta^2\f$ as function of \f$\gamma - 1\f$.
22double lorbeta2(const double gamma_1);
23double lorbeta(const double momentum, const double mass);
24}
25
26#endif
Definition: BGMesh.cpp:6
double lorbeta(const double gamma_1)
as function of .
Definition: lorgamma.cpp:23
double lorgamma_1(double beta)
as function of .
Definition: lorgamma.cpp:10
double lorbeta2(const double gamma_1)
as function of .
Definition: lorgamma.cpp:27