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
796c0370
Commit
796c0370
authored
4 years ago
by
lintao@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
WIP: migrate Generator.
parent
e8add176
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CMakeLists.txt
+3
-0
3 additions, 0 deletions
CMakeLists.txt
Generator/CMakeLists.txt
+10
-16
10 additions, 16 deletions
Generator/CMakeLists.txt
Generator/src/GenAlgo.h
+1
-1
1 addition, 1 deletion
Generator/src/GenAlgo.h
Generator/src/GtGunTool.h
+1
-1
1 addition, 1 deletion
Generator/src/GtGunTool.h
with
15 additions
and
18 deletions
CMakeLists.txt
+
3
−
0
View file @
796c0370
...
@@ -25,6 +25,9 @@ endif()
...
@@ -25,6 +25,9 @@ endif()
add_subdirectory
(
Analysis
)
add_subdirectory
(
Analysis
)
add_subdirectory
(
Detector
)
add_subdirectory
(
Detector
)
# add_subdirectory(Digitisers)
# add_subdirectory(Examples)
add_subdirectory
(
Generator
)
##############################################################################
##############################################################################
# INSTALL
# INSTALL
...
...
This diff is collapsed.
Click to expand it.
Generator/CMakeLists.txt
+
10
−
16
View file @
796c0370
########################################
########################################
gaudi_subdir
(
Generator v0r0
)
set
(
GenAlgo_srcs
set
(
GenAlgo_srcs
src/IGenTool.cpp
src/IGenTool.cpp
src/GenAlgo.cpp
src/GenAlgo.cpp
...
@@ -13,7 +13,6 @@ set(GenAlgo_srcs
...
@@ -13,7 +13,6 @@ set(GenAlgo_srcs
src/HepMCRdr.cpp
src/HepMCRdr.cpp
src/GtGunTool.cpp
src/GtGunTool.cpp
)
)
set
(
GenAlgo_incs src
)
find_package
(
Geant4 REQUIRED
)
find_package
(
Geant4 REQUIRED
)
include
(
${
Geant4_USE_FILE
}
)
include
(
${
Geant4_USE_FILE
}
)
...
@@ -41,21 +40,16 @@ endif(HepMC_FOUND)
...
@@ -41,21 +40,16 @@ endif(HepMC_FOUND)
if
(
CLHEP_FOUND
)
if
(
CLHEP_FOUND
)
message
(
"found CLHEP:
${
CLHEP_INCLUDE_DIRS
}
${
CLHEP_LIBRARY_DIR
}
"
)
message
(
"found CLHEP:
${
CLHEP_INCLUDE_DIRS
}
${
CLHEP_LIBRARY_DIR
}
"
)
endif
(
CLHEP_FOUND
)
endif
(
CLHEP_FOUND
)
############## for producing plcio library #############
INCLUDE_DIRECTORIES
(
${
GenAlgo_incs
}
)
gaudi_add_module
(
GenAlgo
${
GenAlgo_srcs
}
gaudi_add_module
(
GenAlgo
INCLUDE_DIRS
SOURCES
${
GenAlgo_srcs
}
k4FWCore
LINK
${
ROOT_LIBRARIES
}
LINK_LIBRARIES
k4FWCore::k4FWCore
ROOT
Gaudi::GaudiAlgLib
k4FWCore
Gaudi::GaudiKernel
GaudiAlgLib GaudiKernel
${
HEPMC_LIBRARIES
}
HepMC
${
CLHEP_LIBRARIES
}
CLHEP
${
LCIO_LIBRARIES
}
LCIO
EDM4HEP::edm4hep EDM4HEP::edm4hepDict
EDM4HEP::edm4hep EDM4HEP::edm4hepDict
)
)
#gaudi_add_test(Reader FRAMEWORK options/read.py)
###########################
This diff is collapsed.
Click to expand it.
Generator/src/GenAlgo.h
+
1
−
1
View file @
796c0370
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
#include
<GaudiKernel/Algorithm.h>
#include
<GaudiKernel/Algorithm.h>
#include
"
Gaudi
Kernel
/Property.h
"
#include
<
Gaudi/Property.h
>
#include
<GaudiKernel/ToolHandle.h>
#include
<GaudiKernel/ToolHandle.h>
#include
"GaudiAlg/GaudiAlgorithm.h"
#include
"GaudiAlg/GaudiAlgorithm.h"
...
...
This diff is collapsed.
Click to expand it.
Generator/src/GtGunTool.h
+
1
−
1
View file @
796c0370
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
*/
*/
#include
<GaudiKernel/AlgTool.h>
#include
<GaudiKernel/AlgTool.h>
#include
<Gaudi
Kernel
/Property.h>
#include
<Gaudi/Property.h>
#include
"IGenTool.h"
#include
"IGenTool.h"
#include
<vector>
#include
<vector>
...
...
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