From 4882568101b31c64b87e4a0074bee99445b330e8 Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Thu, 19 Mar 2015 15:11:14 +0000
Subject: [PATCH] boostInteraction: Just assign the values, don't increase them

---
 DDG4/src/Geant4InputHandling.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/DDG4/src/Geant4InputHandling.cpp b/DDG4/src/Geant4InputHandling.cpp
index c50acf07f..328160e54 100644
--- a/DDG4/src/Geant4InputHandling.cpp
+++ b/DDG4/src/Geant4InputHandling.cpp
@@ -186,9 +186,9 @@ int DD4hep::Simulation::boostInteraction(const Geant4Action* /* caller */,
       p->vsz = z;
       p->time = t;
 
-      p->psx += px;
-      p->psy += py;
-      p->psz += pz;
+      p->psx = px;
+      p->psy = py;
+      p->psz = pz;
     }
   }
   return 1;
-- 
GitLab