Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MeasurementTests.cpp File Reference
#include <boost/test/data/test_case.hpp>
#include <boost/test/unit_test.hpp>
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Definitions/TrackParametrization.hpp"
#include "Acts/EventData/Measurement.hpp"
#include "Acts/EventData/SourceLink.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include "Acts/Tests/CommonHelpers/GenerateParameters.hpp"
#include "Acts/Tests/CommonHelpers/TestSourceLink.hpp"
#include <algorithm>
#include <array>
#include <cmath>
#include <limits>
#include <random>
#include <tuple>
#include <utility>
#include <variant>
#include <vector>
+ Include dependency graph for MeasurementTests.cpp:

Go to the source code of this file.

Typedefs

using SourceLink = Acts::Test::TestSourceLink
 

Functions

 BOOST_DATA_TEST_CASE (FixedBoundOne, bd::make(boundIndices), index)
 
 BOOST_AUTO_TEST_CASE (FixedBoundAll)
 
 BOOST_DATA_TEST_CASE (BoundResidualsPhi, bd::make(kPhiDataset), phiMea, phiRef, phiRes)
 
 BOOST_DATA_TEST_CASE (FixedFreeOne, bd::make(freeIndices), index)
 
 BOOST_AUTO_TEST_CASE (FixedFreeAll)
 
 BOOST_AUTO_TEST_CASE (VariantBound)
 
 BOOST_AUTO_TEST_CASE (VariantFree)
 

Typedef Documentation

Definition at line 32 of file MeasurementTests.cpp.

View newest version in sPHENIX GitHub at line 32 of file MeasurementTests.cpp

Function Documentation

BOOST_AUTO_TEST_CASE ( FixedBoundAll  )

Definition at line 73 of file MeasurementTests.cpp.

View newest version in sPHENIX GitHub at line 73 of file MeasurementTests.cpp

References Acts::Test::cov, Acts::eBoundLoc0, Acts::eBoundLoc1, Acts::eBoundPhi, Acts::eBoundQOverP, Acts::eBoundSize, Acts::eBoundTheta, Acts::eBoundTime, Acts::Test::generateBoundParametersCovariance(), i, Acts::makeMeasurement(), conftest::rng(), and parse_cmake_options::source.

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( FixedFreeAll  )

Definition at line 152 of file MeasurementTests.cpp.

View newest version in sPHENIX GitHub at line 152 of file MeasurementTests.cpp

References CHECK_CLOSE_ABS, Acts::Test::cov, Acts::eFreeDir0, Acts::eFreeDir1, Acts::eFreeDir2, Acts::eFreePos0, Acts::eFreePos1, Acts::eFreePos2, Acts::eFreeQOverP, Acts::eFreeSize, Acts::eFreeTime, Acts::Test::generateFreeParametersCovariance(), i, Acts::makeMeasurement(), check_smearing_config::ref, conftest::rng(), and parse_cmake_options::source.

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( VariantBound  )

Definition at line 172 of file MeasurementTests.cpp.

View newest version in sPHENIX GitHub at line 172 of file MeasurementTests.cpp

References Acts::eBoundLoc0, Acts::eBoundLoc1, Acts::eBoundPhi, Acts::eBoundQOverP, Acts::eBoundSize, Acts::eBoundTheta, Acts::eBoundTime, Acts::Test::generateBoundParametersCovariance(), Acts::UnitConstants::m, Acts::makeMeasurement(), conftest::rng(), and parse_cmake_options::source.

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( VariantFree  )

Definition at line 206 of file MeasurementTests.cpp.

View newest version in sPHENIX GitHub at line 206 of file MeasurementTests.cpp

References Acts::eFreeDir0, Acts::eFreeDir1, Acts::eFreeDir2, Acts::eFreePos0, Acts::eFreePos1, Acts::eFreePos2, Acts::eFreeQOverP, Acts::eFreeSize, Acts::eFreeTime, Acts::Test::generateFreeParametersCovariance(), Acts::UnitConstants::m, Acts::makeMeasurement(), conftest::rng(), and parse_cmake_options::source.

+ Here is the call graph for this function:

BOOST_DATA_TEST_CASE ( FixedBoundOne  ,
bd::  makeboundIndices,
index   
)

Definition at line 55 of file MeasurementTests.cpp.

View newest version in sPHENIX GitHub at line 55 of file MeasurementTests.cpp

References Acts::Test::cov, i, Acts::makeMeasurement(), conftest::rng(), and parse_cmake_options::source.

+ Here is the call graph for this function:

BOOST_DATA_TEST_CASE ( BoundResidualsPhi  ,
bd::  makekPhiDataset,
phiMea  ,
phiRef  ,
phiRes   
)

Definition at line 109 of file MeasurementTests.cpp.

View newest version in sPHENIX GitHub at line 109 of file MeasurementTests.cpp

References CHECK_CLOSE_ABS, Acts::Test::cov, Acts::eBoundPhi, Acts::makeMeasurement(), and parse_cmake_options::source.

+ Here is the call graph for this function:

BOOST_DATA_TEST_CASE ( FixedFreeOne  ,
bd::  makefreeIndices,
index   
)

Definition at line 128 of file MeasurementTests.cpp.

View newest version in sPHENIX GitHub at line 128 of file MeasurementTests.cpp

References CHECK_CLOSE_ABS, Acts::Test::cov, Acts::Test::generateFreeParametersCovariance(), i, index, Acts::makeMeasurement(), check_smearing_config::ref, conftest::rng(), and parse_cmake_options::source.

+ Here is the call graph for this function: