ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TabulateEnergyLoss.cpp File Reference
#include <cstddef>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include "Acts/Material/Interactions.hpp"
#include "Acts/Material/Material.hpp"
#include "Acts/Material/MaterialProperties.hpp"
#include "Acts/Utilities/PdgParticle.hpp"
#include "Acts/Utilities/Units.hpp"
#include "ActsFatras/Utilities/ParticleData.hpp"
+ Include dependency graph for TabulateEnergyLoss.cpp:

Go to the source code of this file.

Functions

static void printHeader (std::ostream &os, const Acts::MaterialProperties &slab, Acts::PdgParticle pdg, float mass, float charge)
 
static void printLine (std::ostream &os, float mass, float momentum, float delta, float deltaIon, float deltaRad, float sigma)
 
int main (int argc, char const *argv[])
 

Variables

static constexpr int width = 11
 
static constexpr int precision = 3
 
static constexpr char separator = ' '
 

Function Documentation

int main ( int  argc,
char const *  argv[] 
)

Definition at line 67 of file TabulateEnergyLoss.cpp.

View newest version in sPHENIX GitHub at line 67 of file TabulateEnergyLoss.cpp

References Acts::units::_cm, Acts::units::_g, Acts::units::_GeV, Acts::units::_mm, charge, Acts::computeEnergyLossBethe(), Acts::computeEnergyLossLandauSigma(), Acts::computeEnergyLossMean(), Acts::computeEnergyLossRadiative(), Acts::Test::delta, ActsFatras::findCharge(), ActsFatras::findMass(), mass, material(), pdg, printHeader(), printLine(), and thickness.

+ Here is the call graph for this function:

static void printHeader ( std::ostream &  os,
const Acts::MaterialProperties slab,
Acts::PdgParticle  pdg,
float  mass,
float  charge 
)
static

Definition at line 29 of file TabulateEnergyLoss.cpp.

View newest version in sPHENIX GitHub at line 29 of file TabulateEnergyLoss.cpp

References Acts::units::_e, Acts::units::_MeV, left, separator, and width.

Referenced by main().

+ Here is the caller graph for this function:

static void printLine ( std::ostream &  os,
float  mass,
float  momentum,
float  delta,
float  deltaIon,
float  deltaRad,
float  sigma 
)
static

Definition at line 52 of file TabulateEnergyLoss.cpp.

View newest version in sPHENIX GitHub at line 52 of file TabulateEnergyLoss.cpp

References Acts::units::_GeV, Acts::units::_MeV, energy, mass, precision, right, separator, and width.

Referenced by main().

+ Here is the caller graph for this function:

Variable Documentation

constexpr int precision = 3
static
constexpr char separator = ' '
static
constexpr int width = 11
static

Definition at line 25 of file TabulateEnergyLoss.cpp.

View newest version in sPHENIX GitHub at line 25 of file TabulateEnergyLoss.cpp

Referenced by printHeader(), and printLine().