From 16496fa35879d9aeab5c4c76f9193973dca44a96 Mon Sep 17 00:00:00 2001 From: Andre Sailer <andre.philippe.sailer@cern.ch> Date: Wed, 25 Feb 2015 12:03:59 +0000 Subject: [PATCH] Geant4HierarchyDump: G4Assembly.hh no longer exists --- DDG4/src/Geant4HierarchyDump.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DDG4/src/Geant4HierarchyDump.cpp b/DDG4/src/Geant4HierarchyDump.cpp index 2e6b463f9..a2ed19f7b 100644 --- a/DDG4/src/Geant4HierarchyDump.cpp +++ b/DDG4/src/Geant4HierarchyDump.cpp @@ -7,6 +7,8 @@ // //==================================================================== +#include <G4Version.hh> + #include "DD4hep/LCDD.h" #include "DD4hep/Volumes.h" #include "DD4hep/Printout.h" @@ -20,7 +22,9 @@ // Geant4 include files #include "G4Element.hh" #include "G4SDManager.hh" +#if G4VERSION_NUMBER < 1000 #include "G4Assembly.hh" +#endif #include "G4AssemblyVolume.hh" #include "G4Box.hh" #include "G4Trd.hh" -- GitLab