From ab1a933a044714a38ab6b2caad29dff667fdd2ed Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Sun, 20 Mar 2022 01:44:46 +0000
Subject: [PATCH] Mutable datatypes in podio@0.14.1 and later

---
 CMakeLists.txt | 4 ++--
 eic_data.yaml  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d74a040..29ab2a9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,10 +14,10 @@ if(APPLE)
 endif(APPLE)
 
 
-find_package(podio 0.11.0 REQUIRED)
+find_package(podio 0.14.1 REQUIRED)
 include_directories(${podio_INCLUDE_DIR})
 
-find_package(EDM4HEP REQUIRED)
+find_package(EDM4HEP 0.4.1 REQUIRED)
 
 #include(cmake/root.cmake)
 list(APPEND CMAKE_PREFIX_PATH $ENV{ROOTSYS})
diff --git a/eic_data.yaml b/eic_data.yaml
index 058eca7..6c5e5b4 100644
--- a/eic_data.yaml
+++ b/eic_data.yaml
@@ -260,7 +260,7 @@ datatypes:
       - eicd::Track       tracks            // Tracks used for this particle
       - eicd::ReconstructedParticle particles // Reconstructed particles that have been combined to this particle
       - eicd::ParticleID  particleIDs       // All associated particle IDs for this particle (not sorted by likelihood)
-    ConstExtraCode:
+    ExtraCode:
       declaration: "
         bool isCompound() const {return particles_size() > 0;}\n
         "
-- 
GitLab