DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Types | Public Member Functions | Public Attributes | List of all members
dd4hep::sim::Geant4HierarchyDump Class Reference

Helper to dump Geant4 volume hierarchy. More...

#include <Geant4HierarchyDump.h>

Public Types

enum  {
  G4DUMP_ALL = 0xFFFFFFFF, G4DUMP_LOGVOL = 1 << 0, G4DUMP_SOLID = 1 << 1, G4DUMP_SENSDET = 1 << 2,
  G4DUMP_LIMITS = 1 << 3, G4DUMP_REGION = 1 << 4, G4DUMP_MATRIX = 1 << 5, G4DUMP_LAST
}
 

Public Member Functions

 Geant4HierarchyDump (Detector &description, unsigned long flags=G4DUMP_ALL)
 Initializing Constructor. More...
 
virtual ~Geant4HierarchyDump ()
 Standard destructor. More...
 
virtual void dump (const std::string &indent, const G4VPhysicalVolume *vol) const
 Dump the volume hierarchy as it is known to geant 4. More...
 

Public Attributes

Detectorm_detDesc
 
unsigned long m_flags = G4DUMP_ALL
 

Detailed Description

Helper to dump Geant4 volume hierarchy.

Author
M.Frank
Version
1.0

Definition at line 34 of file Geant4HierarchyDump.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
G4DUMP_ALL 
G4DUMP_LOGVOL 
G4DUMP_SOLID 
G4DUMP_SENSDET 
G4DUMP_LIMITS 
G4DUMP_REGION 
G4DUMP_MATRIX 
G4DUMP_LAST 

Definition at line 36 of file Geant4HierarchyDump.h.

Constructor & Destructor Documentation

◆ Geant4HierarchyDump()

Geant4HierarchyDump::Geant4HierarchyDump ( Detector description,
unsigned long  flags = G4DUMP_ALL 
)

Initializing Constructor.

Definition at line 69 of file Geant4HierarchyDump.cpp.

◆ ~Geant4HierarchyDump()

Geant4HierarchyDump::~Geant4HierarchyDump ( )
virtual

Standard destructor.

Definition at line 76 of file Geant4HierarchyDump.cpp.

Member Function Documentation

◆ dump()

void Geant4HierarchyDump::dump ( const std::string &  indent,
const G4VPhysicalVolume *  vol 
) const
virtual

Dump the volume hierarchy as it is known to geant 4.

Definition at line 79 of file Geant4HierarchyDump.cpp.

Member Data Documentation

◆ m_detDesc

Detector& dd4hep::sim::Geant4HierarchyDump::m_detDesc

Definition at line 47 of file Geant4HierarchyDump.h.

◆ m_flags

unsigned long dd4hep::sim::Geant4HierarchyDump::m_flags = G4DUMP_ALL

Definition at line 48 of file Geant4HierarchyDump.h.


The documentation for this class was generated from the following files: