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
c680a97a
Commit
c680a97a
authored
4 years ago
by
lintao@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
Migrate Generator.
parent
680d4d13
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
Generator/CMakeLists.txt
+18
-13
18 additions, 13 deletions
Generator/CMakeLists.txt
Generator/src/GenAlgo.h
+0
-1
0 additions, 1 deletion
Generator/src/GenAlgo.h
with
18 additions
and
14 deletions
Generator/CMakeLists.txt
+
18
−
13
View file @
c680a97a
...
@@ -23,6 +23,7 @@ find_package(LCIO)
...
@@ -23,6 +23,7 @@ find_package(LCIO)
find_package
(
podio
)
find_package
(
podio
)
find_package
(
plcio
)
find_package
(
plcio
)
find_package
(
HepMC
)
find_package
(
HepMC
)
find_package
(
CLHEP
)
if
(
ROOT_FOUND
)
if
(
ROOT_FOUND
)
message
(
"found ROOT:
${
ROOT_INCLUDE_DIRS
}
${
ROOT_LIBRARIES
}
"
)
message
(
"found ROOT:
${
ROOT_INCLUDE_DIRS
}
${
ROOT_LIBRARIES
}
"
)
endif
(
ROOT_FOUND
)
endif
(
ROOT_FOUND
)
...
@@ -38,29 +39,33 @@ endif(plcio_FOUND)
...
@@ -38,29 +39,33 @@ endif(plcio_FOUND)
if
(
HepMC_FOUND
)
if
(
HepMC_FOUND
)
message
(
"found HepMC:
${
HepMC_INCLUDE_DIRS
}
${
HepMC_LIBRARY_DIR
}
"
)
message
(
"found HepMC:
${
HepMC_INCLUDE_DIRS
}
${
HepMC_LIBRARY_DIR
}
"
)
endif
(
HepMC_FOUND
)
endif
(
HepMC_FOUND
)
if
(
CLHEP_FOUND
)
message
(
"found CLHEP:
${
CLHEP_INCLUDE_DIRS
}
${
CLHEP_LIBRARY_DIR
}
"
)
endif
(
CLHEP_FOUND
)
############## for producing plcio library #############
############## for producing plcio library #############
INCLUDE_DIRECTORIES
(
${
GenAlgo_incs
}
)
INCLUDE_DIRECTORIES
(
${
GenAlgo_incs
}
)
gaudi_add_module
(
GenAlgo
${
GenAlgo_srcs
}
gaudi_add_module
(
GenAlgo
${
GenAlgo_srcs
}
INCLUDE_DIRS
INCLUDE_DIRS
GaudiKernel
#
GaudiKernel
FWCore
FWCore
Geant4
#
Geant4
${
LCIO_INCLUDE_DIRS
}
#
${LCIO_INCLUDE_DIRS}
${
podio_INCLUDE_DIRS
}
#
${podio_INCLUDE_DIRS}
${
plcio_INCLUDE_DIRS
}
#
${plcio_INCLUDE_DIRS}
${
ROOT_INCLUDE_DIRS
}
#
${ROOT_INCLUDE_DIRS}
HepMC
#
HepMC
LINK_LIBRARIES
LINK_LIBRARIES
GaudiKernel
#
GaudiKernel
${
LCIO_LIBRARIES
}
#
${LCIO_LIBRARIES}
${
podio_LIBRARIES
}
#
${podio_LIBRARIES}
ROOT
ROOT
${
plcio_LIBRARY_DIR
}
/libplcio.so
#
${plcio_LIBRARY_DIR}/libplcio.so
${
plcio_LIBRARY_DIR
}
/libplcioDict.so
#
${plcio_LIBRARY_DIR}/libplcioDict.so
FWCore
FWCore
HepMC
HepMC
Geant4
CLHEP
# Geant4
)
)
#gaudi_add_test(Reader FRAMEWORK options/read.py)
#gaudi_add_test(Reader FRAMEWORK options/read.py)
...
...
This diff is collapsed.
Click to expand it.
Generator/src/GenAlgo.h
+
0
−
1
View file @
c680a97a
...
@@ -21,7 +21,6 @@ using namespace std;
...
@@ -21,7 +21,6 @@ using namespace std;
class
GenAlgo
:
public
GaudiAlgorithm
{
class
GenAlgo
:
public
GaudiAlgorithm
{
friend
class
AlgFactory
<
GenAlgo
>
;
public:
public:
GenAlgo
(
const
std
::
string
&
name
,
ISvcLocator
*
pSvcLocator
);
GenAlgo
(
const
std
::
string
&
name
,
ISvcLocator
*
pSvcLocator
);
...
...
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