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
7b1cdcb9
Commit
7b1cdcb9
authored
4 years ago
by
lintao@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
WIP: migrate MatrixPandora.
parent
7f2ac2e8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Reconstruction/PFA/Pandora/CMakeLists.txt
+1
-1
1 addition, 1 deletion
Reconstruction/PFA/Pandora/CMakeLists.txt
Reconstruction/PFA/Pandora/MatrixPandora/CMakeLists.txt
+33
-31
33 additions, 31 deletions
Reconstruction/PFA/Pandora/MatrixPandora/CMakeLists.txt
with
34 additions
and
32 deletions
Reconstruction/PFA/Pandora/CMakeLists.txt
+
1
−
1
View file @
7b1cdcb9
add_subdirectory
(
GaudiPandora
)
add_subdirectory
(
GaudiPandora
)
#
add_subdirectory(MatrixPandora)
add_subdirectory
(
MatrixPandora
)
This diff is collapsed.
Click to expand it.
Reconstruction/PFA/Pandora/MatrixPandora/CMakeLists.txt
+
33
−
31
View file @
7b1cdcb9
gaudi_subdir
(
MatrixPandora v0r0
)
find_package
(
DD4hep COMPONENTS DDG4 REQUIRED
)
find_package
(
DD4hep COMPONENTS DDG4 REQUIRED
)
find_package
(
CLHEP REQUIRED;CONFIG
)
find_package
(
CLHEP REQUIRED;CONFIG
)
find_package
(
LCIO REQUIRED
)
find_package
(
LCIO REQUIRED
)
find_package
(
GEAR REQUIRED
)
find_package
(
GEAR REQUIRED
)
find_package
(
EDM4HEP REQUIRED
)
find_package
(
EDM4HEP REQUIRED
)
in
clude_directories
(
${
EDM4HEP_INCLUDE_DIR
}
)
f
in
d_package
(
k4FWCore REQUIRED
)
find_package
(
PandoraSDK REQUIRED
)
find_package
(
PandoraSDK REQUIRED
)
find_package
(
LCContent REQUIRED
)
find_package
(
LCContent REQUIRED
)
include_directories
(
${
PandoraSDK_INCLUDE_DIRS
}
)
link_libraries
(
${
PandoraSDK_LIBRARIES
}
)
include_directories
(
${
LCContent_INCLUDE_DIRS
}
)
link_libraries
(
${
LCContent_LIBRARIES
}
)
find_package
(
ROOT REQUIRED COMPONENTS Eve Geom RGL EG
)
list
(
APPEND CMAKE_MODULE_PATH
"$ENV{ROOTSYS}/etc/cmake/"
)
# Modules
find_package
(
ROOT 5.26.00 REQUIRED COMPONENTS Eve Geom RGL EG
)
gaudi_add_module
(
MatrixPandora
SOURCES src/PandoraMatrixAlg.cpp
src/MCParticleCreator.cpp
src/GeometryCreator.cpp
src/CaloHitCreator.cpp
src/TrackCreator.cpp
src/PfoCreator.cpp
LINK EventSeeder
GearSvc
DetInterface
DataHelperLib
Gaudi::GaudiKernel
k4FWCore::k4FWCore
${
PandoraSDK_LIBRARIES
}
${
LCContent_LIBRARIES
}
${
CLHEP_LIBRARIES
}
${
ROOT_LIBRARIES
}
${
LCIO_LIBRARIES
}
${
GEAR_LIBRARIES
}
${
DD4hep_COMPONENT_LIBRARIES
}
EDM4HEP::edm4hep EDM4HEP::edm4hepDict
)
target_include_directories
(
MatrixPandora PUBLIC
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_LIST_DIR
}
>/include
$<INSTALL_INTERFACE:
${
CMAKE_INSTALL_INCLUDEDIR
}
>
)
gaudi_depends_on_subdirs
(
install
(
TARGETS MatrixPandora
Service/EventSeeder
EXPORT CEPCSWTargets
Service/GearSvc
RUNTIME DESTINATION
"
${
CMAKE_INSTALL_BINDIR
}
"
COMPONENT bin
Detector/DetInterface
LIBRARY DESTINATION
"
${
CMAKE_INSTALL_LIBDIR
}
"
COMPONENT shlib
Utilities/DataHelper
COMPONENT dev
)
)
set
(
dir_srcs
src/PandoraMatrixAlg.cpp
src/MCParticleCreator.cpp
src/GeometryCreator.cpp
src/CaloHitCreator.cpp
src/TrackCreator.cpp
src/PfoCreator.cpp
)
set
(
dir_include include
)
# Modules
gaudi_add_module
(
MatrixPandora
${
dir_srcs
}
INCLUDE_DIRS
${
dir_include
}
GaudiKernel k4FWCore
${
CLHEP_INCLUDE_DIR
}
${
LCIO_INCLUDE_DIRS
}
${
ROOT_INCLUDE_DIRS
}
gear DD4hep
LINK_LIBRARIES GaudiKernel k4FWCore
${
CLHEP_LIBRARIES
}
ROOT
${
LCIO_LIBRARIES
}
${
GEAR_LIBRARIES
}
DD4hep
${
DD4hep_COMPONENT_LIBRARIES
}
DDRec DataHelperLib
-Wl,--no-as-needed
EDM4HEP::edm4hep EDM4HEP::edm4hepDict
-Wl,--as-needed
)
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