Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DetectorVolumeTests.cpp File Reference
+ Include dependency graph for DetectorVolumeTests.cpp:

Go to the source code of this file.

Functions

template<typename referenced_type >
std::shared_ptr< referenced_type > unpackToShared (referenced_type &rt)
 
 BOOST_AUTO_TEST_CASE (CylindricalDetectorVolumePortals)
 
 BOOST_AUTO_TEST_CASE (UpdatePortal)
 
 BOOST_AUTO_TEST_CASE (CuboidWithCuboid)
 
 BOOST_AUTO_TEST_CASE (CylinderWithSurfacesTestExtractors)
 

Variables

Acts::GeometryContext tContext
 

Function Documentation

BOOST_AUTO_TEST_CASE ( CylindricalDetectorVolumePortals  )

Definition at line 52 of file DetectorVolumeTests.cpp.

View newest version in sPHENIX GitHub at line 52 of file DetectorVolumeTests.cpp

References Acts::binR, Acts::binZ, CHECK_CLOSE_ABS, Acts::Experimental::DetectorVolumeFactory::construct(), Acts::Experimental::defaultPortalGenerator(), Acts::UnitConstants::e, testing::internal::move(), nominal, portalGenerator, tContext, Acts::Experimental::tryAllPortals(), physmon_ckf_tracking::u, and zHalfL.

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( UpdatePortal  )

Definition at line 119 of file DetectorVolumeTests.cpp.

View newest version in sPHENIX GitHub at line 119 of file DetectorVolumeTests.cpp

References Acts::Experimental::DetectorVolumeFactory::construct(), Acts::Experimental::defaultPortalGenerator(), Acts::Experimental::Portal::makeShared(), testing::internal::move(), nominal, portalGenerator, tContext, Acts::Experimental::tryAllPortals(), and physmon_ckf_tracking::u.

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( CylinderWithSurfacesTestExtractors  )
template<typename referenced_type >
std::shared_ptr<referenced_type> unpackToShared ( referenced_type &  rt)

Unpack to shared - simply to test the getSharedPtr mechanism

Template Parameters
referenced_typeis the type of the referenced object
Parameters
rtis the referenced object
Returns
a shared pointer

Definition at line 42 of file DetectorVolumeTests.cpp.

View newest version in sPHENIX GitHub at line 42 of file DetectorVolumeTests.cpp

Variable Documentation

Definition at line 48 of file DetectorVolumeTests.cpp.

View newest version in sPHENIX GitHub at line 48 of file DetectorVolumeTests.cpp