From 0f1f9c62aca606fd33a3ae1e5388ab8270707cc3 Mon Sep 17 00:00:00 2001
From: Markus Frank <Markus.Frank@cern.ch>
Date: Tue, 19 Jul 2022 00:14:45 +0200
Subject: [PATCH] Fix errors for Geant4

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

diff --git a/DDG4/lcio/LCIOSDTestActions.cpp b/DDG4/lcio/LCIOSDTestActions.cpp
index 44c983742..421c82094 100644
--- a/DDG4/lcio/LCIOSDTestActions.cpp
+++ b/DDG4/lcio/LCIOSDTestActions.cpp
@@ -74,12 +74,12 @@ namespace  Tests {
       Base::end(hce);
     }
     /// G4VSensitiveDetector interface: Method for generating hit(s) using the G4Step object.
-    virtual bool process(G4Step* step,G4VTouchable* history)  override   {
+    virtual bool process(G4Step* step, G4TouchableHistory* history)  override   {
       return Base::process(step,history);
     }
     /// GFlash/FastSim interface: Method for generating hit(s) using the G4Step object.
-    virtual bool process(const Geant4FastSimSpot* spot,G4VTouchable* history)  override {
-      return Base::process(step,history);
+    virtual bool processFastSim(const Geant4FastSimSpot* spot, G4TouchableHistory* history)  override {
+      return Base::processFastSim(spot,history);
     }
     /// G4VSensitiveDetector interface: Method invoked if the event was aborted.
     virtual void clear(G4HCofThisEvent* hce)  override   {
-- 
GitLab