From 5c22733148f9cc98b2f92dd0ba0576460da94b8f Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Thu, 20 Apr 2017 09:38:24 +0200
Subject: [PATCH] DDG4: Geant4Particle, make originalG4ID not root persistent

---
 DDG4/include/DDG4/Geant4Particle.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/DDG4/include/DDG4/Geant4Particle.h b/DDG4/include/DDG4/Geant4Particle.h
index d6eae87ca..eb9d30d8a 100644
--- a/DDG4/include/DDG4/Geant4Particle.h
+++ b/DDG4/include/DDG4/Geant4Particle.h
@@ -105,7 +105,9 @@ namespace DD4hep {
       typedef std::set<int> Particles;
       /// Reference counter
       int ref = 0;           //! not persistent
-      int id  = 0, originalG4ID = 0, g4Parent = 0, reason = 0, mask = 0;
+      int id  = 0;
+      int originalG4ID = 0;  //! not persistent
+      int g4Parent = 0, reason = 0, mask = 0;
       int steps  = 0, secondaries = 0, pdgID = 0;
       int status = 0, colorFlow[2] {0,0};
       char charge = 0, _spare[3] {0,0,0};
-- 
GitLab