Warning, /acts/Traccc/performance/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # TRACCC library, part of the ACTS project (R&D line)
0002 #
0003 # (c) 2022-2025 CERN for the benefit of the ACTS project
0004 #
0005 # Mozilla Public License Version 2.0
0006
0007 # Project include(s).
0008 include(traccc-compiler-options-cpp)
0009
0010 # Set up the build of the traccc::performance library.
0011 traccc_add_library( traccc_performance performance TYPE SHARED
0012 # Efficiency calculation code.
0013 "src/efficiency/duplication_plot_tool.hpp"
0014 "src/efficiency/eff_plot_tool.hpp"
0015 "include/traccc/efficiency/seeding_performance_writer.hpp"
0016 "src/efficiency/seeding_performance_writer.cpp"
0017 "include/traccc/efficiency/finding_performance_writer.hpp"
0018 "src/efficiency/finding_performance_writer.cpp"
0019 "src/efficiency/track_classification.hpp"
0020 "include/traccc/efficiency/nseed_performance_writer.hpp"
0021 "src/efficiency/nseed_performance_writer.cpp"
0022 "src/efficiency/track_filter.cpp"
0023 "src/efficiency/track_matcher.cpp"
0024 # Resolution calculation code.
0025 "include/traccc/resolution/fitting_performance_writer.hpp"
0026 "include/traccc/resolution/res_plot_tool_config.hpp"
0027 "include/traccc/resolution/stat_plot_tool_config.hpp"
0028 "src/resolution/fitting_performance_writer.cpp"
0029 "src/resolution/res_plot_tool.hpp"
0030 "src/resolution/res_plot_tool.cpp"
0031 "src/resolution/stat_plot_tool.hpp"
0032 "src/resolution/stat_plot_tool.cpp"
0033 # Utils
0034 "include/traccc/utils/event_data.hpp"
0035 "include/traccc/utils/fill_track_container.hpp"
0036 "src/utils/event_data.cpp"
0037 "include/traccc/utils/helpers.hpp"
0038 "include/traccc/utils/ranges.hpp"
0039 "include/traccc/utils/transcribe_to_trace.hpp"
0040 "src/utils/helpers.hpp"
0041 "src/utils/helpers.cpp"
0042 # Value/object comparison code.
0043 "include/traccc/performance/details/is_same_angle.hpp"
0044 "src/performance/details/is_same_angle.cpp"
0045 "include/traccc/performance/details/is_same_scalar.hpp"
0046 "src/performance/details/is_same_scalar.cpp"
0047 "include/traccc/performance/details/is_same_object.hpp"
0048 "include/traccc/performance/impl/is_same_object.ipp"
0049 "include/traccc/performance/impl/is_same_seed.ipp"
0050 "include/traccc/performance/impl/is_same_measurement.ipp"
0051 "include/traccc/performance/impl/is_same_spacepoint.ipp"
0052 "include/traccc/performance/impl/is_same_track_parameters.ipp"
0053 "include/traccc/performance/impl/is_same_track_state.ipp"
0054 "include/traccc/performance/impl/is_same_track.ipp"
0055 "src/performance/details/is_same_object.cpp"
0056 "include/traccc/performance/details/comparator_factory.hpp"
0057 "include/traccc/performance/impl/comparator_factory.ipp"
0058 "include/traccc/performance/impl/seed_comparator_factory.ipp"
0059 "include/traccc/performance/impl/track_comparator_factory.ipp"
0060 # Collection/container comparison code.
0061 "include/traccc/performance/collection_comparator.hpp"
0062 "include/traccc/performance/impl/collection_comparator.ipp"
0063 "include/traccc/performance/container_comparator.hpp"
0064 "include/traccc/performance/impl/container_comparator.ipp"
0065 "include/traccc/performance/soa_comparator.hpp"
0066 "include/traccc/performance/impl/soa_comparator.ipp"
0067 # Truth propagation comparison
0068 "include/traccc/performance/kalman_filter_comparison.hpp"
0069 "src/performance/kalman_filter_comparison.cpp"
0070 # Performance time measurement code.
0071 "include/traccc/performance/timer.hpp"
0072 "src/performance/timer.cpp"
0073 "include/traccc/performance/timing_info.hpp"
0074 "src/performance/timing_info.cpp"
0075 "include/traccc/performance/throughput.hpp"
0076 "src/performance/throughput.cpp"
0077 )
0078 target_link_libraries(
0079 traccc_performance
0080 PUBLIC
0081 traccc::core
0082 traccc::io
0083 covfie::core
0084 detray::test_utils
0085 detray::validation_utils
0086 )
0087
0088 # Use ROOT in traccc::performance, if requested.
0089 if(TRACCC_USE_ROOT)
0090 find_package(ROOT COMPONENTS Core RIO Hist REQUIRED)
0091 target_link_libraries(
0092 traccc_performance
0093 PRIVATE ROOT::Core ROOT::RIO ROOT::Hist
0094 )
0095 target_compile_definitions(traccc_performance PRIVATE TRACCC_HAVE_ROOT)
0096 endif()
0097
0098 # Use CUDA/NVTX in traccc::performance, if it's available.
0099 find_package(CUDAToolkit)
0100 if(CUDAToolkit_FOUND)
0101 target_link_libraries(
0102 traccc_performance
0103 PRIVATE CUDA::cudart ${CMAKE_DL_LIBS}
0104 )
0105 target_compile_definitions(traccc_performance PRIVATE TRACCC_HAVE_NVTX)
0106 endif()