EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::DD4hepDetectorConstruction Exception Referencefinal

Construct the Geant4 detector from a DD4hep description. More...

#include <acts/blob/sPHENIX/Examples/Algorithms/Geant4DD4hep/include/ActsExamples/Geant4DD4hep/DD4hepDetectorConstruction.hpp>

+ Inheritance diagram for ActsExamples::DD4hepDetectorConstruction:
+ Collaboration diagram for ActsExamples::DD4hepDetectorConstruction:

Public Member Functions

 DD4hepDetectorConstruction (dd4hep::Detector &detector)
 
G4VPhysicalVolume * Construct () finaloverride
 

Private Attributes

dd4hep::Detector & m_detector
 

Detailed Description

Construct the Geant4 detector from a DD4hep description.

Definition at line 19 of file DD4hepDetectorConstruction.hpp.

View newest version in sPHENIX GitHub at line 19 of file DD4hepDetectorConstruction.hpp

Constructor & Destructor Documentation

DD4hepDetectorConstruction::DD4hepDetectorConstruction ( dd4hep::Detector &  detector)

Definition at line 20 of file DD4hepDetectorConstruction.cpp.

View newest version in sPHENIX GitHub at line 20 of file DD4hepDetectorConstruction.cpp

Member Function Documentation

G4VPhysicalVolume * DD4hepDetectorConstruction::Construct ( )
finaloverride

Convert the stored DD4hep detector to a Geant4 description.

Transfers ownership of the created object as all volumes (including world) are deleted in ~G4PhysicalVolumeStore().

Definition at line 25 of file DD4hepDetectorConstruction.cpp.

View newest version in sPHENIX GitHub at line 25 of file DD4hepDetectorConstruction.cpp

References INFO, m_detector, and Acts::Test::world.

Member Data Documentation

dd4hep::Detector& ActsExamples::DD4hepDetectorConstruction::m_detector
private

Definition at line 30 of file DD4hepDetectorConstruction.hpp.

View newest version in sPHENIX GitHub at line 30 of file DD4hepDetectorConstruction.hpp

Referenced by Construct().


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