Skip to content

Commit c3c1463

Browse files
committed
[DF] Fix runtime errors in wmass benchmark
I.e. let cling find the headers it needs.
1 parent c428533 commit c3c1463

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

root/tree/dataframe/wmass/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ if(rootbench-datafiles AND ROOT_root7_FOUND) # using ROOT_root7_FOUND as a proxy
33

44
file(COPY RDFprocessor/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR} FILES_MATCHING PATTERN "*.py")
55
file(COPY python/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR} FILES_MATCHING PATTERN "*.py")
6+
file(COPY inc/ DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/inc)
67

78
add_library(SignalAnalysis SHARED
89
src/TH3weightsHelper.cpp

root/tree/dataframe/wmass/runSignalAnalysis.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ def analysis(nthreads):
1919
else:
2020
ROOT.ROOT.DisableImplicitMT()
2121

22+
ROOT.gInterpreter.AddIncludePath('./')
23+
ROOT.gInterpreter.Declare('#include "inc/classes.h"')
2224
ROOT.gSystem.Load('libSignalAnalysis.so')
2325

2426

0 commit comments

Comments
 (0)