Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TabulateEnergyLoss.cpp File Reference
#include "Acts/Definitions/ParticleData.hpp"
#include "Acts/Definitions/PdgParticle.hpp"
#include "Acts/Definitions/Units.hpp"
#include "Acts/Material/Interactions.hpp"
#include "Acts/Material/Material.hpp"
#include "Acts/Material/MaterialSlab.hpp"
#include <cstddef>
#include <cstdlib>
#include <iomanip>
#include <iostream>
+ Include dependency graph for TabulateEnergyLoss.cpp:

Go to the source code of this file.

Functions

static void printHeader (std::ostream &os, const Acts::MaterialSlab &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 charge(), Acts::computeEnergyLossBethe(), Acts::computeEnergyLossLandauSigma(), Acts::computeEnergyLossMean(), Acts::computeEnergyLossRadiative(), physmon_vertexing::delta, Acts::findCharge(), Acts::findMass(), Acts::Material::fromMassDensity(), Acts::makeAbsolutePdgParticle(), mass, material, merge_hashes::p, pdg, printHeader(), printLine(), sigma, and thickness.

+ Here is the call graph for this function:

static void printHeader ( std::ostream &  os,
const Acts::MaterialSlab 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 left(), separator, and width.

Referenced by main().

+ Here is the call graph for this function:

+ 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 energy, mass, precision, separator, and width.

Referenced by main().

+ Here is the caller graph for this function:

Variable Documentation

constexpr int precision = 3
static

Definition at line 26 of file TabulateEnergyLoss.cpp.

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

Referenced by c_vsnprintf(), printLine(), Rossegger::Rossegger(), roundCoeffs(), and Acts::toString().

constexpr char separator = ' '
static

Definition at line 27 of file TabulateEnergyLoss.cpp.

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

Referenced by printHeader(), and printLine().

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 PomsMainFrame::AlignRight(), BinLog(), BinLogX(), BinLogY(), Acts::Test::BOOST_AUTO_TEST_CASE(), PHG4SpacalPrototype4Detector::Construct_AzimuthalSeg(), PHG4FullProjTiltedSpacalDetector::Construct_AzimuthalSeg(), PHG4GDMLWriteStructure::DivisionvolWrite(), DoPercentDifference(), drand(), draw_hists_3D(), eicsmear_dvmp_plot(), Acts::GaussianGridTrackDensity< mainGridSize, trkGridSize >::estimateSeedWidth(), Acts::AdaptiveGridTrackDensity< spatialTrkGridSize, temporalTrkGridSize >::estimateSeedWidth(), Acts::FasTrackConnector::FasTrackConnector(), Acts::AdaptiveGridDensityVertexFinder< trkGridSize, vfitter_t >::find(), Acts::GridDensityVertexFinder< mainGridSize, trkGridSize, vfitter_t >::find(), Fun4All_EMCalLikelihood(), G__hcalUtilDict_478_0_6(), Matter::generate_kt(), Acts::GaussianGridTrackDensity< mainGridSize, trkGridSize >::getMaxZPositionAndWidth(), Acts::AdaptiveGridTrackDensity< spatialTrkGridSize, temporalTrkGridSize >::getMaxZTPositionAndWidth(), PhDi::GetValue(), PHG4BlockCellReco::InitRun(), Acts::detail::Grid< external_spacepoint_t >::localBinsFromLowerLeftEdge(), ActsExamples::DigitizationAlgorithm::localParameters(), SDeltaPtCutStudy::MakePlots(), MakePrettyPlot(), MakeRatioComparisonPlot(), Acts::GaussianGridTrackDensity< mainGridSize, trkGridSize >::modifyMainGridWithTrackGrid(), ActsExamples::HoughTransformSeeder::passThreshold(), oncsSub_idmvtxv0::print_stuff(), oncsSub_idmvtxv1::print_stuff(), oncsSub_idmvtxv2::print_stuff(), printHeader(), printLine(), pyslha(), QuickDeltaPtExtractor(), FileF::Read(), MbdEvent::Read_Charge_Calib(), OnlBbcEvent::Read_Charge_Calib(), clvisc::CLIdeal::read_eos_table_(), PHG4GDMLWriteStructure::ReplicavolWrite(), TemplateCreation::rising_shape(), Jetscape::Hadron::set_decay_width(), PHG4ParticleGeneratorVectorMeson::set_vertex_size_parameters(), PHG4SimpleEventGenerator::set_vertex_size_parameters(), SDeltaPtCutStudy::SetGeneralHistParameters(), SetHist(), hcalUtil::shapeFit(), PHHepMCGenHelper::smear(), PHG4SimpleEventGenerator::smearvtx(), Acts::Frustum< value_t, DIM, SIDES >::svg(), TEST_CASE(), PomsMainFrame::TileCanvases(), QAHistManagerDef::useLogBins(), useLogBins(), SoftLeptonTaggingTruth::useLogBins(), and xytabl().