Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CEPCSW
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dhb112358@mail.ustc.edu.cn
CEPCSW
Commits
802a6b01
Commit
802a6b01
authored
4 years ago
by
lintao@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
WIP: migrate DetSimCore
parent
c0883fe6
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Simulation/CMakeLists.txt
+1
-1
1 addition, 1 deletion
Simulation/CMakeLists.txt
Simulation/DetSimCore/CMakeLists.txt
+16
-22
16 additions, 22 deletions
Simulation/DetSimCore/CMakeLists.txt
Simulation/DetSimCore/src/DetSimAlg.h
+1
-1
1 addition, 1 deletion
Simulation/DetSimCore/src/DetSimAlg.h
with
18 additions
and
24 deletions
Simulation/CMakeLists.txt
+
1
−
1
View file @
802a6b01
#add_subdirectory(DetSimAna)
#
add_subdirectory(DetSimCore)
add_subdirectory
(
DetSimCore
)
#add_subdirectory(DetSimDedx)
#add_subdirectory(DetSimFastModel)
#add_subdirectory(DetSimGeom)
...
...
This diff is collapsed.
Click to expand it.
Simulation/DetSimCore/CMakeLists.txt
+
16
−
22
View file @
802a6b01
gaudi_subdir
(
DetSimCore v0r0
)
gaudi_depends_on_subdirs
(
k4FWCore
Simulation/DetSimInterface
)
find_package
(
Geant4 REQUIRED ui_all vis_all
)
include
(
${
Geant4_USE_FILE
}
)
find_package
(
podio REQUIRED
)
find_package
(
EDM4HEP REQUIRED
)
find_package
(
DD4hep COMPONENTS DDG4 REQUIRED
)
...
...
@@ -27,18 +20,19 @@ set(DetSimCore_srcs
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
# ${Geant4_LIBRARIES}
DD4hep
${
DD4hep_COMPONENT_LIBRARIES
}
EDM4HEP::edm4hep EDM4HEP::edm4hepDict
# podio
gaudi_add_module
(
DetSimCore
SOURCES
${
DetSimCore_srcs
}
LINK DetSimInterface
Gaudi::GaudiKernel
${
Geant4_LIBRARIES
}
${
DD4hep_COMPONENT_LIBRARIES
}
EDM4HEP::edm4hep EDM4HEP::edm4hepDict
)
install
(
TARGETS DetSimCore
EXPORT CEPCSWTargets
RUNTIME DESTINATION
"
${
CMAKE_INSTALL_BINDIR
}
"
COMPONENT bin
LIBRARY DESTINATION
"
${
CMAKE_INSTALL_LIBDIR
}
"
COMPONENT shlib
COMPONENT dev
)
This diff is collapsed.
Click to expand it.
Simulation/DetSimCore/src/DetSimAlg.h
+
1
−
1
View file @
802a6b01
...
...
@@ -5,7 +5,7 @@
#include
<vector>
#include
<GaudiKernel/Algorithm.h>
#include
<Gaudi
Kernel
/Property.h>
#include
<Gaudi/Property.h>
#include
<GaudiKernel/ToolHandle.h>
#include
<DetSimInterface/IDetSimSvc.h>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment