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

WIP: migrate SimHitMerge.

parent 8cf89854
No related branches found
No related tags found
No related merge requests found
add_subdirectory(DCHDigi) add_subdirectory(DCHDigi)
add_subdirectory(G2CDArbor) add_subdirectory(G2CDArbor)
# add_subdirectory(SimHigMerge) add_subdirectory(SimHitMerge)
# add_subdirectory(SimpleDigi) # add_subdirectory(SimpleDigi)
gaudi_subdir(SimHitMergeAlg v0r0)
find_package(DD4hep COMPONENTS DDG4 REQUIRED) find_package(DD4hep COMPONENTS DDG4 REQUIRED)
find_package(EDM4HEP REQUIRED) find_package(EDM4HEP REQUIRED)
find_package(podio REQUIRED )
find_package(k4FWCore REQUIRED) find_package(k4FWCore REQUIRED)
include_directories(${EDM4HEP_INCLUDE_DIR}) set(SimHitMergeAlg_srcs src/SimHitMergeAlg.cpp)
gaudi_depends_on_subdirs(
Detector/DetInterface
)
set(SimHitMergeAlg_srcs src/*.cpp)
# Modules # Modules
gaudi_add_module(SimHitMerge ${SimHitMergeAlg_srcs} gaudi_add_module(SimHitMerge
INCLUDE_DIRS k4FWCore GaudiKernel GaudiAlgLib DD4hep SOURCES ${SimHitMergeAlg_srcs}
LINK_LIBRARIES k4FWCore GaudiKernel GaudiAlgLib DD4hep DDRec LINK DetInterface
EDM4HEP::edm4hep EDM4HEP::edm4hepDict k4FWCore::k4FWCore
Gaudi::GaudiKernel
Gaudi::GaudiAlgLib
${DD4hep_COMPONENT_LIBRARIES}
EDM4HEP::edm4hep EDM4HEP::edm4hepDict
) )
install(TARGETS SimHitMerge
EXPORT CEPCSWTargets
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT bin
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT shlib
COMPONENT dev)
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include "k4FWCore/DataHandle.h" #include "k4FWCore/DataHandle.h"
#include "GaudiAlg/GaudiAlgorithm.h" #include "GaudiAlg/GaudiAlgorithm.h"
#include "GaudiKernel/Property.h" #include "Gaudi/Property.h"
#include "edm4hep/EventHeader.h" #include "edm4hep/EventHeader.h"
#include "edm4hep/EventHeaderCollection.h" #include "edm4hep/EventHeaderCollection.h"
#include "edm4hep/SimCalorimeterHitConst.h" #include "edm4hep/SimCalorimeterHitConst.h"
......
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