Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
EIC
NPDet
Commits
edc3431d
Commit
edc3431d
authored
Mar 20, 2022
by
Wouter Deconinck
Browse files
Mutable datatypes in podio@0.14.1 and later
parent
4cfd9c8d
Pipeline
#29129
passed with stages
in 49 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
edc3431d
...
...
@@ -42,7 +42,7 @@ set(CMAKE_MODULE_PATH CMAKE_MODULE_PATH PODIO)
# Find Libraries
#----------------------------------------------------------------------------
# PODIO
find_package
(
podio 0.1
1.0
REQUIRED
)
find_package
(
podio 0.1
4.1
REQUIRED
)
include_directories
(
${
podio_INCLUDE_DIR
}
)
# DD4hep
...
...
src/dd4pod/dd4hep.yaml
View file @
edc3431d
...
...
@@ -88,7 +88,7 @@ datatypes:
VectorMembers
:
-
int32_t parents // parent IDs
-
int32_t daughters // daughter IDs
Const
ExtraCode
:
ExtraCode
:
declaration
:
"
double
px()
const
{return
ps().x;}
\n
double
py()
const
{return
ps().y;}
\n
...
...
src/dd4pod/plugins/Geant4Output2Podio.cxx
View file @
edc3431d
...
...
@@ -195,7 +195,7 @@ namespace dd4hep::sim {
printout
((
part
->
genStatus
==
1
?
ERROR
:
INFO
),
"Geant4Output2Podio"
,
"++ saveEvent: pdgID %d unknown, charge set to 0"
,
part
->
pdgID
);
}
dd4pod
::
Geant4Particle
podpart
{
dd4pod
::
Mutable
Geant4Particle
podpart
{
part
->
id
,
part
->
g4Parent
,
part
->
reason
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment