Commit edc3431d authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Mutable datatypes in podio@0.14.1 and later

parent 4cfd9c8d
Pipeline #29129 passed with stages
in 49 seconds
......@@ -42,7 +42,7 @@ set(CMAKE_MODULE_PATH CMAKE_MODULE_PATH PODIO)
# Find Libraries
#----------------------------------------------------------------------------
# PODIO
find_package(podio 0.11.0 REQUIRED )
find_package(podio 0.14.1 REQUIRED )
include_directories(${podio_INCLUDE_DIR})
# DD4hep
......
......@@ -88,7 +88,7 @@ datatypes:
VectorMembers:
- int32_t parents // parent IDs
- int32_t daughters // daughter IDs
ConstExtraCode :
ExtraCode :
declaration: "
double px() const {return ps().x;}\n
double py() const {return ps().y;}\n
......
......@@ -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::MutableGeant4Particle podpart{
part->id,
part->g4Parent,
part->reason,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment