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
146a8122
Commit
146a8122
authored
4 years ago
by
lintao@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
WIP: migrate DetSimGeom.
parent
802a6b01
No related branches found
Branches containing commit
No related tags found
Tags containing commit
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/DetSimGeom/CMakeLists.txt
+15
-18
15 additions, 18 deletions
Simulation/DetSimGeom/CMakeLists.txt
Simulation/DetSimGeom/src/AnExampleDetElemTool.h
+1
-1
1 addition, 1 deletion
Simulation/DetSimGeom/src/AnExampleDetElemTool.h
with
17 additions
and
20 deletions
Simulation/CMakeLists.txt
+
1
−
1
View file @
146a8122
...
...
@@ -3,6 +3,6 @@
add_subdirectory
(
DetSimCore
)
#add_subdirectory(DetSimDedx)
#add_subdirectory(DetSimFastModel)
#
add_subdirectory(DetSimGeom)
add_subdirectory
(
DetSimGeom
)
add_subdirectory
(
DetSimInterface
)
#add_subdirectory(DetSimSD)
This diff is collapsed.
Click to expand it.
Simulation/DetSimGeom/CMakeLists.txt
+
15
−
18
View file @
146a8122
gaudi_subdir
(
DetSimGeom v0r0
)
gaudi_depends_on_subdirs
(
Simulation/DetSimInterface
Detector/DetInterface
)
find_package
(
Geant4 REQUIRED ui_all vis_all
)
include
(
${
Geant4_USE_FILE
}
)
find_package
(
DD4hep COMPONENTS DDG4 REQUIRED
)
...
...
@@ -15,15 +8,19 @@ set(DetSimGeom_srcs
src/AnExampleDetElemTool.cpp
)
gaudi_add_module
(
DetSimGeom
${
DetSimGeom_srcs
}
INCLUDE_DIRS
# DetSimInterface
# DetInterface
# DD4hep
# GaudiKernel
# Geant4
LINK_LIBRARIES
DD4hep
${
DD4hep_COMPONENT_LIBRARIES
}
GaudiKernel
# Geant4
gaudi_add_module
(
DetSimGeom
SOURCES
${
DetSimGeom_srcs
}
LINK DetSimInterface
DetInterface
${
DD4hep_COMPONENT_LIBRARIES
}
Gaudi::GaudiKernel
${
Geant4_LIBRARIES
}
)
install
(
TARGETS DetSimGeom
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/DetSimGeom/src/AnExampleDetElemTool.h
+
1
−
1
View file @
146a8122
...
...
@@ -2,7 +2,7 @@
#define AnExampleDetElemTool_h
#include
"GaudiKernel/AlgTool.h"
#include
"
Gaudi
Kernel
/Property.h
"
#include
<
Gaudi/Property.h
>
#include
<GaudiKernel/ToolHandle.h>
#include
"G4SystemOfUnits.hh"
...
...
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