Skip to content

Commit

Permalink
Added SCEPCal compact XML and steering files, merged Geant4Output4EDM…
Browse files Browse the repository at this point in the history
…4hep DRCrystalHit and DRC files into one, updated CMakeLists to link libk4geoG4 to libdetectorSegmentations
  • Loading branch information
wonyongc committed Dec 12, 2024
1 parent 800c614 commit 8282598
Show file tree
Hide file tree
Showing 8 changed files with 2,316 additions and 499 deletions.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ file(GLOB G4sources
./plugins/DRCaloFastSimModel.h
./plugins/DRTubesSDAction.hh
./plugins/DRTubesSDAction.cpp
./plugins/SCEPCalSDActionDRCrystalHit.cpp
./plugins/DRCrystalHit.cpp
)

if(DD4HEP_USE_PYROOT)
Expand All @@ -134,14 +136,17 @@ add_library(lcgeo ALIAS k4geo)
target_include_directories(${PackageName} PRIVATE ${PROJECT_SOURCE_DIR}/detector/include )
target_include_directories(${PackageName}G4 PRIVATE ${PROJECT_SOURCE_DIR}/detector/include )

# target_include_directories(${PackageName} PRIVATE ${PROJECT_SOURCE_DIR}/detectorSegmentations/include )
# target_include_directories(${PackageName}G4 PRIVATE ${PROJECT_SOURCE_DIR}/detectorSegmentations/include )

target_include_directories(${PackageName} PRIVATE ${PROJECT_SOURCE_DIR}/detector/calorimeter/dual-readout/include )
target_include_directories(${PackageName}G4 PRIVATE ${PROJECT_SOURCE_DIR}/detector/calorimeter/dual-readout/include )

target_include_directories(${PackageName} PRIVATE ${PROJECT_SOURCE_DIR}/detector/calorimeter/dual-readout-tubes/include )
target_include_directories(${PackageName}G4 PRIVATE ${PROJECT_SOURCE_DIR}/detector/calorimeter/dual-readout-tubes/include )

target_link_libraries(${PackageName} DD4hep::DDCore DD4hep::DDRec DD4hep::DDParsers ROOT::Core detectorSegmentations)
target_link_libraries(${PackageName}G4 DD4hep::DDCore DD4hep::DDRec DD4hep::DDParsers DD4hep::DDG4 ROOT::Core podio::podioRootIO EDM4HEP::edm4hep ${Geant4_LIBRARIES})
target_link_libraries(${PackageName}G4 DD4hep::DDCore DD4hep::DDRec DD4hep::DDParsers DD4hep::DDG4 ROOT::Core detectorSegmentations podio::podioRootIO EDM4HEP::edm4hep ${Geant4_LIBRARIES})

if(K4GEO_USE_LCIO)
target_link_libraries(${PackageName} LCIO::lcio)
Expand Down
Loading

0 comments on commit 8282598

Please sign in to comment.