Analysis Software
Documentation for sPHENIX simulation software
|
#include <boost/test/unit_test.hpp>
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Detector/CylindricalContainerBuilder.hpp"
#include "Acts/Detector/Detector.hpp"
#include "Acts/Detector/DetectorBuilder.hpp"
#include "Acts/Detector/DetectorVolume.hpp"
#include "Acts/Detector/DetectorVolumeBuilder.hpp"
#include "Acts/Detector/GeometryIdGenerator.hpp"
#include "Acts/Detector/LayerStructureBuilder.hpp"
#include "Acts/Detector/PortalGenerators.hpp"
#include "Acts/Detector/VolumeStructureBuilder.hpp"
#include "Acts/Geometry/CylinderVolumeBounds.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Navigation/DetectorVolumeFinders.hpp"
#include "Acts/Navigation/SurfaceCandidatesUpdators.hpp"
#include "Acts/Plugins/Json/DetectorJsonConverter.hpp"
#include "Acts/Surfaces/CylinderBounds.hpp"
#include "Acts/Surfaces/CylinderSurface.hpp"
#include "Acts/Surfaces/Surface.hpp"
#include "Acts/Tests/CommonHelpers/CylindricalTrackingGeometry.hpp"
#include "Acts/Tests/CommonHelpers/FloatComparisons.hpp"
#include "Acts/Utilities/Enumerate.hpp"
#include <fstream>
#include <memory>
#include <vector>
#include <nlohmann/json.hpp>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (SingleEmptyVolumeDetector) | |
BOOST_AUTO_TEST_CASE (SingleVolumeOneSurfaceDetector) | |
BOOST_AUTO_TEST_CASE (BeamPipeEndcapBarrelDetector) | |
Variables | |
Acts::GeometryContext | tContext |
auto | cGeometry = Acts::Test::CylindricalTrackingGeometry(tContext) |
BOOST_AUTO_TEST_CASE | ( | SingleEmptyVolumeDetector | ) |
Definition at line 73 of file DetectorJsonConverterTests.cpp.
View newest version in sPHENIX GitHub at line 73 of file DetectorJsonConverterTests.cpp
References bounds, Acts::Experimental::DetectorVolumeFactory::construct(), Acts::Experimental::defaultPortalGenerator(), Acts::Experimental::Detector::makeShared(), testing::internal::move(), nominal, out, portalGenerator, Acts::DetectorJsonConverter::toJson(), Acts::Experimental::tryAllPortals(), Acts::Experimental::tryRootVolumes(), and volumes.
BOOST_AUTO_TEST_CASE | ( | SingleVolumeOneSurfaceDetector | ) |
Definition at line 98 of file DetectorJsonConverterTests.cpp.
View newest version in sPHENIX GitHub at line 98 of file DetectorJsonConverterTests.cpp
References bounds, Acts::Experimental::DetectorVolumeFactory::construct(), Acts::Experimental::defaultPortalGenerator(), Acts::Experimental::Detector::makeShared(), testing::internal::move(), nominal, out, portalGenerator, writeMapConfig::surface, Acts::DetectorJsonConverter::toJson(), Acts::DetectorJsonConverter::toJsonDetray(), Acts::Experimental::tryAllPortalsAndSurfaces(), Acts::Experimental::tryNoVolumes(), Acts::Experimental::tryRootVolumes(), and volumes.
BOOST_AUTO_TEST_CASE | ( | BeamPipeEndcapBarrelDetector | ) |
Barrel surfaces
Definition at line 134 of file DetectorJsonConverterTests.cpp.
View newest version in sPHENIX GitHub at line 134 of file DetectorJsonConverterTests.cpp
References Acts::Experimental::LayerStructureBuilder::Config::auxiliary, Acts::binPhi, Acts::binR, Acts::binZ, Acts::Experimental::VolumeStructureBuilder::Config::boundsType, Acts::Experimental::VolumeStructureBuilder::Config::boundValues, Acts::Experimental::CylindricalContainerBuilder::Config::builders, cGeometry, filter::Config, Acts::enumerate(), Acts::DetectorJsonConverter::fromJson(), Acts::getDefaultLogger(), in, Acts::Experimental::DetectorBuilder::Config::name, Acts::Experimental::DetectorVolumeBuilder::Config::name, out, to_string(), Acts::DetectorJsonConverter::toJson(), Acts::DetectorJsonConverter::toJsonDetray(), physmon_ckf_tracking::u, and Acts::Logging::VERBOSE.
auto cGeometry = Acts::Test::CylindricalTrackingGeometry(tContext) |
Definition at line 69 of file DetectorJsonConverterTests.cpp.
View newest version in sPHENIX GitHub at line 69 of file DetectorJsonConverterTests.cpp
Acts::GeometryContext tContext |
Definition at line 68 of file DetectorJsonConverterTests.cpp.
View newest version in sPHENIX GitHub at line 68 of file DetectorJsonConverterTests.cpp