File tree 4 files changed +12
-5
lines changed
performance/src/resolution
4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 27
27
- name : CPU
28
28
container : ghcr.io/acts-project/ubuntu2004:v30
29
29
options :
30
+ - name : CPU
31
+ container : ghcr.io/acts-project/ubuntu2004:v30
32
+ options : -DTRACCC_USE_ROOT=FALSE
30
33
- name : CUDA
31
34
container : ghcr.io/acts-project/ubuntu2004_cuda:v30
32
35
options : -DTRACCC_BUILD_CUDA=TRUE
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ message( STATUS "Building Algebra Plugins as part of the TRACCC project" )
18
18
19
19
# Declare where to get Algebra Plugins from.
20
20
set ( TRACCC_ALGEBRA_PLUGINS_SOURCE
21
- "URL;https://github.com/acts-project/algebra-plugins/archive/refs/tags/v0.19.0.tar.gz;URL_MD5;8357b024b1bcdb70350d8a378055cfee"
21
+ "URL;https://github.com/acts-project/algebra-plugins/archive/refs/tags/v0.19.0.tar.gz;URL_MD5;8357b024b1bcdb70350d8a378055cfee"
22
22
CACHE STRING "Source for Algebra Plugins, when built as part of this project" )
23
23
24
24
mark_as_advanced ( TRACCC_ALGEBRA_PLUGINS_SOURCE )
@@ -44,6 +44,8 @@ set( ALGEBRA_PLUGINS_SETUP_VECMEM FALSE CACHE BOOL
44
44
"Do not set up VecMem in Algebra Plugins" )
45
45
set ( ALGEBRA_PLUGINS_SETUP_GOOGLETEST FALSE CACHE BOOL
46
46
"Do not set up GoogleTest in Algebra Plugins" )
47
+ set ( ALGEBRA_PLUGINS_SETUP_BENCHMARK FALSE CACHE BOOL
48
+ "Do not set up GoogleTest in Algebra Plugins" )
47
49
48
50
# Get it into the current directory.
49
51
FetchContent_MakeAvailable( AlgebraPlugins )
Original file line number Diff line number Diff line change @@ -103,6 +103,8 @@ void res_plot_tool::fill(res_plot_cache& cache,
103
103
104
104
// Avoid unused variable warnings when building the code without ROOT.
105
105
(void )cache;
106
+ (void )eta;
107
+ (void )pT;
106
108
107
109
for (std::size_t idx = 0 ; idx < m_cfg.param_names .size (); idx++) {
108
110
std::string par_name = m_cfg.param_names .at (idx);
@@ -129,14 +131,14 @@ void res_plot_tool::fill(res_plot_cache& cache,
129
131
(void )residual;
130
132
(void )pull;
131
133
134
+ #ifdef TRACCC_HAVE_ROOT
132
135
const auto eta_idx =
133
136
std::min (cache.resolutions_eta [par_name]->FindBin (eta) - 1 ,
134
137
cache.resolutions_eta [par_name]->GetNbinsX () - 1 );
135
138
const auto pT_idx =
136
139
std::min (cache.resolutions_pT [par_name]->FindBin (pT) - 1 ,
137
140
cache.resolutions_pT [par_name]->GetNbinsX () - 1 );
138
141
139
- #ifdef TRACCC_HAVE_ROOT
140
142
cache.residuals .at (par_name)->Fill (residual);
141
143
cache.pulls .at (par_name)->Fill (pull);
142
144
cache.residuals_eta .at (par_name)->Fill (eta, residual);
Original file line number Diff line number Diff line change 5
5
# Mozilla Public License Version 2.0
6
6
7
7
# Set up the "build" of the traccc::io library.
8
- traccc_add_library( traccc_simulation simulation
8
+ traccc_add_library( traccc_simulation simulation TYPE INTERFACE
9
9
# Public headers
10
10
"include/traccc/simulation/measurement_smearer.hpp"
11
11
"include/traccc/simulation/simulator.hpp"
12
12
"include/traccc/simulation/smearing_writer.hpp" )
13
13
target_link_libraries ( traccc_simulation
14
- PUBLIC traccc::core traccc::io detray::core detray::utils
15
- PRIVATE dfelibs::dfelibs )
14
+ INTERFACE traccc::core traccc::io detray::core detray::utils
15
+ dfelibs::dfelibs )
You can’t perform that action at this time.
0 commit comments