Analysis Software
Documentation for sPHENIX simulation software
|
#include <boost/test/unit_test.hpp>
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Definitions/Direction.hpp"
#include "Acts/Detector/DetectorVolume.hpp"
#include "Acts/Detector/Portal.hpp"
#include "Acts/Detector/PortalGenerators.hpp"
#include "Acts/Geometry/CuboidVolumeBounds.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Geometry/GeometryIdentifier.hpp"
#include "Acts/Navigation/NavigationDelegates.hpp"
#include "Acts/Navigation/NavigationState.hpp"
#include "Acts/Navigation/SurfaceCandidatesUpdators.hpp"
#include "Acts/Surfaces/PlaneSurface.hpp"
#include "Acts/Surfaces/RectangleBounds.hpp"
#include "Acts/Surfaces/Surface.hpp"
#include <array>
#include <memory>
#include <stdexcept>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
class | Acts::Experimental::LinkToVolumeImpl |
a simple link to volume struct More... | |
Namespaces | |
namespace | Acts |
Acts includes to create all necessary definitions. | |
namespace | Acts::Experimental |
Functions | |
template<typename referenced_type > | |
std::shared_ptr< referenced_type > | unpackToShared (referenced_type &rt) |
BOOST_AUTO_TEST_CASE (PortalTest) | |
Variables | |
Acts::GeometryContext | tContext |
BOOST_AUTO_TEST_CASE | ( | PortalTest | ) |
Definition at line 73 of file PortalTests.cpp.
View newest version in sPHENIX GitHub at line 73 of file PortalTests.cpp
References Acts::Experimental::detail::PortalHelper::attachedDetectorVolumes(), Acts::Experimental::DetectorVolumeFactory::construct(), Acts::Experimental::NavigationState::currentVolume, Acts::Experimental::defaultPortalGenerator(), Acts::Experimental::NavigationState::direction, Acts::Experimental::LinkToVolumeImpl::link(), Acts::Experimental::Portal::makeShared(), testing::internal::move(), Acts::Direction::Negative, nState, portalA, portalB, Acts::Experimental::NavigationState::position, Acts::Direction::Positive, Acts::PrimitivesView3DTest::rectangle, size, writeMapConfig::surface, tContext, Acts::Experimental::tryAllPortalsAndSurfaces(), physmon_ckf_tracking::u, volumeA, and volumeB.
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 62 of file PortalTests.cpp.
View newest version in sPHENIX GitHub at line 62 of file PortalTests.cpp
Acts::GeometryContext tContext |
Definition at line 69 of file PortalTests.cpp.
View newest version in sPHENIX GitHub at line 69 of file PortalTests.cpp