k4SimGeant4
Loading...
Searching...
No Matches
GeoToGdmlDumpSvc Class Reference

Service that dumps the geometry retrieved from the DD4hep GeoSvc to GDML file. More...

#include <SimG4Components/src/GeoToGdmlDumpSvc.h>

Inheritance diagram for GeoToGdmlDumpSvc:
Collaboration diagram for GeoToGdmlDumpSvc:

Public Member Functions

 GeoToGdmlDumpSvc (const std::string &name, ISvcLocator *svcLoc)
 Constructor.
 
virtual StatusCode initialize ()
 Initialize.
 
virtual StatusCode finalize ()
 Finalize.
 
virtual ~GeoToGdmlDumpSvc ()
 Destructor.
 

Private Attributes

Gaudi::Property< std::string > m_gdmlFileName {this, "gdml", "GeantDetector.gdml", "Output GDML file name"}
 Name of the GDML output file.
 

Detailed Description

Service that dumps the geometry retrieved from the DD4hep GeoSvc to GDML file.

Author
Anna Zaborowska

Constructor & Destructor Documentation

◆ GeoToGdmlDumpSvc()

GeoToGdmlDumpSvc::GeoToGdmlDumpSvc ( const std::string & name,
ISvcLocator * svcLoc )
explicit

Constructor.

◆ ~GeoToGdmlDumpSvc()

virtual GeoToGdmlDumpSvc::~GeoToGdmlDumpSvc ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ finalize()

StatusCode GeoToGdmlDumpSvc::finalize ( )
virtual

Finalize.

◆ initialize()

StatusCode GeoToGdmlDumpSvc::initialize ( )
virtual

Initialize.

Member Data Documentation

◆ m_gdmlFileName

Gaudi::Property<std::string> GeoToGdmlDumpSvc::m_gdmlFileName {this, "gdml", "GeantDetector.gdml", "Output GDML file name"}
private

Name of the GDML output file.


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