Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CEPCSW_OTE_development
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
yudian2002@sjtu.edu.cn
CEPCSW_OTE_development
Commits
570122ae
Commit
570122ae
authored
4 years ago
by
lintao@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
WIP: migrate SimHitMerge.
parent
8cf89854
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
Digitisers/CMakeLists.txt
+1
-1
1 addition, 1 deletion
Digitisers/CMakeLists.txt
Digitisers/SimHitMerge/CMakeLists.txt
+16
-12
16 additions, 12 deletions
Digitisers/SimHitMerge/CMakeLists.txt
Digitisers/SimHitMerge/src/SimHitMergeAlg.h
+1
-1
1 addition, 1 deletion
Digitisers/SimHitMerge/src/SimHitMergeAlg.h
with
18 additions
and
14 deletions
Digitisers/CMakeLists.txt
+
1
−
1
View file @
570122ae
add_subdirectory
(
DCHDigi
)
add_subdirectory
(
G2CDArbor
)
#
add_subdirectory(SimHi
g
Merge)
add_subdirectory
(
SimHi
t
Merge
)
# add_subdirectory(SimpleDigi)
This diff is collapsed.
Click to expand it.
Digitisers/SimHitMerge/CMakeLists.txt
+
16
−
12
View file @
570122ae
gaudi_subdir
(
SimHitMergeAlg v0r0
)
find_package
(
DD4hep COMPONENTS DDG4 REQUIRED
)
find_package
(
EDM4HEP REQUIRED
)
find_package
(
podio REQUIRED
)
find_package
(
k4FWCore REQUIRED
)
include_directories
(
${
EDM4HEP_INCLUDE_DIR
}
)
gaudi_depends_on_subdirs
(
Detector/DetInterface
)
set
(
SimHitMergeAlg_srcs src/*.cpp
)
set
(
SimHitMergeAlg_srcs src/SimHitMergeAlg.cpp
)
# Modules
gaudi_add_module
(
SimHitMerge
${
SimHitMergeAlg_srcs
}
INCLUDE_DIRS k4FWCore GaudiKernel GaudiAlgLib DD4hep
LINK_LIBRARIES k4FWCore GaudiKernel GaudiAlgLib DD4hep DDRec
EDM4HEP::edm4hep EDM4HEP::edm4hepDict
gaudi_add_module
(
SimHitMerge
SOURCES
${
SimHitMergeAlg_srcs
}
LINK DetInterface
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
)
This diff is collapsed.
Click to expand it.
Digitisers/SimHitMerge/src/SimHitMergeAlg.h
+
1
−
1
View file @
570122ae
...
...
@@ -3,7 +3,7 @@
#include
"k4FWCore/DataHandle.h"
#include
"GaudiAlg/GaudiAlgorithm.h"
#include
"Gaudi
Kernel
/Property.h"
#include
"Gaudi/Property.h"
#include
"edm4hep/EventHeader.h"
#include
"edm4hep/EventHeaderCollection.h"
#include
"edm4hep/SimCalorimeterHitConst.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