Analysis Software
Documentation for sPHENIX simulation software
|
service creating geometries from dd4hep input More...
Classes | |
struct | Config |
Public Member Functions | |
DD4hepGeometryService (const Config &cfg) | |
~DD4hepGeometryService () | |
dd4hep::Detector & | detector () |
Interface method to access to the DD4hep geometry. | |
dd4hep::DetElement & | geometry () |
TGeoNode & | tgeoGeometry () |
std::shared_ptr< const Acts::TrackingGeometry > | trackingGeometry (const Acts::GeometryContext &gctx) |
Private Member Functions | |
ActsExamples::ProcessCode | buildDD4hepGeometry () |
Private method to initiate building of the DD4hep geometry. | |
ActsExamples::ProcessCode | buildTrackingGeometry (const Acts::GeometryContext &gctx) |
Private method to initiate building of the ACTS tracking geometry. | |
const Acts::Logger & | logger () const |
Private Attributes | |
Config | m_cfg |
The config class. | |
dd4hep::Detector * | m_detector = nullptr |
Pointer to the interface to the DD4hep geometry. | |
dd4hep::DetElement | m_geometry |
The world DD4hep DetElement. | |
std::shared_ptr< const Acts::TrackingGeometry > | m_trackingGeometry |
The ACTS TrackingGeometry. | |
std::unique_ptr< const Acts::Logger > | m_logger |
service creating geometries from dd4hep input
The DD4hepGeometryService creates the DD4hep, the TGeo and the ACTS TrackingGeometry from DD4hep xml input. The geometries are created only on demand.
Definition at line 50 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 50 of file DD4hepGeometryService.hpp
ActsExamples::DD4hep::DD4hepGeometryService::DD4hepGeometryService | ( | const Config & | cfg | ) |
Definition at line 27 of file DD4hepGeometryService.cpp.
View newest version in sPHENIX GitHub at line 27 of file DD4hepGeometryService.cpp
References Acts::getDefaultLogger(), and ActsExamples::DD4hep::DD4hepGeometryService::Config::logLevel.
ActsExamples::DD4hep::DD4hepGeometryService::~DD4hepGeometryService | ( | ) |
|
private |
|
private |
Private method to initiate building of the ACTS tracking geometry.
dd4hep::Detector& ActsExamples::DD4hep::DD4hepGeometryService::detector | ( | ) |
dd4hep::DetElement& ActsExamples::DD4hep::DD4hepGeometryService::geometry | ( | ) |
|
inlineprivate |
Definition at line 128 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 128 of file DD4hepGeometryService.hpp
References m_logger.
TGeoNode& ActsExamples::DD4hep::DD4hepGeometryService::tgeoGeometry | ( | ) |
Interface method to Access the TGeo geometry
std::shared_ptr<const Acts::TrackingGeometry> ActsExamples::DD4hep::DD4hepGeometryService::trackingGeometry | ( | const Acts::GeometryContext & | gctx | ) |
Interface method to access the ACTS TrackingGeometry
gctx | is the geometry context object |
|
private |
The config class.
Definition at line 120 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 120 of file DD4hepGeometryService.hpp
|
private |
Pointer to the interface to the DD4hep geometry.
Definition at line 122 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 122 of file DD4hepGeometryService.hpp
|
private |
The world DD4hep DetElement.
Definition at line 124 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 124 of file DD4hepGeometryService.hpp
|
private |
Definition at line 130 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 130 of file DD4hepGeometryService.hpp
Referenced by logger().
|
private |
The ACTS TrackingGeometry.
Definition at line 126 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 126 of file DD4hepGeometryService.hpp