From 4ff51903de73c46f2687bf968eb8dd6183a528ed Mon Sep 17 00:00:00 2001
From: ralfulrich <ralf.ulrich@kit.edu>
Date: Sat, 9 Feb 2019 13:57:59 +0100
Subject: [PATCH] added line of comment

---
 Setup/SetupStack.h | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Setup/SetupStack.h b/Setup/SetupStack.h
index c50b6f400..397f7a35f 100644
--- a/Setup/SetupStack.h
+++ b/Setup/SetupStack.h
@@ -70,11 +70,12 @@ public:
   }
   void SetParticleData(
       GeometryDataInterface<T>& parent,
-      const std::tuple<const corsika::environment::BaseNodeType*>) { // v = {nullptr}) {
-    SetNode(parent.GetNode());
+      const std::tuple<const corsika::environment::BaseNodeType*>) { 
+    SetNode(parent.GetNode()); // copy Node from parent particle!
   }
   void SetParticleData() { SetNode(nullptr); }
-  void SetParticleData(GeometryDataInterface<T>& parent) { SetNode(parent.GetNode()); }
+  void SetParticleData(GeometryDataInterface<T>& parent) { SetNode(parent.GetNode());  // copy Node from parent particle!
+  }
   void SetNode(const corsika::environment::BaseNodeType* v) {
     GetStackData().SetNode(GetIndex(), v);
   }
-- 
GitLab