Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DetectorTests.cpp File Reference
+ Include dependency graph for DetectorTests.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 (DetectorConstruction)
 
 BOOST_AUTO_TEST_CASE (DetectorConstructionWithHierarchyMap)
 

Variables

Acts::GeometryContext tContext
 

Function Documentation

BOOST_AUTO_TEST_CASE ( DetectorConstructionWithHierarchyMap  )
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 40 of file DetectorTests.cpp.

View newest version in sPHENIX GitHub at line 40 of file DetectorTests.cpp

Variable Documentation

Definition at line 44 of file DetectorTests.cpp.

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