Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::DDG4DetectorConstruction Exception Referencefinal

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

#include <acts/blob/sPHENIX/Examples/Algorithms/Geant4/include/ActsExamples/DDG4/DDG4DetectorConstruction.hpp>

+ Inheritance diagram for ActsExamples::DDG4DetectorConstruction:
+ Collaboration diagram for ActsExamples::DDG4DetectorConstruction:

Public Member Functions

 DDG4DetectorConstruction (std::shared_ptr< DD4hep::DD4hepDetector > detector)
 
 ~DDG4DetectorConstruction () final
 
G4VPhysicalVolumeConstruct () final
 

Private Member Functions

dd4hep::Detector & dd4hepDetector () const
 The DD4hep detector instance.
 

Private Attributes

std::shared_ptr
< DD4hep::DD4hepDetector
m_detector
 The Acts DD4hep detector instance.
 
G4VPhysicalVolumem_world = nullptr
 The world volume.
 

Detailed Description

Construct the Geant4 detector from a DD4hep description.

Definition at line 29 of file DDG4DetectorConstruction.hpp.

View newest version in sPHENIX GitHub at line 29 of file DDG4DetectorConstruction.hpp

Constructor & Destructor Documentation

ActsExamples::DDG4DetectorConstruction::DDG4DetectorConstruction ( std::shared_ptr< DD4hep::DD4hepDetector detector)

Definition at line 25 of file DDG4DetectorConstruction.cpp.

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

ActsExamples::DDG4DetectorConstruction::~DDG4DetectorConstruction ( )
finaldefault

Member Function Documentation

G4VPhysicalVolume * ActsExamples::DDG4DetectorConstruction::Construct ( )
final

Convert the stored DD4hep detector to a Geant4 description.

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

Note
for facilitating configuration within the ACTS framework the world volume is cached

Definition at line 37 of file DDG4DetectorConstruction.cpp.

View newest version in sPHENIX GitHub at line 37 of file DDG4DetectorConstruction.cpp

References VERBOSE.

dd4hep::Detector & ActsExamples::DDG4DetectorConstruction::dd4hepDetector ( ) const
private

The DD4hep detector instance.

Definition at line 31 of file DDG4DetectorConstruction.cpp.

View newest version in sPHENIX GitHub at line 31 of file DDG4DetectorConstruction.cpp

Member Data Documentation

std::shared_ptr<DD4hep::DD4hepDetector> ActsExamples::DDG4DetectorConstruction::m_detector
private

The Acts DD4hep detector instance.

Definition at line 45 of file DDG4DetectorConstruction.hpp.

View newest version in sPHENIX GitHub at line 45 of file DDG4DetectorConstruction.hpp

G4VPhysicalVolume* ActsExamples::DDG4DetectorConstruction::m_world = nullptr
private

The world volume.

Definition at line 47 of file DDG4DetectorConstruction.hpp.

View newest version in sPHENIX GitHub at line 47 of file DDG4DetectorConstruction.hpp


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