Skip to content
Snippets Groups Projects
Commit a1e25644 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Mutable datatypes in podio@0.14.1 and later

parent 6001e82b
No related branches found
No related tags found
No related merge requests found
...@@ -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.11.0 REQUIRED ) find_package(podio 0.14.1 REQUIRED )
include_directories(${podio_INCLUDE_DIR}) include_directories(${podio_INCLUDE_DIR})
# DD4hep # DD4hep
......
...@@ -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
ConstExtraCode : 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
......
...@@ -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::MutableGeant4Particle podpart{
part->id, part->id,
part->g4Parent, part->g4Parent,
part->reason, part->reason,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment