Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AtlasStepperTests.cpp File Reference
#include <boost/test/test_tools.hpp>
#include <boost/test/unit_test.hpp>
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Definitions/Common.hpp"
#include "Acts/Definitions/Direction.hpp"
#include "Acts/Definitions/TrackParametrization.hpp"
#include "Acts/Definitions/Units.hpp"
#include "Acts/EventData/Charge.hpp"
#include "Acts/EventData/GenericBoundTrackParameters.hpp"
#include "Acts/EventData/GenericCurvilinearTrackParameters.hpp"
#include "Acts/EventData/ParticleHypothesis.hpp"
#include "Acts/EventData/TrackParameters.hpp"
#include "Acts/EventData/detail/TransformationBoundToFree.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/MagneticField/ConstantBField.hpp"
#include "Acts/MagneticField/MagneticFieldContext.hpp"
#include "Acts/MagneticField/MagneticFieldProvider.hpp"
#include "Acts/Propagator/AtlasStepper.hpp"
#include "Acts/Propagator/ConstrainedStep.hpp"
#include "Acts/Surfaces/BoundaryCheck.hpp"
#include "Acts/Surfaces/DiscSurface.hpp"
#include "Acts/Surfaces/PerigeeSurface.hpp"
#include "Acts/Surfaces/PlaneSurface.hpp"
#include "Acts/Surfaces/StrawSurface.hpp"
#include "Acts/Surfaces/Surface.hpp"
#include "Acts/Tests/CommonHelpers/Assertions.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include "Acts/Utilities/Helpers.hpp"
#include "Acts/Utilities/Result.hpp"
#include <algorithm>
#include <array>
#include <functional>
#include <iterator>
#include <limits>
#include <memory>
#include <optional>
#include <tuple>
#include <type_traits>
#include <utility>
+ Include dependency graph for AtlasStepperTests.cpp:

Go to the source code of this file.

Classes

struct  Acts::Test::MockPropagatorState
 Simplified propagator state. More...
 
struct  Acts::Test::MockNavigator
 

Namespaces

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

Typedefs

using Acts::Test::Covariance = BoundSquareMatrix
 
using Acts::Test::Jacobian = BoundMatrix
 
using Acts::Test::Stepper = Acts::AtlasStepper
 

Functions

static const Vector4 Acts::Test::pos4 (1_mm,-1_mm, 2_mm, 2_ns)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (ConstructState)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (ConstructStateWithCovariance)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (Getters)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (UpdateFromBound)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (UpdateFromComponents)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (BuildBound)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (BuildCurvilinear)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (Step)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (StepWithCovariance)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (Reset)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (StepSize)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (StepSizeSurface)
 

Variables

static constexpr MockNavigator Acts::Test::navigator
 
static constexpr auto Acts::Test::stepSize = 10_mm
 
static constexpr auto Acts::Test::tolerance = 10_um
 
static constexpr Direction Acts::Test::navDir = Direction::Backward
 
static auto Acts::Test::magneticField
 
static const Vector3 Acts::Test::pos = pos4.segment<3>(ePos0)
 
static const auto Acts::Test::time = pos4[eTime]
 
static const Vector3 Acts::Test::unitDir = Vector3(-2, 2, 1).normalized()
 
static constexpr auto Acts::Test::absMom = 1_GeV
 
static constexpr auto Acts::Test::charge = -1_e
 
static const auto Acts::Test::particleHypothesis = ParticleHypothesis::pion()
 
static const Covariance Acts::Test::cov = Covariance::Identity()
 
static const GeometryContext Acts::Test::geoCtx = GeometryContext()
 
static const MagneticFieldContext Acts::Test::magCtx