Skip to content
Snippets Groups Projects
Commit 42f92852 authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

Migrate simulation.

parent bff7ef5b
No related branches found
No related tags found
No related merge requests found
......@@ -21,8 +21,21 @@ set(DetSimAna_srcs
message("podio_LIBRARIES: ${podio_LIBRARIES}")
message("plcio_LIBRARIES: ${plcio_LIBRARIES}")
gaudi_add_module(DetSimAna ${DetSimAna_srcs}
INCLUDE_DIRS DetSimInterface FWCore DD4hep GaudiKernel Geant4
${plcio_INCLUDE_DIRS} ${podio_INCLUDE_DIRS}
LINK_LIBRARIES DetSimInterface FWCore DD4hep ${DD4hep_COMPONENT_LIBRARIES} GaudiKernel Geant4
${plcio_LIBRARIES} ${podio_LIBRARIES}
INCLUDE_DIRS
# DetSimInterface
# FWCore
# DD4hep
# GaudiKernel
# Geant4
# ${plcio_INCLUDE_DIRS}
# ${podio_INCLUDE_DIRS}
LINK_LIBRARIES
# DetSimInterface
# FWCore
DD4hep
${DD4hep_COMPONENT_LIBRARIES}
GaudiKernel
# Geant4
${plcio_LIBRARIES}
# ${podio_LIBRARIES}
)
......@@ -10,6 +10,7 @@ find_package(Geant4 REQUIRED ui_all vis_all)
include(${Geant4_USE_FILE})
find_package(podio REQUIRED)
find_package(plcio REQUIRED)
find_package(DD4hep COMPONENTS DDG4 REQUIRED)
set(DetSimCore_srcs
src/DetSimAlg.cpp
......@@ -24,7 +25,20 @@ set(DetSimCore_srcs
src/SteppingAction.cpp
)
message(" Geant4_LIBRARIES: ${Geant4_LIBRARIES}")
gaudi_add_module(DetSimCore ${DetSimCore_srcs}
INCLUDE_DIRS DetSimInterface GaudiKernel Geant4 plcio ${plcio_INCLUDE_DIRS} ${podio_INCLUDE_DIRS}
LINK_LIBRARIES DetSimInterface GaudiKernel Geant4 plcio podio
INCLUDE_DIRS
# DetSimInterface
# GaudiKernel
# Geant4
# plcio ${plcio_INCLUDE_DIRS} ${podio_INCLUDE_DIRS}
LINK_LIBRARIES
DetSimInterface
GaudiKernel
# Geant4
# ${Geant4_LIBRARIES}
DD4hep ${DD4hep_COMPONENT_LIBRARIES}
plcio
# podio
)
......@@ -16,6 +16,14 @@ set(DetSimGeom_srcs
)
gaudi_add_module(DetSimGeom ${DetSimGeom_srcs}
INCLUDE_DIRS DetSimInterface DetInterface DD4hep GaudiKernel Geant4
LINK_LIBRARIES DetSimInterface DD4hep ${DD4hep_COMPONENT_LIBRARIES} GaudiKernel Geant4
INCLUDE_DIRS
# DetSimInterface
# DetInterface
# DD4hep
# GaudiKernel
# Geant4
LINK_LIBRARIES
DD4hep ${DD4hep_COMPONENT_LIBRARIES}
GaudiKernel
# Geant4
)
gaudi_subdir(DetSimInterface v0r0)
gaudi_depends_on_subdirs(GaudiKernel)
# DetSimInterface (headers only)
set(DetSimInterface_srcs
src/IDetSimSvc.cpp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment