Skip to content

Commit

Permalink
G4VTouchable: for Geant4 11.1.ref09 cannot forward declare the class …
Browse files Browse the repository at this point in the history
…any more
  • Loading branch information
andresailer committed Oct 11, 2023
1 parent 1962f7d commit 0c22264
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DDG4/include/DDG4/Geant4SensDetAction.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

// Geant4 include files
#include <G4ThreeVector.hh>
#include <G4VTouchable.hh>

// C/C++ include files
#include <vector>
Expand All @@ -28,7 +29,6 @@
class G4HCofThisEvent;
class G4Step;
class G4Event;
class G4VTouchable;
class G4TouchableHistory;
class G4VHitsCollection;
class G4VReadOutGeometry;
Expand Down
3 changes: 2 additions & 1 deletion DDG4/include/DDG4/Geant4TouchableHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion DDG4/include/DDG4/Geant4VolumeManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
#include <DD4hep/IDDescriptor.h>
#include <DDG4/Geant4Primitives.h>

#include <G4VTouchable.hh>
// Geant4 forward declarations
class G4VTouchable;
class G4VPhysicalVolume;


Expand Down

0 comments on commit 0c22264

Please sign in to comment.