EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DirectNavigatorTests.cpp File Reference
#include <boost/test/data/test_case.hpp>
#include <boost/test/tools/output_test_stream.hpp>
#include <boost/test/unit_test.hpp>
#include "Acts/EventData/TrackParameters.hpp"
#include "Acts/MagneticField/ConstantBField.hpp"
#include "Acts/Material/Material.hpp"
#include "Acts/Propagator/ActionList.hpp"
#include "Acts/Propagator/DirectNavigator.hpp"
#include "Acts/Propagator/EigenStepper.hpp"
#include "Acts/Propagator/MaterialInteractor.hpp"
#include "Acts/Propagator/Navigator.hpp"
#include "Acts/Propagator/Propagator.hpp"
#include "Acts/Propagator/SurfaceCollector.hpp"
#include "Acts/Tests/CommonHelpers/CylindricalTrackingGeometry.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include <memory>
+ Include dependency graph for DirectNavigatorTests.cpp:

Go to the source code of this file.

Namespaces

namespace  Acts
 Set the Geometry Context PLUGIN.
 
namespace  Acts::Test
 Namespace for ATS unit tests.
 

Typedefs

using Acts::Test::BField = ConstantBField
 
using Acts::Test::ReferencePropagator = Propagator< Stepper, Navigator >
 
using Acts::Test::DirectPropagator = Propagator< Stepper, DirectNavigator >
 

Functions

ReferencePropagator Acts::Test::rpropagator (std::move(estepper), std::move(navigator))
 
DirectPropagator Acts::Test::dpropagator (std::move(dstepper), std::move(dnavigator))
 
template<typename rpropagator_t , typename dpropagator_t >
void Acts::Test::runTest (const rpropagator_t &rprop, const dpropagator_t &dprop, double pT, double phi, double theta, int charge, double time, int index)
 
 Acts::Test::BOOST_DATA_TEST_CASE (test_direct_navigator, bdata::random((bdata::seed=20, bdata::distribution=std::uniform_real_distribution<>(0.15_GeV, 10_GeV)))^bdata::random((bdata::seed=21, bdata::distribution=std::uniform_real_distribution<>(-M_PI, M_PI)))^bdata::random((bdata::seed=22, bdata::distribution=std::uniform_real_distribution<>(1.0, M_PI-1.0)))^bdata::random((bdata::seed=23, bdata::distribution=std::uniform_int_distribution<>(0, 1)))^bdata::random((bdata::seed=24, bdata::distribution=std::uniform_int_distribution<>(0, 100)))^bdata::xrange(ntests), pT, phi, theta, charge, time, index)
 

Variables

CylindricalTrackingGeometry Acts::Test::cGeometry (tgContext)
 
Navigator Acts::Test::navigator (tGeometry)
 
DirectNavigator Acts::Test::dnavigator
 
const double Acts::Test::Bz = 2_T
 
BField Acts::Test::bField (0, 0, Bz)
 
Stepper Acts::Test::estepper (bField)
 
Stepper Acts::Test::dstepper (bField)
 
const int Acts::Test::skip = 0
 
bool Acts::Test::debugMode = false
 
bool Acts::Test::referenceTiming = false
 
bool Acts::Test::oversteppingTest = false
 
double Acts::Test::oversteppingMaxStepSize = 1_mm