Skip to content

Commit bbe5156

Browse files
committed
Simulate hadron decay
1 parent 23c1fcf commit bbe5156

File tree

2 files changed

+296
-40
lines changed

2 files changed

+296
-40
lines changed

PWGJE/Tasks/CMakeLists.txt

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ o2physics_add_dpl_workflow(emc-tmmonitor
3838
SOURCES emcTmMonitor.cxx
3939
PUBLIC_LINK_LIBRARIES O2::Framework O2::EMCALBase O2::EMCALCalib O2Physics::AnalysisCore
4040
COMPONENT_NAME Analysis)
41-
o2physics_add_dpl_workflow(hadron-photon-correlation
42-
SOURCES hadronPhotonCorrelation.cxx
43-
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore
44-
COMPONENT_NAME Analysis)
4541
o2physics_add_dpl_workflow(mc-generator-studies
4642
SOURCES mcGeneratorStudies.cxx
4743
PUBLIC_LINK_LIBRARIES O2::Framework O2::EMCALBase O2::EMCALCalib O2Physics::AnalysisCore
@@ -303,3 +299,16 @@ if(FastJet_FOUND)
303299
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::PWGJECore O2Physics::AnalysisCore
304300
COMPONENT_NAME Analysis)
305301
endif()
302+
303+
if(pythia_FOUND)
304+
if(TARGET ROOT::EGPythia8)
305+
set_target_properties(ROOT::EGPythia8 PROPERTIES
306+
INTERFACE_LINK_LIBRARIES "ROOT::Core;ROOT::EG;ROOT::Graf;ROOT::Physics;${pythia_LIBRARY_SHARED}"
307+
)
308+
309+
o2physics_add_dpl_workflow(hadron-photon-correlation
310+
SOURCES hadronPhotonCorrelation.cxx
311+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore ROOT::EGPythia8
312+
COMPONENT_NAME Analysis)
313+
endif()
314+
endif()

0 commit comments

Comments
 (0)