Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DetectorVolumeUpdatorsTests.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Navigation/DetectorVolumeUpdators.hpp"
#include "Acts/Navigation/NavigationDelegates.hpp"
#include "Acts/Navigation/NavigationState.hpp"
#include "Acts/Utilities/BinningType.hpp"
#include <memory>
#include <stdexcept>
#include <vector>
+ Include dependency graph for DetectorVolumeUpdatorsTests.cpp:

Go to the source code of this file.

Classes

class  Acts::Experimental::DetectorVolume
 Define a dummy detector volume. More...
 

Namespaces

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

Functions

 BOOST_AUTO_TEST_CASE (UnconnectedUpdate)
 
 BOOST_AUTO_TEST_CASE (EndOfWorldUpdate)
 
 BOOST_AUTO_TEST_CASE (SingleVolumeUpdate)
 
 BOOST_AUTO_TEST_CASE (VolumeArrayUpdate)
 

Variables

Acts::GeometryContext tContext
 
auto volumeA = std::make_shared<Acts::Experimental::DetectorVolume>()
 
auto volumeB = std::make_shared<Acts::Experimental::DetectorVolume>()
 
auto volumeC = std::make_shared<Acts::Experimental::DetectorVolume>()
 
auto volumeD = std::make_shared<Acts::Experimental::DetectorVolume>()
 
Acts::Experimental::NavigationState nState
 

Function Documentation

BOOST_AUTO_TEST_CASE ( UnconnectedUpdate  )

Definition at line 44 of file DetectorVolumeUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 44 of file DetectorVolumeUpdatorsTests.cpp

BOOST_AUTO_TEST_CASE ( EndOfWorldUpdate  )

Definition at line 50 of file DetectorVolumeUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 50 of file DetectorVolumeUpdatorsTests.cpp

References Acts::Experimental::NavigationState::currentVolume, Acts::Experimental::EndOfWorldImpl::update(), and volumeA.

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( SingleVolumeUpdate  )

Definition at line 61 of file DetectorVolumeUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 61 of file DetectorVolumeUpdatorsTests.cpp

References Acts::Experimental::NavigationState::currentVolume, Acts::Experimental::SingleDetectorVolumeImpl::update(), volumeA, and volumeB.

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( VolumeArrayUpdate  )

Definition at line 75 of file DetectorVolumeUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 75 of file DetectorVolumeUpdatorsTests.cpp

References Acts::binZ, Acts::Experimental::NavigationState::currentVolume, Acts::Experimental::NavigationState::position, Acts::Experimental::BoundVolumesGrid1Impl::update(), volumeA, volumeB, volumeC, volumeD, and volumes.

+ Here is the call graph for this function:

Variable Documentation

Definition at line 36 of file DetectorVolumeUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 36 of file DetectorVolumeUpdatorsTests.cpp

Definition at line 23 of file DetectorVolumeUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 23 of file DetectorVolumeUpdatorsTests.cpp

auto volumeA = std::make_shared<Acts::Experimental::DetectorVolume>()

Definition at line 31 of file DetectorVolumeUpdatorsTests.cpp.

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

Referenced by BOOST_AUTO_TEST_CASE().

auto volumeB = std::make_shared<Acts::Experimental::DetectorVolume>()

Definition at line 32 of file DetectorVolumeUpdatorsTests.cpp.

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

Referenced by BOOST_AUTO_TEST_CASE().

auto volumeC = std::make_shared<Acts::Experimental::DetectorVolume>()

Definition at line 33 of file DetectorVolumeUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 33 of file DetectorVolumeUpdatorsTests.cpp

Referenced by BOOST_AUTO_TEST_CASE().

auto volumeD = std::make_shared<Acts::Experimental::DetectorVolume>()

Definition at line 34 of file DetectorVolumeUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 34 of file DetectorVolumeUpdatorsTests.cpp

Referenced by BOOST_AUTO_TEST_CASE().