![]() |
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/DetectorComponents.hpp"#include "Acts/Detector/DetectorVolume.hpp"#include "Acts/Detector/PortalGenerators.hpp"#include "Acts/Detector/detail/CylindricalDetectorHelper.hpp"#include "Acts/Geometry/CuboidVolumeBounds.hpp"#include "Acts/Geometry/CutoutCylinderVolumeBounds.hpp"#include "Acts/Geometry/CylinderVolumeBounds.hpp"#include "Acts/Geometry/GeometryContext.hpp"#include "Acts/Navigation/DetectorVolumeFinders.hpp"#include "Acts/Navigation/SurfaceCandidatesUpdators.hpp"#include "Acts/Utilities/Enumerate.hpp"#include "Acts/Utilities/Logger.hpp"#include <algorithm>#include <array>#include <cmath>#include <iterator>#include <map>#include <memory>#include <ostream>#include <stdexcept>#include <string>#include <utility>#include <vector>
Include dependency graph for CylindricalDetectorHelperTests.cpp:Go to the source code of this file.
Namespaces | |
| namespace | Acts |
| Acts includes to create all necessary definitions. | |
| namespace | Acts::Experimental |
Functions | |
| BOOST_AUTO_TEST_CASE (ConnectVolumeExceptions) | |
| BOOST_AUTO_TEST_CASE (ConnectInR) | |
| BOOST_AUTO_TEST_CASE (ConnectInZ) | |
| BOOST_AUTO_TEST_CASE (ConnectInPhi) | |
| BOOST_AUTO_TEST_CASE (WrapVolumeinRZ) | |
| BOOST_AUTO_TEST_CASE (ProtoContainerZR) | |
| BOOST_AUTO_TEST_CASE (WrapContainernRZ) | |
| BOOST_AUTO_TEST_CASE (RZPhiBoundaries) | |
Variables | |
| Logging::Level | logLevel = Logging::VERBOSE |
| GeometryContext | tContext |
| std::vector< std::shared_ptr < DetectorVolume > > | eVolumes = {} |
| auto | portalGenerator = defaultPortalGenerator() |
| BOOST_AUTO_TEST_CASE | ( | ConnectVolumeExceptions | ) |
Definition at line 58 of file CylindricalDetectorHelperTests.cpp.
View newest version in sPHENIX GitHub at line 58 of file CylindricalDetectorHelperTests.cpp
References ACTS_INFO, ACTS_LOCAL_LOGGER, Acts::Experimental::detail::CylindricalDetectorHelper::connectInR(), Acts::Experimental::DetectorVolumeFactory::construct(), Acts::getDefaultLogger(), telescope_simulation::logLevel, testing::internal::move(), portalGenerator, tContext, and Acts::Experimental::tryAllPortals().
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | ConnectInR | ) |
Definition at line 110 of file CylindricalDetectorHelperTests.cpp.
View newest version in sPHENIX GitHub at line 110 of file CylindricalDetectorHelperTests.cpp
References ACTS_INFO, ACTS_LOCAL_LOGGER, Acts::Experimental::detail::CylindricalDetectorHelper::connectInR(), Acts::Experimental::DetectorVolumeFactory::construct(), Acts::enumerate(), eVolumes, Acts::getDefaultLogger(), i, telescope_simulation::logLevel, Acts::Experimental::Detector::makeShared(), testing::internal::move(), portalGenerator, physmon_track_finding_ttbar::r, Acts::Experimental::detail::CylindricalDetectorHelper::rzphiBoundaries(), tContext, to_string(), Acts::Experimental::tryAllPortals(), Acts::Experimental::tryRootVolumes(), physmon_ckf_tracking::u, and volumes.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | ConnectInZ | ) |
Definition at line 211 of file CylindricalDetectorHelperTests.cpp.
View newest version in sPHENIX GitHub at line 211 of file CylindricalDetectorHelperTests.cpp
References ACTS_INFO, ACTS_LOCAL_LOGGER, Acts::Experimental::detail::CylindricalDetectorHelper::connectInZ(), Acts::Experimental::DetectorVolumeFactory::construct(), Acts::enumerate(), eVolumes, Acts::getDefaultLogger(), i, it, telescope_simulation::logLevel, Acts::Experimental::Detector::makeShared(), testing::internal::move(), portalGenerator, physmon_track_finding_ttbar::r, t, tContext, to_string(), Acts::Experimental::tryAllPortals(), Acts::Experimental::tryRootVolumes(), physmon_ckf_tracking::u, and physmon_track_finding_ttbar::z.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | ConnectInPhi | ) |
Definition at line 323 of file CylindricalDetectorHelperTests.cpp.
View newest version in sPHENIX GitHub at line 323 of file CylindricalDetectorHelperTests.cpp
References ACTS_INFO, ACTS_LOCAL_LOGGER, Acts::Experimental::detail::CylindricalDetectorHelper::connectInPhi(), Acts::Experimental::DetectorVolumeFactory::construct(), Acts::enumerate(), eVolumes, Acts::getDefaultLogger(), i, it, telescope_simulation::logLevel, Acts::Experimental::Detector::makeShared(), testing::internal::move(), portalGenerator, t, tContext, to_string(), Acts::Experimental::tryAllPortals(), Acts::Experimental::tryRootVolumes(), physmon_ckf_tracking::u, and testSigmaEff::v.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | WrapVolumeinRZ | ) |
Definition at line 369 of file CylindricalDetectorHelperTests.cpp.
View newest version in sPHENIX GitHub at line 369 of file CylindricalDetectorHelperTests.cpp
References ACTS_INFO, ACTS_LOCAL_LOGGER, Acts::Experimental::DetectorVolumeFactory::construct(), Acts::enumerate(), eVolumes, Acts::getDefaultLogger(), it, telescope_simulation::logLevel, testing::internal::move(), portalGenerator, physmon_track_finding_ttbar::r, tContext, to_string(), Acts::Experimental::tryAllPortals(), physmon_ckf_tracking::u, volumes, and Acts::Experimental::detail::CylindricalDetectorHelper::wrapInZR().
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | ProtoContainerZR | ) |
Definition at line 421 of file CylindricalDetectorHelperTests.cpp.
View newest version in sPHENIX GitHub at line 421 of file CylindricalDetectorHelperTests.cpp
References ACTS_INFO, ACTS_LOCAL_LOGGER, Acts::Experimental::detail::CylindricalDetectorHelper::connectInR(), Acts::Experimental::detail::CylindricalDetectorHelper::connectInZ(), Acts::Experimental::DetectorVolumeFactory::construct(), Acts::enumerate(), Acts::getDefaultLogger(), i, telescope_simulation::logLevel, Acts::Experimental::Detector::makeShared(), testing::internal::move(), merge_hashes::p, portalGenerator, physmon_track_finding_ttbar::r, tContext, to_string(), Acts::Test::transform, Acts::Experimental::tryAllPortals(), Acts::Experimental::tryRootVolumes(), physmon_ckf_tracking::u, and physmon_track_finding_ttbar::z.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | WrapContainernRZ | ) |
Definition at line 542 of file CylindricalDetectorHelperTests.cpp.
View newest version in sPHENIX GitHub at line 542 of file CylindricalDetectorHelperTests.cpp
References ACTS_INFO, ACTS_LOCAL_LOGGER, Acts::Experimental::detail::CylindricalDetectorHelper::connectInZ(), Acts::Experimental::DetectorVolumeFactory::construct(), Acts::enumerate(), Acts::getDefaultLogger(), telescope_simulation::logLevel, testing::internal::move(), merge_hashes::p, portalGenerator, physmon_track_finding_ttbar::r, tContext, to_string(), Acts::Experimental::tryAllPortals(), physmon_ckf_tracking::u, and Acts::Experimental::detail::CylindricalDetectorHelper::wrapInZR().
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | RZPhiBoundaries | ) |
Definition at line 609 of file CylindricalDetectorHelperTests.cpp.
View newest version in sPHENIX GitHub at line 609 of file CylindricalDetectorHelperTests.cpp
References Acts::Experimental::DetectorVolumeFactory::construct(), Acts::Experimental::defaultPortalGenerator(), testing::internal::move(), portalGenerator, Acts::Experimental::detail::CylindricalDetectorHelper::rzphiBoundaries(), size, tContext, Acts::Experimental::tryAllPortals(), physmon_ckf_tracking::u, Acts::Logging::VERBOSE, and volumes.
Here is the call graph for this function:| std::vector<std::shared_ptr<DetectorVolume> > eVolumes = {} |
Definition at line 52 of file CylindricalDetectorHelperTests.cpp.
View newest version in sPHENIX GitHub at line 52 of file CylindricalDetectorHelperTests.cpp
Referenced by BOOST_AUTO_TEST_CASE(), and Acts::Experimental::IndexedSubVolumesExtractor::extract().
| Logging::Level logLevel = Logging::VERBOSE |
Definition at line 49 of file CylindricalDetectorHelperTests.cpp.
View newest version in sPHENIX GitHub at line 49 of file CylindricalDetectorHelperTests.cpp
| auto portalGenerator = defaultPortalGenerator() |
Definition at line 54 of file CylindricalDetectorHelperTests.cpp.
View newest version in sPHENIX GitHub at line 54 of file CylindricalDetectorHelperTests.cpp
Referenced by BOOST_AUTO_TEST_CASE(), CylindricalVolumeBuilder< surface_type, surface_bounds_type >::construct(), Acts::Experimental::DetectorVolumeBuilder::construct(), InternalVolumeBuilder< bounds_type >::construct(), Acts::Experimental::DetectorVolume::construct(), and Acts::DetectorVolumeJsonConverter::fromJson().
| GeometryContext tContext |
Definition at line 51 of file CylindricalDetectorHelperTests.cpp.
View newest version in sPHENIX GitHub at line 51 of file CylindricalDetectorHelperTests.cpp