ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Functions
AtTools::Kinematics Namespace Reference

Functions

double GetGamma (double KE, double m1, double m2)
 
double GetVelocity (double gamma)
 
double GetBeta (double gamma)
 
double GetBeta (double p, double m)
 
double GetBeta (double p, int A)
 
double GetGamma (double beta)
 
double GetRelMom (double gamma, double mass)
 
double AtoE (double Amu)
 
double EtoA (double mass)
 
template<class Vector >
ROOT::Math::PxPyPzEVector Get4Vector (Vector mom, double m)
 

Function Documentation

◆ AtoE()

double AtTools::Kinematics::AtoE ( double  Amu)

Get the mass in MeV of a fragment of mass in amu (or A)

Definition at line 300 of file AtKinematics.cxx.

◆ EtoA()

double AtTools::Kinematics::EtoA ( double  mass)

Definition at line 304 of file AtKinematics.cxx.

◆ Get4Vector()

template<class Vector >
ROOT::Math::PxPyPzEVector AtTools::Kinematics::Get4Vector ( Vector  mom,
double  m 
)

Definition at line 78 of file AtKinematics.h.

◆ GetBeta() [1/3]

double AtTools::Kinematics::GetBeta ( double  gamma)

Get velocity (SR units, c=1) of a particle with gamma.

Definition at line 267 of file AtKinematics.cxx.

◆ GetBeta() [2/3]

double AtTools::Kinematics::GetBeta ( double  p,
double  m 
)

Get velocity (SR units, c=1) of a particle with momentum p (MeV) and mass m (MeV).

Definition at line 274 of file AtKinematics.cxx.

◆ GetBeta() [3/3]

double AtTools::Kinematics::GetBeta ( double  p,
int  A 
)

Definition at line 278 of file AtKinematics.cxx.

◆ GetGamma() [1/2]

double AtTools::Kinematics::GetGamma ( double  beta)

Definition at line 283 of file AtKinematics.cxx.

◆ GetGamma() [2/2]

double AtTools::Kinematics::GetGamma ( double  KE,
double  m1,
double  m2 
)

Get gamma for fragment 1 in a system decaying into two fragments with total KE Units are SR (c=1).

Definition at line 249 of file AtKinematics.cxx.

◆ GetRelMom()

double AtTools::Kinematics::GetRelMom ( double  gamma,
double  mass 
)

Get the relativistic momentum of a particle will mass (MeV)

Definition at line 292 of file AtKinematics.cxx.

◆ GetVelocity()

double AtTools::Kinematics::GetVelocity ( double  gamma)

Get velocity (cm/ns) of a particle with gamma.

Definition at line 259 of file AtKinematics.cxx.