Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LinearizedTrackFactoryTests.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/TrackParametrization.hpp"
#include "Acts/Definitions/Units.hpp"
#include "Acts/EventData/TrackParameters.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Geometry/GeometryIdentifier.hpp"
#include "Acts/MagneticField/ConstantBField.hpp"
#include "Acts/MagneticField/MagneticFieldContext.hpp"
#include "Acts/MagneticField/NullBField.hpp"
#include "Acts/Propagator/EigenStepper.hpp"
#include "Acts/Propagator/Propagator.hpp"
#include "Acts/Propagator/StraightLineStepper.hpp"
#include "Acts/Surfaces/PerigeeSurface.hpp"
#include "Acts/Surfaces/Surface.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include "Acts/Utilities/Result.hpp"
#include "Acts/Vertexing/HelicalTrackLinearizer.hpp"
#include "Acts/Vertexing/LinearizedTrack.hpp"
#include "Acts/Vertexing/NumericalTrackLinearizer.hpp"
#include <algorithm>
#include <array>
#include <cmath>
#include <memory>
#include <random>
#include <tuple>
#include <utility>
#include <vector>
+ Include dependency graph for LinearizedTrackFactoryTests.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::HelicalPropagator = Propagator< EigenStepper<>>
 
using Acts::Test::AnalyticalLinearizer = HelicalTrackLinearizer< HelicalPropagator >
 
using Acts::Test::StraightAnalyticalLinearizer = HelicalTrackLinearizer< StraightPropagator >
 
using Acts::Test::NumericalLinearizer = NumericalTrackLinearizer< HelicalPropagator >
 
using Acts::Test::StraightNumericalLinearizer = NumericalTrackLinearizer< StraightPropagator >
 

Functions

std::uniform_real_distribution Acts::Test::vXYDist (-0.1_mm, 0.1_mm)
 
std::uniform_real_distribution Acts::Test::vZDist (-20_mm, 20_mm)
 
std::uniform_real_distribution Acts::Test::vTDist (-1_ns, 1_ns)
 
std::uniform_real_distribution Acts::Test::d0Dist (-0.01_mm, 0.01_mm)
 
std::uniform_real_distribution Acts::Test::z0Dist (-0.2_mm, 0.2_mm)
 
std::uniform_real_distribution Acts::Test::pTDist (0.4_GeV, 10_GeV)
 
std::uniform_real_distribution Acts::Test::phiDist (-M_PI, M_PI)
 
std::uniform_real_distribution Acts::Test::thetaDist (1.0, M_PI-1.0)
 
std::uniform_real_distribution Acts::Test::qDist (-1, 1)
 
std::uniform_real_distribution Acts::Test::tDist (-0.002_ns, 0.002_ns)
 
std::uniform_real_distribution Acts::Test::resIPDist (0., 100_um)
 
std::uniform_real_distribution Acts::Test::resAngDist (0., 0.1)
 
std::uniform_real_distribution Acts::Test::resQoPDist (0.0, 0.1)
 
std::uniform_real_distribution Acts::Test::resTDist (0.1_ns, 0.2_ns)
 
 Acts::Test::BOOST_AUTO_TEST_CASE (linearized_track_factory_test)
 Test HelicalTrackLinearizer by comparing it to NumericalTrackLinearizer.