Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CylindricalDetectorHelperTests.cpp File Reference
#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()
 

Function Documentation

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 ( WrapVolumeinRZ  )
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:

Variable Documentation

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().

Definition at line 49 of file CylindricalDetectorHelperTests.cpp.

View newest version in sPHENIX GitHub at line 49 of file CylindricalDetectorHelperTests.cpp

GeometryContext tContext

Definition at line 51 of file CylindricalDetectorHelperTests.cpp.

View newest version in sPHENIX GitHub at line 51 of file CylindricalDetectorHelperTests.cpp