From b4e58162554ac8349b96b2b8f3a515195e9d6411 Mon Sep 17 00:00:00 2001 From: Andre Sailer Date: Wed, 11 Oct 2023 14:44:22 +0200 Subject: [PATCH] G4VTouchable: for Geant4 11.1.ref09 cannot forward declare the class any more --- DDG4/include/DDG4/Geant4SensDetAction.h | 2 +- DDG4/include/DDG4/Geant4TouchableHandler.h | 3 ++- DDG4/include/DDG4/Geant4VolumeManager.h | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/DDG4/include/DDG4/Geant4SensDetAction.h b/DDG4/include/DDG4/Geant4SensDetAction.h index a192bc366..c15040281 100644 --- a/DDG4/include/DDG4/Geant4SensDetAction.h +++ b/DDG4/include/DDG4/Geant4SensDetAction.h @@ -20,6 +20,7 @@ // Geant4 include files #include +#include // C/C++ include files #include @@ -28,7 +29,6 @@ class G4HCofThisEvent; class G4Step; class G4Event; -class G4VTouchable; class G4TouchableHistory; class G4VHitsCollection; class G4VReadOutGeometry; diff --git a/DDG4/include/DDG4/Geant4TouchableHandler.h b/DDG4/include/DDG4/Geant4TouchableHandler.h index 042f30405..0be5a58c1 100644 --- a/DDG4/include/DDG4/Geant4TouchableHandler.h +++ b/DDG4/include/DDG4/Geant4TouchableHandler.h @@ -13,13 +13,14 @@ #ifndef DDG4_GEANT4TOUCHABLEHANDLER_H #define DDG4_GEANT4TOUCHABLEHANDLER_H +#include + // C/C++ include files #include #include // Forward declarations class G4VPhysicalVolume; -class G4VTouchable; class G4Step; /// Namespace for the AIDA detector description toolkit diff --git a/DDG4/include/DDG4/Geant4VolumeManager.h b/DDG4/include/DDG4/Geant4VolumeManager.h index 6cbee9517..817121116 100644 --- a/DDG4/include/DDG4/Geant4VolumeManager.h +++ b/DDG4/include/DDG4/Geant4VolumeManager.h @@ -13,13 +13,14 @@ #ifndef DDG4_GEANT4VOLUMEMANAGER_H #define DDG4_GEANT4VOLUMEMANAGER_H + // Framework include files #include #include #include +#include // Geant4 forward declarations -class G4VTouchable; class G4VPhysicalVolume;