DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep  Rev:Unversioneddirectory
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Geant4HierarchyDump.h
Go to the documentation of this file.
1 // $Id: $
2 //==========================================================================
3 // AIDA Detector description implementation for LCD
4 //--------------------------------------------------------------------------
5 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
6 // All rights reserved.
7 //
8 // For the licensing terms see $DD4hepINSTALL/LICENSE.
9 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
10 //
11 // Author : M.Frank
12 //
13 //==========================================================================
14 
15 #ifndef DD4HEP_DDG4_GEANT4HIERARCHYDUMP_H
16 #define DD4HEP_DDG4_GEANT4HIERARCHYDUMP_H
17 
18 // Geant 4 include files
19 #include "G4VPhysicalVolume.hh"
20 
22 namespace DD4hep {
23 
24  // Forward declarations
25  namespace Geometry {
26  class LCDD;
27  }
28 
30  namespace Simulation {
31 
33 
39  public:
42 
43  public:
47  virtual ~Geant4HierarchyDump();
49  virtual void dump(const std::string& indent, const G4VPhysicalVolume* vol) const;
50  };
51  }
52 }
53 
54 #endif // DD4HEP_DDG4_GEANT4HIERARCHYDUMP_H
Helper to dump Geant4 volume hierarchy.
virtual ~Geant4HierarchyDump()
Standard destructor.
virtual void dump(const std::string &indent, const G4VPhysicalVolume *vol) const
Dump the volume hierarchy as it is known to geant 4.
The main interface to the DD4hep detector description package.
Definition: LCDD.h:82
Geant4HierarchyDump(LCDD &lcdd)
Initializing Constructor.