ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FW::DD4hepG4::DD4hepToG4Svc Class Reference

#include <acts/blob/master/Examples/Algorithms/DD4hepG4/include/ACTFW/Plugins/DD4hepG4/DD4hepToG4Svc.hpp>

+ Collaboration diagram for FW::DD4hepG4::DD4hepToG4Svc:

Classes

class  Config
 

Public Member Functions

 DD4hepToG4Svc (const Config &cfg)
 
 ~DD4hepToG4Svc ()
 
G4VUserDetectorConstructiongeant4Geometry ()
 

Private Member Functions

FW::ProcessCode buildGeant4Geometry ()
 Private method building the detector in Geant4 geometry.
 
const Acts::Loggerlogger () const
 Private access to the logging instance.
 

Private Attributes

Config m_cfg
 The config class.
 
G4VUserDetectorConstructionm_geant4Geometry
 Pointer to the interface to the DD4hep geometry.
 

Detailed Description

The DD4hepToG4Svc provides the Geant4 geometry from DD4hep input. This class should only be temporary - later it should be replaced by TGeoToGeant4

Definition at line 26 of file DD4hepToG4Svc.hpp.

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

Constructor & Destructor Documentation

FW::DD4hepG4::DD4hepToG4Svc::DD4hepToG4Svc ( const Config cfg)

Definition at line 13 of file DD4hepToG4Svc.cpp.

View newest version in sPHENIX GitHub at line 13 of file DD4hepToG4Svc.cpp

FW::DD4hepG4::DD4hepToG4Svc::~DD4hepToG4Svc ( )

Definition at line 17 of file DD4hepToG4Svc.cpp.

View newest version in sPHENIX GitHub at line 17 of file DD4hepToG4Svc.cpp

Member Function Documentation

FW::ProcessCode FW::DD4hepG4::DD4hepToG4Svc::buildGeant4Geometry ( )
private

Private method building the detector in Geant4 geometry.

Definition at line 22 of file DD4hepToG4Svc.cpp.

View newest version in sPHENIX GitHub at line 22 of file DD4hepToG4Svc.cpp

References SUCCESS.

G4VUserDetectorConstruction * FW::DD4hepG4::DD4hepToG4Svc::geant4Geometry ( )

Interface method to access the geant4 geometry

Returns
G4VUserDetectorConstruction from which the Geant4 geometry is constructed

Definition at line 33 of file DD4hepToG4Svc.cpp.

View newest version in sPHENIX GitHub at line 33 of file DD4hepToG4Svc.cpp

const Acts::Logger& FW::DD4hepG4::DD4hepToG4Svc::logger ( ) const
inlineprivate

Private access to the logging instance.

Definition at line 63 of file DD4hepToG4Svc.hpp.

View newest version in sPHENIX GitHub at line 63 of file DD4hepToG4Svc.hpp

References FW::DD4hepG4::DD4hepToG4Svc::Config::logger, and m_cfg.

Member Data Documentation

Config FW::DD4hepG4::DD4hepToG4Svc::m_cfg
private

The config class.

Definition at line 58 of file DD4hepToG4Svc.hpp.

View newest version in sPHENIX GitHub at line 58 of file DD4hepToG4Svc.hpp

Referenced by logger().

G4VUserDetectorConstruction* FW::DD4hepG4::DD4hepToG4Svc::m_geant4Geometry
private

Pointer to the interface to the DD4hep geometry.

Definition at line 60 of file DD4hepToG4Svc.hpp.

View newest version in sPHENIX GitHub at line 60 of file DD4hepToG4Svc.hpp


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