diff --git a/DDG4/include/DDG4/Geant4SensDetAction.h b/DDG4/include/DDG4/Geant4SensDetAction.h index a192bc3667fd118642731679dc2feb380fcc98f7..c150402811868d34b6126bf280cc2c43578361ac 100644 --- a/DDG4/include/DDG4/Geant4SensDetAction.h +++ b/DDG4/include/DDG4/Geant4SensDetAction.h @@ -20,6 +20,7 @@ // Geant4 include files #include <G4ThreeVector.hh> +#include <G4VTouchable.hh> // C/C++ include files #include <vector> @@ -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 042f304059b3c3009e90887edfeb7daf77683ffb..0be5a58c1d5c156d40c2d5552e4169491ca3db24 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 <G4VTouchable.hh> + // C/C++ include files #include <vector> #include <string> // 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 6cbee9517860faf7cac2936bced9d87668fc861d..02027ad3e160c7245f0dce5ff3d21ae9bd17dfed 100644 --- a/DDG4/include/DDG4/Geant4VolumeManager.h +++ b/DDG4/include/DDG4/Geant4VolumeManager.h @@ -18,8 +18,8 @@ #include <DD4hep/IDDescriptor.h> #include <DDG4/Geant4Primitives.h> +#include <G4VTouchable.hh> // Geant4 forward declarations -class G4VTouchable; class G4VPhysicalVolume;