Analysis Software
Documentation for sPHENIX simulation software
|
#include <boost/test/unit_test.hpp>
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Detector/DetectorVolume.hpp"
#include "Acts/Detector/Portal.hpp"
#include "Acts/Detector/PortalGenerators.hpp"
#include "Acts/Geometry/CuboidVolumeBounds.hpp"
#include "Acts/Geometry/CylinderVolumeBounds.hpp"
#include "Acts/Geometry/Extent.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Navigation/DetectorVolumeFinders.hpp"
#include "Acts/Navigation/NavigationState.hpp"
#include "Acts/Navigation/SurfaceCandidatesUpdators.hpp"
#include "Acts/Surfaces/CylinderBounds.hpp"
#include "Acts/Surfaces/CylinderSurface.hpp"
#include "Acts/Surfaces/Surface.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include "Acts/Utilities/BinningType.hpp"
#include <cstddef>
#include <memory>
#include <stdexcept>
#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 (CylindricalDetectorVolumePortals) | |
BOOST_AUTO_TEST_CASE (UpdatePortal) | |
BOOST_AUTO_TEST_CASE (CuboidWithCuboid) | |
BOOST_AUTO_TEST_CASE (CylinderWithSurfacesTestExtractors) | |
Variables | |
Acts::GeometryContext | tContext |
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.
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.
BOOST_AUTO_TEST_CASE | ( | CuboidWithCuboid | ) |
Definition at line 141 of file DetectorVolumeTests.cpp.
View newest version in sPHENIX GitHub at line 141 of file DetectorVolumeTests.cpp
References Acts::Experimental::DetectorVolumeFactory::construct(), Acts::Experimental::NavigationState::currentVolume, Acts::Experimental::defaultPortalAndSubPortalGenerator(), Acts::Experimental::defaultPortalGenerator(), Acts::Experimental::NavigationState::direction, Acts::Experimental::generatePortalsUpdateInternals(), testing::internal::move(), nominal, nState, Acts::Experimental::NavigationState::position, Acts::Experimental::NavigationState::surfaceCandidates, tContext, Acts::Experimental::tryAllPortals(), Acts::Experimental::tryAllSubVolumes(), physmon_ckf_tracking::u, Acts::Experimental::DetectorVolume::updateNavigationState(), and volumes.
BOOST_AUTO_TEST_CASE | ( | CylinderWithSurfacesTestExtractors | ) |
Definition at line 186 of file DetectorVolumeTests.cpp.
View newest version in sPHENIX GitHub at line 186 of file DetectorVolumeTests.cpp
References Acts::Experimental::DetectorVolumeFactory::construct(), Acts::Experimental::defaultPortalGenerator(), Acts::Experimental::AllPortalsExtractor::extract(), Acts::Experimental::AllSurfacesExtractor::extract(), Acts::Experimental::IndexedSurfacesExtractor::extract(), testing::internal::move(), nState, portalGenerator, physmon_track_finding_ttbar::r, tContext, Acts::Experimental::tryAllPortalsAndSurfaces(), Acts::Experimental::tryNoVolumes(), 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 42 of file DetectorVolumeTests.cpp.
View newest version in sPHENIX GitHub at line 42 of file DetectorVolumeTests.cpp
Acts::GeometryContext tContext |
Definition at line 48 of file DetectorVolumeTests.cpp.
View newest version in sPHENIX GitHub at line 48 of file DetectorVolumeTests.cpp