Back to home page

EIC code displayed by LXR

 
 

    


Warning, /acts/Detray/tests/unit_tests/cpu/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # This file is part of the ACTS project.
0002 #
0003 # Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 #
0005 # This Source Code Form is subject to the terms of the Mozilla Public
0006 # License, v. 2.0. If a copy of the MPL was not distributed with this
0007 # file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008 
0009 # Set up the test(s) that are algebra agnostic.
0010 detray_add_unit_test(cpu
0011    "core/containers.cpp"
0012    "core/indexing.cpp"
0013    "geometry/identifier.cpp"
0014    "utils/find_bounds.cpp"
0015    "utils/invalid_values.cpp"
0016    "utils/ranges.cpp"
0017    "utils/tuple_helpers.cpp"
0018    "utils/type_list.cpp"
0019    "utils/type_registry.cpp"
0020    "utils/sort.cpp"
0021    LINK_LIBRARIES GTest::gtest GTest::gtest_main detray::test_utils detray::core
0022 )
0023 
0024 # Macro setting up the CPU tests for a specific algebra plugin.
0025 macro(detray_add_cpu_test algebra)
0026     # Build the test executable.
0027     detray_add_unit_test(cpu_${algebra}
0028        "algebra/matrix.cpp"
0029        "algebra/transform.cpp"
0030        "algebra/vector.cpp"
0031        "algebra/columnwise_operations.cpp"
0032        "builders/detector_builder.cpp"
0033        "builders/grid_builder.cpp"
0034        "builders/homogeneous_volume_material_builder.cpp"
0035        "builders/homogeneous_material_builder.cpp"
0036        "builders/material_map_builder.cpp"
0037        "builders/volume_builder.cpp"
0038        "core/detector.cpp"
0039        "core/mask_store.cpp"
0040        "core/pdg_particle.cpp"
0041        "core/transform_store.cpp"
0042        "detectors/telescope_detector.cpp"
0043        "detectors/toy_detector.cpp"
0044        "detectors/wire_chamber.cpp"
0045        "geometry/coordinates/cartesian2D.cpp"
0046        "geometry/coordinates/cartesian3D.cpp"
0047        "geometry/coordinates/cylindrical2D.cpp"
0048        "geometry/coordinates/cylindrical3D.cpp"
0049        "geometry/coordinates/line2D.cpp"
0050        "geometry/coordinates/polar2D.cpp"
0051        "geometry/masks/annulus2D.cpp"
0052        "geometry/masks/cylinder.cpp"
0053        "geometry/masks/line.cpp"
0054        "geometry/masks/rectangle2D.cpp"
0055        "geometry/masks/ring2D.cpp"
0056        "geometry/masks/single3D.cpp"
0057        "geometry/masks/trapezoid2D.cpp"
0058        "geometry/masks/unbounded.cpp"
0059        "geometry/masks/unmasked.cpp"
0060        "geometry/surface.cpp"
0061        "geometry/tracking_volume.cpp"
0062        "material/bethe_equation.cpp"
0063        "material/bremsstrahlung.cpp"
0064        "material/material_maps.cpp"
0065        "material/materials.cpp"
0066        "material/stopping_power_derivative.cpp"
0067        "material/stopping_power.cpp"
0068        "navigation/accelerators/brute_force.cpp"
0069        "navigation/accelerators/spatial_grid.cpp"
0070        "navigation/intersection/cuboid_intersector.cpp"
0071        "navigation/intersection/cylinder_intersector.cpp"
0072        "navigation/intersection/helix_intersector.cpp"
0073        "navigation/intersection/helix_trajectory.cpp"
0074        "navigation/intersection/intersection_kernel.cpp"
0075        "navigation/intersection/intersection2D.cpp"
0076        "navigation/intersection/line_intersector.cpp"
0077        "navigation/intersection/plane_intersector.cpp"
0078        "navigation/volume_graph.cpp"
0079        "navigation/caching_navigator.cpp"
0080        "propagator/actor_chain.cpp"
0081        "propagator/covariance_transport.cpp"
0082        "propagator/jacobian_cartesian.cpp"
0083        "propagator/jacobian_cylindrical.cpp"
0084        "propagator/jacobian_line.cpp"
0085        "propagator/jacobian_polar.cpp"
0086        "propagator/line_stepper.cpp"
0087        "propagator/rk_stepper.cpp"
0088        "simulation/landau_sampling.cpp"
0089        "simulation/detector_scanner.cpp"
0090        "simulation/scattering.cpp"
0091        "simulation/track_generators.cpp"
0092        "tracks/bound_track_parameters.cpp"
0093        "tracks/free_track_parameters.cpp"
0094        "utils/grids/axis.cpp"
0095        "utils/grids/grid_collection.cpp"
0096        "utils/grids/grid.cpp"
0097        "utils/grids/populators.cpp"
0098        "utils/grids/serializers.cpp"
0099        "utils/hash_tree.cpp"
0100        "utils/bounding_volume.cpp"
0101        "utils/curvilinear_frame.cpp"
0102        "utils/axis_rotation.cpp"
0103        "utils/quadratic_equation.cpp"
0104        "utils/unit_vectors.cpp"
0105        LINK_LIBRARIES GTest::gtest GTest::gtest_main detray::core_${algebra}
0106        covfie::core vecmem::core detray::io detray::test_common detray::test_utils
0107     )
0108 endmacro()
0109 
0110 # Build the array tests.
0111 detray_add_cpu_test(array)
0112 
0113 # Build the Eigen tests.
0114 if(DETRAY_EIGEN_PLUGIN)
0115     detray_add_cpu_test(eigen)
0116 endif()
0117 # Build the Fastor tests.
0118 if(DETRAY_FASTOR_PLUGIN)
0119     detray_add_cpu_test( fastor )
0120 endif()
0121 
0122 # Build the SMatrix tests.
0123 if(DETRAY_SMATRIX_PLUGIN)
0124     detray_add_cpu_test(smatrix)
0125 endif()
0126 
0127 # Build the Vc AoS tests.
0128 if(DETRAY_VC_AOS_PLUGIN)
0129     detray_add_cpu_test(vc_aos)
0130 endif()
0131 
0132 # Build the Vc SoA algebra test
0133 if(DETRAY_VC_SOA_PLUGIN)
0134     detray_add_unit_test(cpu_vc_soa
0135         "algebra/vc_soa.cpp"
0136         LINK_LIBRARIES GTest::gtest GTest::gtest_main detray::core_vc_soa  detray::test_common
0137     )
0138 endif()