Analysis Software
Documentation for sPHENIX simulation 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/Definitions/Algebra.hpp"
#include "Acts/Definitions/Direction.hpp"
#include "Acts/Definitions/Units.hpp"
#include "Acts/EventData/TrackParameters.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/MagneticField/ConstantBField.hpp"
#include "Acts/MagneticField/MagneticFieldContext.hpp"
#include "Acts/Propagator/AbortList.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/StandardAborters.hpp"
#include "Acts/Propagator/SurfaceCollector.hpp"
#include "Acts/Tests/CommonHelpers/CylindricalTrackingGeometry.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include <algorithm>
#include <array>
#include <cmath>
#include <iostream>
#include <memory>
#include <random>
#include <tuple>
#include <utility>
#include <vector>
+ Include dependency graph for DirectNavigatorTests.cpp:

Go to the source code of this file.

Namespaces

namespace  Acts
 Acts includes to create all necessary definitions.
 
namespace  Acts::Test
 

Typedefs

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

Functions

Navigator Acts::Test::navigator ({tGeometry})
 
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)
 
auto Acts::Test::tGeometry = cGeometry()
 
DirectNavigator Acts::Test::dnavigator
 
const double Acts::Test::Bz = 2_T
 
auto Acts::Test::bField = std::make_shared<BField>(Vector3{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