Computes the ionisation energy loss of a particle through a specfied Material.
More...
#include <EnergyLoss.hh>
Computes the ionisation energy loss of a particle through a specfied Material.
Needs to be provided with the material characteristics and its thickness.
| EnergyLoss::EnergyLoss |
( |
| ) |
|
Default constructor, initilizes everything to 0.
| EnergyLoss::EnergyLoss |
( |
const Material & |
mat, |
|
|
const double & |
thickness |
|
) |
| |
Proper constructor, initilizes everything to the provided material.
- Parameters
-
| mat | Properties of the absorber material |
| thickness | Thickness of the absorber [mm] |
| EnergyLoss::EnergyLoss |
( |
const EnergyLoss & |
eloss | ) |
|
| EnergyLoss::~EnergyLoss |
( |
| ) |
|
| double EnergyLoss::BetheBloch |
( |
const double & |
bg | ) |
const |
Returns the Bethe-Bloch stopping formula.
- Parameters
-
- Returns
- Value of the formula in βγ [MeV/mm]
| const Material& EnergyLoss::GetMaterial |
( |
| ) |
const |
|
inline |
Gets the thickness in amount of radiation length.
| double EnergyLoss::GetMomentumLoss |
( |
const double & |
p, |
|
|
const double & |
m |
|
) |
| const |
Returns the mean momentum loss for a given particle.
- Parameters
-
| p | Input momentum |
| m | Input particle mass |
- Returns
- Momentum loss [MeV/c]
| double EnergyLoss::GetMostProbableMomentumLoss |
( |
const double & |
p, |
|
|
const double & |
m |
|
) |
| const |
Returns the most probable momentum loss for a given particle.
- Parameters
-
| p | Input momentum |
| m | Input particle mass |
- Returns
- Momentum loss [MeV/c]
| const double& EnergyLoss::GetStepSize |
( |
| ) |
const |
|
inline |
Gets the thickness in amount of radiation length.
| const double& EnergyLoss::GetThickness |
( |
| ) |
const |
|
inline |
Gets the thickness in amount of radiation length.
| void EnergyLoss::Initialize |
( |
| ) |
|
Initialize the material for the energy loss.
| void EnergyLoss::IonizeBunch |
( |
std::map< std::string, std::vector< double >> & |
beam, |
|
|
const double & |
p, |
|
|
const double & |
m |
|
) |
| const |
Performs the energy loss on a beam (dictionary that maps variables onto vectors)
- Parameters
-
| beam | Input beam: x, (y), px, (py), pz [mm, MeV/c] |
| p | Total input beam momentum [MeV/c] |
| m | Particle mass [MeV/c^2] |
| void EnergyLoss::SetStepSize |
( |
const double & |
stepsize | ) |
|
|
inline |
Sets the thickness in amount of radiation length.
| void EnergyLoss::SetThickness |
( |
const double & |
thickness | ) |
|
|
inline |
Sets the thickness in amount of radiation length.
Description of the absorber material.
| double EnergyLoss::_stepsize |
|
private |
Size of a step through the absorber.
| double EnergyLoss::_thickness |
|
private |
Thickness of the absorber.
The documentation for this class was generated from the following files: