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

Construct the Geant4 detector from a Gdml file. More...

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

+ Inheritance diagram for ActsExamples::GdmlDetectorConstruction:
+ Collaboration diagram for ActsExamples::GdmlDetectorConstruction:

Public Member Functions

 GdmlDetectorConstruction (std::string path)
 
G4VPhysicalVolume * Construct () finaloverride
 Read the file and parse it to construct the Geant4 description.
 

Private Attributes

std::string m_path
 

Detailed Description

Construct the Geant4 detector from a Gdml file.

Definition at line 17 of file GdmlDetectorConstruction.hpp.

View newest version in sPHENIX GitHub at line 17 of file GdmlDetectorConstruction.hpp

Constructor & Destructor Documentation

GdmlDetectorConstruction::GdmlDetectorConstruction ( std::string  path)
Parameters
pathis the path to the Gdml file

Definition at line 15 of file GdmlDetectorConstruction.cpp.

View newest version in sPHENIX GitHub at line 15 of file GdmlDetectorConstruction.cpp

Member Function Documentation

G4VPhysicalVolume * GdmlDetectorConstruction::Construct ( )
finaloverride

Read the file and parse it to construct the Geant4 description.

Definition at line 18 of file GdmlDetectorConstruction.cpp.

View newest version in sPHENIX GitHub at line 18 of file GdmlDetectorConstruction.cpp

References G4GDMLParser::GetWorldVolume(), m_path, charm_jet_coverage::parser, and G4GDMLParser::Read().

+ Here is the call graph for this function:

Member Data Documentation

std::string ActsExamples::GdmlDetectorConstruction::m_path
private

Definition at line 26 of file GdmlDetectorConstruction.hpp.

View newest version in sPHENIX GitHub at line 26 of file GdmlDetectorConstruction.hpp

Referenced by Construct().


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