#include <Utils.h>
Static Public Member Functions | |
| double | BetaFactor (double m, double E) |
| double | GammaFactor (double m, double E) |
| double | E2P (double m, double E) |
|
||||||||||||
|
Definition at line 22 of file MuELoss/Utils.h. Referenced by BetheBlochModel::dE_dx(), and BetheBlochModel::DensityCorrectionFactor(). 00023 {
00024 // Calculate beta factor (beta = u/c = p/E) for particles (mass m) of a given energy
00025 // Input : E, particle energy
00026 // m, particle mass
00027
00028 assert( E >= m );
00029
00030 double E2 = E*E;
00031 double m2 = m*m;
00032
00033 return sqrt(E2-m2)/E;
00034 }
|
|
||||||||||||
|
Definition at line 45 of file MuELoss/Utils.h. Referenced by BetheBlochModel::MaximumEnergyTransfer(). 00046 {
00047 // Calculates the particle momentum
00048 // Input : E, particle energy
00049 // m, particle mass
00050
00051 assert( E >= m );
00052 return sqrt( E*E - m*m );
00053 }
|
|
||||||||||||
|
Definition at line 36 of file MuELoss/Utils.h. Referenced by BetheBlochModel::dE_dx(), and BetheBlochModel::DensityCorrectionFactor(). 00037 {
00038 // Calculates gamma factor (gamma = E/mass) for muons of a given energy
00039 // Input : E, particle energy
00040 // m, particle mass
00041
00042 return E/m;
00043 }
|
1.3.9.1