Analysis Software
Documentation for sPHENIX simulation software
|
#include <boost/test/unit_test.hpp>
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Detector/Detector.hpp"
#include "Acts/Detector/DetectorVolume.hpp"
#include "Acts/Detector/PortalGenerators.hpp"
#include "Acts/Geometry/CylinderVolumeBounds.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Geometry/GeometryHierarchyMap.hpp"
#include "Acts/Geometry/GeometryIdentifier.hpp"
#include "Acts/Navigation/DetectorVolumeFinders.hpp"
#include "Acts/Navigation/NavigationDelegates.hpp"
#include "Acts/Navigation/NavigationState.hpp"
#include "Acts/Navigation/SurfaceCandidatesUpdators.hpp"
#include "Acts/Surfaces/CylinderBounds.hpp"
#include "Acts/Tests/CommonHelpers/DetectorElementStub.hpp"
#include <memory>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
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 |
BOOST_AUTO_TEST_CASE | ( | DetectorConstruction | ) |
Find by name
Definition at line 48 of file DetectorTests.cpp.
View newest version in sPHENIX GitHub at line 48 of file DetectorTests.cpp
References Acts::Experimental::DetectorVolumeFactory::construct(), Acts::Experimental::NavigationState::currentDetector, Acts::Experimental::NavigationState::currentVolume, cyl0, cyl0Bounds, cyl1, cyl1Bounds, cyl2, cyl2Bounds, Acts::Experimental::defaultPortalGenerator(), det012, Acts::Experimental::Detector::makeShared(), testing::internal::move(), nominal, nState, portalGenerator, Acts::Experimental::NavigationState::position, r0, r1, r2, r3, Acts::Experimental::tryAllPortals(), Acts::Experimental::tryRootVolumes(), physmon_ckf_tracking::u, volumes012, and zHalfL.
BOOST_AUTO_TEST_CASE | ( | DetectorConstructionWithHierarchyMap | ) |
Definition at line 144 of file DetectorTests.cpp.
View newest version in sPHENIX GitHub at line 144 of file DetectorTests.cpp
References Acts::Experimental::DetectorVolumeFactory::construct(), Acts::Experimental::defaultPortalGenerator(), Acts::enumerate(), Acts::Experimental::Detector::makeShared(), testing::internal::move(), portalGenerator, physmon_track_finding_ttbar::r, Acts::GeometryIdentifier::setSensitive(), writeMapConfig::surface, Acts::Experimental::tryAllPortalsAndSurfaces(), Acts::Experimental::tryNoVolumes(), Acts::Experimental::tryRootVolumes(), and physmon_ckf_tracking::u.
std::shared_ptr<referenced_type> unpackToShared | ( | referenced_type & | rt | ) |
Unpack to shared - simply to test the getSharedPtr mechanism
referenced_type | is the type of the referenced object |
rt | is the referenced object |
Definition at line 40 of file DetectorTests.cpp.
View newest version in sPHENIX GitHub at line 40 of file DetectorTests.cpp
Acts::GeometryContext tContext |
Definition at line 44 of file DetectorTests.cpp.
View newest version in sPHENIX GitHub at line 44 of file DetectorTests.cpp