Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EnergyLossTests.cpp File Reference
#include <boost/test/included/unit_test.hpp>
#include <boost/test/data/test_case.hpp>
#include <boost/test/output_test_stream.hpp>
#include "Acts/Material/Material.hpp"
#include "Acts/Material/MaterialProperties.hpp"
#include "Fatras/Kernel/PhysicsList.hpp"
#include "Fatras/Kernel/Process.hpp"
#include "Fatras/Physics/EnergyLoss/BetheBloch.hpp"
#include "Fatras/Physics/EnergyLoss/BetheHeitler.hpp"
#include "Particle.hpp"
#include <fstream>
#include <random>
+ Include dependency graph for EnergyLossTests.cpp:

Go to the source code of this file.

Classes

struct  Fatras::Test::Selector
 The selector. More...
 

Namespaces

namespace  Fatras
 
namespace  Fatras::Test
 

Macros

#define BOOST_TEST_MODULE   AbortList Tests
 Boost include(s)
 

Functions

std::ofstream Fatras::Test::os ("EnergyLoss.csv", std::ofstream::out|std::ofstream::trunc)
 
 Fatras::Test::BOOST_DATA_TEST_CASE (EnergyLoss_test_, bdata::random((bdata::seed=20, bdata::distribution=std::uniform_real_distribution<>(0., 1.)))^bdata::random((bdata::seed=21, bdata::distribution=std::uniform_real_distribution<>(0., 1.)))^bdata::random((bdata::seed=22, bdata::distribution=std::uniform_real_distribution<>(0., 1.)))^bdata::random((bdata::seed=23, bdata::distribution=std::uniform_real_distribution<>(1.5, 10.5)))^bdata::xrange(10000), x, y, z, p, index)
 Test the scattering implementation.
 

Variables

Generator Fatras::Test::generator
 
Acts::Material Fatras::Test::berilium
 
bool Fatras::Test::write_csv = true
 write CSV flag
 

Macro Definition Documentation

#define BOOST_TEST_MODULE   AbortList Tests

Boost include(s)

Definition at line 10 of file EnergyLossTests.cpp.

View newest version in sPHENIX GitHub at line 10 of file EnergyLossTests.cpp