Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ConvertTrackEDM4hepTest.cpp File Reference
#include <boost/test/data/test_case.hpp>
#include <boost/test/tools/old/interface.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/test/unit_test_suite.hpp>
#include "Acts/Definitions/TrackParametrization.hpp"
#include "Acts/EventData/Charge.hpp"
#include "Acts/EventData/GenericBoundTrackParameters.hpp"
#include "Acts/EventData/MultiTrajectory.hpp"
#include "Acts/EventData/TrackHelpers.hpp"
#include "Acts/EventData/TrackStatePropMask.hpp"
#include "Acts/EventData/VectorMultiTrajectory.hpp"
#include "Acts/EventData/VectorTrackContainer.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Plugins/EDM4hep/EDM4hepUtil.hpp"
#include "Acts/Surfaces/PerigeeSurface.hpp"
#include "Acts/Surfaces/PlaneSurface.hpp"
#include "Acts/Surfaces/Surface.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include "Acts/Utilities/Logger.hpp"
#include "Acts/Utilities/Zip.hpp"
#include <algorithm>
#include <random>
#include <edm4hep/TrackCollection.h>
+ Include dependency graph for ConvertTrackEDM4hepTest.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (ConvertTrackParametersToEdm4hepWithPerigee)
 
 BOOST_AUTO_TEST_CASE (ConvertTrackParametersToEdm4hepWithOutPerigee)
 
 BOOST_AUTO_TEST_CASE (ConvertTrackParametersToEdm4hepWithPerigeeNoCov)
 
 BOOST_AUTO_TEST_CASE (ConvertTrackParametersToEdm4hepWithOutPerigeeNoCov)
 
 BOOST_AUTO_TEST_CASE (CovariancePacking)
 
 BOOST_AUTO_TEST_CASE (RoundTripTests)
 

Function Documentation

BOOST_AUTO_TEST_CASE ( ConvertTrackParametersToEdm4hepWithOutPerigee  )

Definition at line 83 of file ConvertTrackEDM4hepTest.cpp.

View newest version in sPHENIX GitHub at line 83 of file ConvertTrackEDM4hepTest.cpp

References Acts::IntegrationTest::Bz, Acts::EDM4hepUtil::detail::convertTrackParametersToEdm4hep(), Acts::Test::cov, Acts::EDM4hepUtil::detail::Parameters::covariance, gctx, Acts::ParticleHypothesis::pion(), Acts::EDM4hepUtil::detail::Parameters::surface, and Acts::EDM4hepUtil::detail::Parameters::values.

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( ConvertTrackParametersToEdm4hepWithOutPerigeeNoCov  )

Definition at line 160 of file ConvertTrackEDM4hepTest.cpp.

View newest version in sPHENIX GitHub at line 160 of file ConvertTrackEDM4hepTest.cpp

References Acts::IntegrationTest::Bz, Acts::EDM4hepUtil::detail::convertTrackParametersToEdm4hep(), Acts::EDM4hepUtil::detail::Parameters::covariance, gctx, Acts::ParticleHypothesis::pion(), Acts::EDM4hepUtil::detail::Parameters::surface, and Acts::EDM4hepUtil::detail::Parameters::values.

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( CovariancePacking  )

Definition at line 194 of file ConvertTrackEDM4hepTest.cpp.

View newest version in sPHENIX GitHub at line 194 of file ConvertTrackEDM4hepTest.cpp

References CHECK_CLOSE_ABS, Acts::UnitConstants::e, Acts::UnitConstants::m, Acts::UnitConstants::m2, Acts::EDM4hepUtil::detail::packCovariance(), Acts::EDM4hepUtil::detail::unpackCovariance(), and Acts::Test::values.

+ Here is the call graph for this function: