Analysis Software
Documentation for sPHENIX simulation software
|
#include <boost/test/unit_test.hpp>
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/MagneticField/ConstantBField.hpp"
#include "Acts/MagneticField/MagneticFieldContext.hpp"
#include "Acts/Propagator/EigenStepper.hpp"
#include "Acts/Propagator/Navigator.hpp"
#include "Acts/Propagator/Propagator.hpp"
#include "Acts/Propagator/detail/SteppingLogger.hpp"
#include "Acts/Tests/CommonHelpers/CubicTrackingGeometry.hpp"
Go to the source code of this file.
Typedefs | |
using | MagneticField = Acts::ConstantBField |
using | Stepper = Acts::EigenStepper<> |
using | Propagator = Acts::Propagator< Stepper, Acts::Navigator > |
Functions | |
std::vector< double > | xPositionsOfPassedSurfaces (Acts::Navigator::Config navCfg, double bz) |
BOOST_AUTO_TEST_CASE (with_boundary_check_no_bfield) | |
BOOST_AUTO_TEST_CASE (without_boundary_check_no_bfield) | |
BOOST_AUTO_TEST_CASE (with_boundary_check_with_bfield) | |
BOOST_AUTO_TEST_CASE (no_boundary_check_with_bfield) | |
Variables | |
const Acts::GeometryContext | geoCtx |
const Acts::MagneticFieldContext | magCtx |
using MagneticField = Acts::ConstantBField |
This tests intend to check the behaviour of the navigator in cases where the straight-line approach for the layer resolval can fail. This is in particular the case with bent tracks in telesocpe-like geometries, and can be fixed by not doing the bounds check in the initial resolving.
Definition at line 27 of file PropagationBentTracks.cpp.
View newest version in sPHENIX GitHub at line 27 of file PropagationBentTracks.cpp
using Propagator = Acts::Propagator<Stepper, Acts::Navigator> |
Definition at line 29 of file PropagationBentTracks.cpp.
View newest version in sPHENIX GitHub at line 29 of file PropagationBentTracks.cpp
using Stepper = Acts::EigenStepper<> |
Definition at line 28 of file PropagationBentTracks.cpp.
View newest version in sPHENIX GitHub at line 28 of file PropagationBentTracks.cpp
BOOST_AUTO_TEST_CASE | ( | with_boundary_check_no_bfield | ) |
Definition at line 73 of file PropagationBentTracks.cpp.
View newest version in sPHENIX GitHub at line 73 of file PropagationBentTracks.cpp
References test_fpe::count, and xPositionsOfPassedSurfaces().
BOOST_AUTO_TEST_CASE | ( | without_boundary_check_no_bfield | ) |
Definition at line 87 of file PropagationBentTracks.cpp.
View newest version in sPHENIX GitHub at line 87 of file PropagationBentTracks.cpp
References Acts::Navigator::Config::boundaryCheckLayerResolving, test_fpe::count, and xPositionsOfPassedSurfaces().
BOOST_AUTO_TEST_CASE | ( | with_boundary_check_with_bfield | ) |
Definition at line 102 of file PropagationBentTracks.cpp.
View newest version in sPHENIX GitHub at line 102 of file PropagationBentTracks.cpp
References test_fpe::count, and xPositionsOfPassedSurfaces().
BOOST_AUTO_TEST_CASE | ( | no_boundary_check_with_bfield | ) |
Definition at line 115 of file PropagationBentTracks.cpp.
View newest version in sPHENIX GitHub at line 115 of file PropagationBentTracks.cpp
References Acts::Navigator::Config::boundaryCheckLayerResolving, test_fpe::count, and xPositionsOfPassedSurfaces().
std::vector<double> xPositionsOfPassedSurfaces | ( | Acts::Navigator::Config | navCfg, |
double | bz | ||
) |
Definition at line 34 of file PropagationBentTracks.cpp.
View newest version in sPHENIX GitHub at line 34 of file PropagationBentTracks.cpp
References Acts::ePos0, geoCtx, magCtx, testing::internal::move(), parse_cmake_options::opts, Acts::ParticleHypothesis::pion(), Acts::Propagator< stepper_t, navigator_t >::propagate(), start, step, propagation_timing::stepper, and Acts::Navigator::Config::trackingGeometry.
Referenced by BOOST_AUTO_TEST_CASE().
const Acts::GeometryContext geoCtx |
Definition at line 31 of file PropagationBentTracks.cpp.
View newest version in sPHENIX GitHub at line 31 of file PropagationBentTracks.cpp
Referenced by ActsFatras::BOOST_AUTO_TEST_CASE(), Acts::Test::BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_DATA_TEST_CASE(), ActsFatras::BOOST_DATA_TEST_CASE(), Acts::Experimental::Gx2Fitter< propagator_t, traj_t >::fit(), ActsFatras::BoundParametersSmearer< RandomEngine, kSmearDIM >::operator()(), propagator_instatiation_test_function(), remove_add_components_function(), Acts::AdaptiveMultiVertexFinder< vfitter_t, sfinder_t >::removeTrackIfIncompatible(), runForwardBackwardTest(), runForwardComparisonTest(), runToSurfaceComparisonTest(), runToSurfaceTest(), test_combined_bound_state_function(), test_combined_curvilinear_state_function(), test_component_bound_state(), test_components_modifying_accessors(), FitterTester::test_GlobalCovariance(), test_multi_stepper_state(), test_multi_stepper_state_invalid(), test_multi_stepper_surface_status_update(), test_multi_stepper_vs_eigen_stepper(), test_single_component_interface_function(), FitterTester::test_ZeroFieldNoSurfaceForward(), FitterTester::test_ZeroFieldShuffled(), FitterTester::test_ZeroFieldWithHole(), FitterTester::test_ZeroFieldWithOutliers(), FitterTester::test_ZeroFieldWithReverseFiltering(), FitterTester::test_ZeroFieldWithSurfaceAtExit(), FitterTester::test_ZeroFieldWithSurfaceBackward(), FitterTester::test_ZeroFieldWithSurfaceForward(), and xPositionsOfPassedSurfaces().
const Acts::MagneticFieldContext magCtx |
Definition at line 32 of file PropagationBentTracks.cpp.
View newest version in sPHENIX GitHub at line 32 of file PropagationBentTracks.cpp
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_DATA_TEST_CASE(), ActsExamples::ScalableBFieldService::decorate(), Acts::Experimental::Gx2Fitter< propagator_t, traj_t >::fit(), propagator_instatiation_test_function(), remove_add_components_function(), runForwardBackwardTest(), runForwardComparisonTest(), runToSurfaceComparisonTest(), runToSurfaceTest(), test_combined_bound_state_function(), test_combined_curvilinear_state_function(), test_component_bound_state(), test_components_modifying_accessors(), FitterTester::test_GlobalCovariance(), test_multi_stepper_state(), test_multi_stepper_state_invalid(), test_multi_stepper_surface_status_update(), test_multi_stepper_vs_eigen_stepper(), test_single_component_interface_function(), FitterTester::test_ZeroFieldNoSurfaceForward(), FitterTester::test_ZeroFieldShuffled(), FitterTester::test_ZeroFieldWithHole(), FitterTester::test_ZeroFieldWithOutliers(), FitterTester::test_ZeroFieldWithReverseFiltering(), FitterTester::test_ZeroFieldWithSurfaceAtExit(), FitterTester::test_ZeroFieldWithSurfaceBackward(), FitterTester::test_ZeroFieldWithSurfaceForward(), and xPositionsOfPassedSurfaces().