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

Detector construction tool using the GDML file. More...

#include <SimG4GdmlDetector.h>

Inheritance diagram for SimG4GdmlDetector:
Collaboration diagram for SimG4GdmlDetector:

Public Member Functions

 SimG4GdmlDetector (const std::string &aType, const std::string &aName, const IInterface *aParent)
 
virtual ~SimG4GdmlDetector ()
 
virtual StatusCode initialize ()
 Initialize.
 
virtual StatusCode finalize ()
 Finalize.
 
virtual G4VUserDetectorConstruction * detectorConstruction ()
 Get the initilization of the geometry.
 
- Public Member Functions inherited from ISimG4DetectorConstruction
 DeclareInterfaceID (ISimG4DetectorConstruction, 1, 0)
 Retrieve interface ID.
 

Private Attributes

Gaudi::Property< std::string > m_gdmlFile {this, "gdml", "", "name of the GDML file"}
 name of the GDML file
 
Gaudi::Property< bool > m_validate {this, "validateGDMLSchema", false, "try to validate the GDML schema"}
 

Detailed Description

Detector construction tool using the GDML file.

GDML file name needs to be specified in job options file ('gdml').

Author
Anna Zaborowska

Constructor & Destructor Documentation

◆ SimG4GdmlDetector()

SimG4GdmlDetector::SimG4GdmlDetector ( const std::string & aType,
const std::string & aName,
const IInterface * aParent )
explicit

◆ ~SimG4GdmlDetector()

SimG4GdmlDetector::~SimG4GdmlDetector ( )
virtual

Member Function Documentation

◆ detectorConstruction()

G4VUserDetectorConstruction * SimG4GdmlDetector::detectorConstruction ( )
virtual

Get the initilization of the geometry.

Returns
pointer to G4VUserDetectorConstruction (ownership is transferred to the caller)

Implements ISimG4DetectorConstruction.

◆ finalize()

StatusCode SimG4GdmlDetector::finalize ( )
virtual

Finalize.

Returns
status code

◆ initialize()

StatusCode SimG4GdmlDetector::initialize ( )
virtual

Initialize.

Returns
status code

Member Data Documentation

◆ m_gdmlFile

Gaudi::Property<std::string> SimG4GdmlDetector::m_gdmlFile {this, "gdml", "", "name of the GDML file"}
private

name of the GDML file

◆ m_validate

Gaudi::Property<bool> SimG4GdmlDetector::m_validate {this, "validateGDMLSchema", false, "try to validate the GDML schema"}
private

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