Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NavigationStateUpdatorsTests.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Navigation/NavigationState.hpp"
#include "Acts/Navigation/NavigationStateFillers.hpp"
#include "Acts/Navigation/NavigationStateUpdators.hpp"
#include "Acts/Utilities/BinningType.hpp"
#include "Acts/Utilities/IAxis.hpp"
#include "Acts/Utilities/detail/AxisFwd.hpp"
#include <algorithm>
#include <array>
#include <cstddef>
#include <memory>
#include <tuple>
#include <utility>
#include <vector>
#include "../Surfaces/SurfaceStub.hpp"
+ Include dependency graph for NavigationStateUpdatorsTests.cpp:

Go to the source code of this file.

Classes

class  Acts::Experimental::DetectorVolume
 Define a dummy detector volume. More...
 
class  Acts::Experimental::Detector
 A detector. More...
 
struct  Acts::Experimental::AllPortalsExtractor
 Helper extractors: all portals. More...
 
struct  Acts::Experimental::AllSurfacesExtractor
 Helper extractors: all surfaces. More...
 
struct  Acts::Experimental::IndexedSurfacesExtractor
 Helper extractors: indexed surfaces. More...
 
class  Acts::TestAxis
 
class  Acts::MultiGrid1D
 
class  Acts::MultiGrid2D
 

Namespaces

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

Typedefs

using SingleVolumeUpdator = Acts::Experimental::SingleObjectImpl< Acts::Experimental::DetectorVolume, Acts::Experimental::DetectorVolumeFiller >
 
using AllSurfacesProvider = Acts::Experimental::StaticUpdatorImpl< Acts::Experimental::AllSurfacesExtractor, Acts::Experimental::SurfacesFiller >
 
using AllPortalsProvider = Acts::Experimental::StaticUpdatorImpl< Acts::Experimental::AllPortalsExtractor, Acts::Experimental::PortalsFiller >
 

Functions

 BOOST_AUTO_TEST_CASE (SingleDetectorVolumeUpdator)
 
 BOOST_AUTO_TEST_CASE (AllSurfaces)
 
 BOOST_AUTO_TEST_CASE (AllPortals)
 
 BOOST_AUTO_TEST_CASE (AllPortalsAllSurfaces)
 
 BOOST_AUTO_TEST_CASE (AllPortalsGrid1DSurfaces)
 
 BOOST_AUTO_TEST_CASE (AllPortalsGrid2DSurfaces)
 

Variables

Acts::GeometryContext tContext
 
auto surfaceA = Acts::Surface::makeShared<Acts::SurfaceStub>()
 
auto surfaceB = Acts::Surface::makeShared<Acts::SurfaceStub>()
 
auto surfaceC = Acts::Surface::makeShared<Acts::SurfaceStub>()
 
auto pSurfaceA = Acts::Surface::makeShared<Acts::SurfaceStub>()
 
auto pSurfaceB = Acts::Surface::makeShared<Acts::SurfaceStub>()
 
auto portalA = Acts::Experimental::Portal::makeShared(pSurfaceA)
 
auto portalB = Acts::Experimental::Portal::makeShared(pSurfaceB)
 

Typedef Documentation

Function Documentation

BOOST_AUTO_TEST_CASE ( SingleDetectorVolumeUpdator  )

Definition at line 184 of file NavigationStateUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 184 of file NavigationStateUpdatorsTests.cpp

References Acts::Experimental::NavigationState::currentVolume, nState, and Acts::Experimental::SingleObjectImpl< object_type, filler_type >::update().

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( AllSurfaces  )

Definition at line 196 of file NavigationStateUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 196 of file NavigationStateUpdatorsTests.cpp

References Acts::Experimental::NavigationState::currentVolume, nState, portalA, portalB, surfaceA, surfaceB, surfaceC, Acts::Experimental::NavigationState::surfaceCandidates, physmon_ckf_tracking::u, and Acts::Experimental::StaticUpdatorImpl< extractor_type, filler_type >::update().

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( AllPortals  )

Definition at line 210 of file NavigationStateUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 210 of file NavigationStateUpdatorsTests.cpp

References Acts::Experimental::NavigationState::currentVolume, nState, portalA, portalB, surfaceA, surfaceB, surfaceC, Acts::Experimental::NavigationState::surfaceCandidates, physmon_ckf_tracking::u, and Acts::Experimental::StaticUpdatorImpl< extractor_type, filler_type >::update().

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( AllPortalsAllSurfaces  )

Definition at line 224 of file NavigationStateUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 224 of file NavigationStateUpdatorsTests.cpp

References Acts::Experimental::NavigationState::currentVolume, nState, portalA, portalB, surfaceA, surfaceB, surfaceC, Acts::Experimental::NavigationState::surfaceCandidates, physmon_ckf_tracking::u, and Acts::Experimental::StaticUpdatorImpl< extractor_type, filler_type >::update().

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( AllPortalsGrid1DSurfaces  )

Definition at line 245 of file NavigationStateUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 245 of file NavigationStateUpdatorsTests.cpp

References Acts::binR, Acts::Experimental::NavigationState::currentVolume, grid(), testing::internal::move(), nState, portalA, portalB, surfaceA, surfaceB, surfaceC, Acts::Experimental::NavigationState::surfaceCandidates, and physmon_ckf_tracking::u.

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( AllPortalsGrid2DSurfaces  )

Definition at line 271 of file NavigationStateUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 271 of file NavigationStateUpdatorsTests.cpp

References Acts::binR, Acts::binZ, Acts::Experimental::NavigationState::currentVolume, grid(), testing::internal::move(), nState, portalA, portalB, surfaceA, surfaceB, surfaceC, Acts::Experimental::NavigationState::surfaceCandidates, and physmon_ckf_tracking::u.

+ Here is the call graph for this function:

Variable Documentation

Definition at line 179 of file NavigationStateUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 179 of file NavigationStateUpdatorsTests.cpp

Referenced by BOOST_AUTO_TEST_CASE().

Definition at line 180 of file NavigationStateUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 180 of file NavigationStateUpdatorsTests.cpp

Referenced by BOOST_AUTO_TEST_CASE().

Definition at line 177 of file NavigationStateUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 177 of file NavigationStateUpdatorsTests.cpp

Referenced by BOOST_AUTO_TEST_CASE().

Definition at line 178 of file NavigationStateUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 178 of file NavigationStateUpdatorsTests.cpp

Referenced by BOOST_AUTO_TEST_CASE().

Definition at line 173 of file NavigationStateUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 173 of file NavigationStateUpdatorsTests.cpp

Referenced by BOOST_AUTO_TEST_CASE().

Definition at line 174 of file NavigationStateUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 174 of file NavigationStateUpdatorsTests.cpp

Referenced by BOOST_AUTO_TEST_CASE().

Definition at line 175 of file NavigationStateUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 175 of file NavigationStateUpdatorsTests.cpp

Referenced by BOOST_AUTO_TEST_CASE().

Definition at line 31 of file NavigationStateUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 31 of file NavigationStateUpdatorsTests.cpp