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

Detector construction tool using the DD4hep. More...

#include <SimG4DD4hepDetector.h>

Inheritance diagram for SimG4DD4hepDetector:
Collaboration diagram for SimG4DD4hepDetector:

Public Member Functions

 SimG4DD4hepDetector (const std::string &aType, const std::string &aName, const IInterface *aParent)
 
virtual ~SimG4DD4hepDetector ()
 
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

ServiceHandle< IGeoSvc > m_geoSvc
 Pointer to the geometry service.
 

Detailed Description

Detector construction tool using the DD4hep.

Retrieves the geometry build by the implementation of IGeoSvc.

Author
Anna Zaborowska

Constructor & Destructor Documentation

◆ SimG4DD4hepDetector()

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

◆ ~SimG4DD4hepDetector()

SimG4DD4hepDetector::~SimG4DD4hepDetector ( )
virtual

Member Function Documentation

◆ detectorConstruction()

G4VUserDetectorConstruction * SimG4DD4hepDetector::detectorConstruction ( )
virtual

Get the initilization of the geometry.

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

Implements ISimG4DetectorConstruction.

◆ finalize()

StatusCode SimG4DD4hepDetector::finalize ( )
virtual

Finalize.

Returns
status code

◆ initialize()

StatusCode SimG4DD4hepDetector::initialize ( )
virtual

Initialize.

Returns
status code

Member Data Documentation

◆ m_geoSvc

ServiceHandle<IGeoSvc> SimG4DD4hepDetector::m_geoSvc
private

Pointer to the geometry service.


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