Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NPDet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
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
EIC
NPDet
Commits
a1e25644
Commit
a1e25644
authored
3 years ago
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
Mutable datatypes in podio@0.14.1 and later
parent
6001e82b
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
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
src/dd4pod/dd4hep.yaml
+1
-1
1 addition, 1 deletion
src/dd4pod/dd4hep.yaml
src/dd4pod/plugins/Geant4Output2Podio.cxx
+1
-1
1 addition, 1 deletion
src/dd4pod/plugins/Geant4Output2Podio.cxx
with
3 additions
and
3 deletions
CMakeLists.txt
+
1
−
1
View file @
a1e25644
...
@@ -42,7 +42,7 @@ set(CMAKE_MODULE_PATH CMAKE_MODULE_PATH PODIO)
...
@@ -42,7 +42,7 @@ set(CMAKE_MODULE_PATH CMAKE_MODULE_PATH PODIO)
# Find Libraries
# Find Libraries
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
# PODIO
# PODIO
find_package
(
podio 0.1
1.0
REQUIRED
)
find_package
(
podio 0.1
4.1
REQUIRED
)
include_directories
(
${
podio_INCLUDE_DIR
}
)
include_directories
(
${
podio_INCLUDE_DIR
}
)
# DD4hep
# DD4hep
...
...
This diff is collapsed.
Click to expand it.
src/dd4pod/dd4hep.yaml
+
1
−
1
View file @
a1e25644
...
@@ -88,7 +88,7 @@ datatypes:
...
@@ -88,7 +88,7 @@ datatypes:
VectorMembers
:
VectorMembers
:
-
int32_t parents // parent IDs
-
int32_t parents // parent IDs
-
int32_t daughters // daughter IDs
-
int32_t daughters // daughter IDs
Const
ExtraCode
:
ExtraCode
:
declaration
:
"
declaration
:
"
double
px()
const
{return
ps().x;}
\n
double
px()
const
{return
ps().x;}
\n
double
py()
const
{return
ps().y;}
\n
double
py()
const
{return
ps().y;}
\n
...
...
This diff is collapsed.
Click to expand it.
src/dd4pod/plugins/Geant4Output2Podio.cxx
+
1
−
1
View file @
a1e25644
...
@@ -195,7 +195,7 @@ namespace dd4hep::sim {
...
@@ -195,7 +195,7 @@ namespace dd4hep::sim {
printout
((
part
->
genStatus
==
1
?
ERROR
:
INFO
),
"Geant4Output2Podio"
,
printout
((
part
->
genStatus
==
1
?
ERROR
:
INFO
),
"Geant4Output2Podio"
,
"++ saveEvent: pdgID %d unknown, charge set to 0"
,
part
->
pdgID
);
"++ saveEvent: pdgID %d unknown, charge set to 0"
,
part
->
pdgID
);
}
}
dd4pod
::
Geant4Particle
podpart
{
dd4pod
::
Mutable
Geant4Particle
podpart
{
part
->
id
,
part
->
id
,
part
->
g4Parent
,
part
->
g4Parent
,
part
->
reason
,
part
->
reason
,
...
...
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