EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Test::Layers Namespace Reference

Functions

 BOOST_AUTO_TEST_CASE (ConeLayerConstruction)
 Unit test for creating compliant/non-compliant ConeLayer object.
 
 BOOST_AUTO_TEST_CASE (CylinderLayerConstruction)
 Unit test for creating compliant/non-compliant CylinderLayer object.
 
 BOOST_AUTO_TEST_CASE (CylinderLayerProperties)
 Unit test for testing Layer properties.
 
 BOOST_AUTO_TEST_CASE (DiscLayerConstruction)
 Unit test for creating compliant/non-compliant DiscLayer object.
 
 BOOST_AUTO_TEST_CASE (DiscLayerProperties)
 Unit test for testing Layer properties.
 
 BOOST_AUTO_TEST_CASE (GenericApproachDescriptorConstruction)
 
 BOOST_AUTO_TEST_CASE (GenericApproachDescriptorProperties,*utf::expected_failures(1))
 Unit test for testing GenericApproachDescriptor properties.
 
 BOOST_AUTO_TEST_CASE (GenericApproachNoOverstepping)
 
 BOOST_AUTO_TEST_CASE (LayerConstruction)
 Unit test for creating compliant/non-compliant Layer object.
 
 BOOST_AUTO_TEST_CASE (LayerProperties,*utf::expected_failures(1))
 Unit test for testing Layer properties.
 
 BOOST_AUTO_TEST_CASE (NavigationLayerConstruction)
 Unit test for creating compliant/non-compliant NavigationLayer object.
 
 BOOST_AUTO_TEST_CASE (NavigationLayerProperties,*utf::expected_failures(1))
 Unit test for testing NavigationLayer properties.
 
 BOOST_AUTO_TEST_CASE (PlaneLayerConstruction)
 Unit test for creating compliant/non-compliant PlaneLayer object.
 
 BOOST_AUTO_TEST_CASE (PlaneLayerProperties)
 Unit test for testing Layer properties.
 
 BOOST_AUTO_TEST_CASE (ProtoLayerHelperTests)
 
 BOOST_AUTO_TEST_CASE (ProtoLayerTests)
 

Variables

GeometryContext tgContext = GeometryContext()
 

Function Documentation

Acts::Test::Layers::BOOST_AUTO_TEST_CASE ( ProtoLayerTests  )

Definition at line 29 of file ProtoLayerTests.cpp.

View newest version in sPHENIX GitHub at line 29 of file ProtoLayerTests.cpp

References Acts::binR, Acts::binX, Acts::binY, Acts::binZ, CHECK_CLOSE_ABS, Acts::UnitConstants::e, M_PI, and tgContext.

Acts::Test::Layers::BOOST_AUTO_TEST_CASE ( ProtoLayerHelperTests  )

Cylindrical section ------------------------------------------———

Disc section ---------------------------------------------——

Ring layout section ------------------------------------------------—

Definition at line 30 of file ProtoLayerHelperTests.cpp.

View newest version in sPHENIX GitHub at line 30 of file ProtoLayerHelperTests.cpp

References Acts::binR, Acts::binZ, Acts::ObjVisualization3D< T >::clear(), Acts::GeometryView3D::drawSurface(), Acts::getDefaultLogger(), ir(), G4TTL::layer, Acts::ProtoLayerHelper::protoLayers(), Acts::Test::CylindricalTrackingGeometry::surfacesCylinder(), Acts::Test::CylindricalTrackingGeometry::surfacesRing(), tgContext, nlohmann::to_string(), Acts::Logging::VERBOSE, and Acts::ObjVisualization3D< T >::write().

+ Here is the call graph for this function:

Acts::Test::Layers::BOOST_AUTO_TEST_CASE ( ConeLayerConstruction  )

Unit test for creating compliant/non-compliant ConeLayer object.

Constructor with transform pointer

Definition at line 33 of file ConeLayerTests.cpp.

View newest version in sPHENIX GitHub at line 33 of file ConeLayerTests.cpp

References Acts::active, starlightConstants::alpha, Acts::ConeLayer::create(), M_PI, Acts::passive, and thickness.

+ Here is the call graph for this function:

Acts::Test::Layers::BOOST_AUTO_TEST_CASE ( PlaneLayerConstruction  )

Unit test for creating compliant/non-compliant PlaneLayer object.

Constructor with transform pointer

Definition at line 35 of file PlaneLayerTests.cpp.

View newest version in sPHENIX GitHub at line 35 of file PlaneLayerTests.cpp

References Acts::active, Acts::binZ, Acts::PlaneLayer::create(), Acts::Test::halfX, Acts::Test::halfY, Acts::passive, Acts::SurfaceArrayCreator::surfaceArrayOnPlane(), tgContext, and thickness.

+ Here is the call graph for this function:

Acts::Test::Layers::BOOST_AUTO_TEST_CASE ( NavigationLayerConstruction  )

Unit test for creating compliant/non-compliant NavigationLayer object.

Definition at line 36 of file NavigationLayerTests.cpp.

View newest version in sPHENIX GitHub at line 36 of file NavigationLayerTests.cpp

References Acts::NavigationLayer::create(), Acts::navigation, and thickness.

+ Here is the call graph for this function:

Acts::Test::Layers::BOOST_AUTO_TEST_CASE ( GenericApproachDescriptorConstruction  )

Unit test for creating compliant/non-compliant GenericApproachDescriptor object

Definition at line 36 of file GenericApproachDescriptorTests.cpp.

View newest version in sPHENIX GitHub at line 36 of file GenericApproachDescriptorTests.cpp

Acts::Test::Layers::BOOST_AUTO_TEST_CASE ( LayerConstruction  )

Unit test for creating compliant/non-compliant Layer object.

Minimum possible construction (default constructor is deleted)

Need an approach descriptor for the next level of complexity:

Construction with (minimal) approach descriptor

Definition at line 38 of file LayerTests.cpp.

View newest version in sPHENIX GitHub at line 38 of file LayerTests.cpp

References Acts::LayerStub::constructedOk(), and thickness.

+ Here is the call graph for this function:

Acts::Test::Layers::BOOST_AUTO_TEST_CASE ( CylinderLayerConstruction  )

Unit test for creating compliant/non-compliant CylinderLayer object.

Construction

Definition at line 39 of file CylinderLayerTests.cpp.

View newest version in sPHENIX GitHub at line 39 of file CylinderLayerTests.cpp

References CHECK_CLOSE_REL, Acts::CylinderLayer::create(), Acts::UnitConstants::e, Acts::passive, G4BECAL::radius, and thickness.

+ Here is the call graph for this function:

Acts::Test::Layers::BOOST_AUTO_TEST_CASE ( DiscLayerConstruction  )

Unit test for creating compliant/non-compliant DiscLayer object.

Construction

Definition at line 40 of file DiscLayerTests.cpp.

View newest version in sPHENIX GitHub at line 40 of file DiscLayerTests.cpp

References Acts::DiscLayer::create(), Acts::passive, and thickness.

+ Here is the call graph for this function:

Acts::Test::Layers::BOOST_AUTO_TEST_CASE ( NavigationLayerProperties  ,
*utf::  expected_failures
)

Unit test for testing NavigationLayer properties.

Definition at line 50 of file NavigationLayerTests.cpp.

View newest version in sPHENIX GitHub at line 50 of file NavigationLayerTests.cpp

References Acts::binZ, Acts::NavigationLayer::create(), Acts::Test::origin(), tgContext, and thickness.

+ Here is the call graph for this function:

Acts::Test::Layers::BOOST_AUTO_TEST_CASE ( GenericApproachDescriptorProperties  ,
*utf::  expected_failures
)

Unit test for testing GenericApproachDescriptor properties.

Definition at line 52 of file GenericApproachDescriptorTests.cpp.

View newest version in sPHENIX GitHub at line 52 of file GenericApproachDescriptorTests.cpp

References Acts::GenericApproachDescriptor::approachSurface(), CHECK_CLOSE_REL, Acts::GenericApproachDescriptor::containedSurfaces(), Acts::UnitConstants::e, Acts::Test::origin(), Acts::GenericApproachDescriptor::registerLayer(), and tgContext.

+ Here is the call graph for this function:

Acts::Test::Layers::BOOST_AUTO_TEST_CASE ( LayerProperties  ,
*utf::  expected_failures
)

Unit test for testing Layer properties.

Constructor

surfaceArray()

thickness()

isOnLayer() (delegates to the Surface 'isOnSurface()')

approachDescriptor(), retrieved as a pointer.

nextLayer()

trackingVolume()

layerType()

Definition at line 58 of file LayerTests.cpp.

View newest version in sPHENIX GitHub at line 58 of file LayerTests.cpp

References Acts::Layer::approachDescriptor(), Acts::Layer::isOnLayer(), Acts::Layer::layerType(), Acts::Layer::nextLayer(), Acts::passive, Acts::Test::pos, Acts::Layer::surfaceArray(), tgContext, thickness, Acts::Layer::thickness(), and Acts::Layer::trackingVolume().

+ Here is the call graph for this function:

Acts::Test::Layers::BOOST_AUTO_TEST_CASE ( DiscLayerProperties  )

Unit test for testing Layer properties.

Definition at line 80 of file DiscLayerTests.cpp.

View newest version in sPHENIX GitHub at line 80 of file DiscLayerTests.cpp

References Acts::DiscLayer::create().

+ Here is the call graph for this function:

Acts::Test::Layers::BOOST_AUTO_TEST_CASE ( PlaneLayerProperties  )

Unit test for testing Layer properties.

Definition at line 81 of file PlaneLayerTests.cpp.

View newest version in sPHENIX GitHub at line 81 of file PlaneLayerTests.cpp

References Acts::PlaneLayer::create(), Acts::Test::halfX, and Acts::Test::halfY.

+ Here is the call graph for this function:

Acts::Test::Layers::BOOST_AUTO_TEST_CASE ( CylinderLayerProperties  )

Unit test for testing Layer properties.

Definition at line 83 of file CylinderLayerTests.cpp.

View newest version in sPHENIX GitHub at line 83 of file CylinderLayerTests.cpp

References Acts::CylinderLayer::create(), and G4BECAL::radius.

+ Here is the call graph for this function:

Acts::Test::Layers::BOOST_AUTO_TEST_CASE ( GenericApproachNoOverstepping  )

Unit test for testing GenericApproachDescriptor overstepping

  • for the approach estimate, there is no overstepping tolerance allowed

Definition at line 87 of file GenericApproachDescriptorTests.cpp.

View newest version in sPHENIX GitHub at line 87 of file GenericApproachDescriptorTests.cpp

References Acts::GenericApproachDescriptor::approachSurface(), CHECK_CLOSE_ABS, Acts::Test::origin(), and Acts::s_epsilon.

+ Here is the call graph for this function:

Variable Documentation

GeometryContext Acts::Test::Layers::tgContext = GeometryContext()

Definition at line 30 of file GenericApproachDescriptorTests.cpp.

View newest version in sPHENIX GitHub at line 30 of file GenericApproachDescriptorTests.cpp

Referenced by BOOST_AUTO_TEST_CASE().