ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
service creating geometries from dd4hep input More...
Classes | |
struct | Config |
Public Member Functions | |
DD4hepGeometryService (const Config &cfg) | |
~DD4hepGeometryService () finaloverride | |
dd4hep::DetElement | dd4hepGeometry () |
TGeoNode * | tgeoGeometry () |
dd4hep::Detector * | lcdd () |
Interface method to access to the interface of the DD4hep geometry. | |
std::unique_ptr< const Acts::TrackingGeometry > | trackingGeometry (const Acts::GeometryContext &gctx) |
Public Member Functions inherited from FW::BareService | |
BareService (std::string name, Acts::Logging::Level level=Acts::Logging::INFO) | |
std::string | name () const finaloverride |
The service name. | |
void | startRun () override |
Default noop implementation for the start-of-run hook. | |
void | prepare (AlgorithmContext &ctx) override |
Default noop implementation for the per-event prepare hook. | |
Public Member Functions inherited from FW::IService | |
virtual | ~IService ()=default |
Private Member Functions | |
FW::ProcessCode | buildDD4hepGeometry () |
Private method to initiate building of the DD4hep geometry. | |
FW::ProcessCode | buildTrackingGeometry (const Acts::GeometryContext &gctx) |
Private method to initiate building of the ACTS tracking geometry. | |
Private Attributes | |
Config | m_cfg |
The config class. | |
dd4hep::Detector * | m_lcdd |
Pointer to the interface to the DD4hep geometry. | |
dd4hep::DetElement | m_dd4hepGeometry |
The world DD4hep DetElement. | |
std::unique_ptr< const Acts::TrackingGeometry > | m_trackingGeometry |
The ACTS TrackingGeometry. | |
Additional Inherited Members | |
Protected Member Functions inherited from FW::BareService | |
const Acts::Logger & | logger () const |
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 34 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 34 of file DD4hepGeometryService.hpp
FW::DD4hep::DD4hepGeometryService::DD4hepGeometryService | ( | const Config & | cfg | ) |
Definition at line 20 of file DD4hepGeometryService.cpp.
View newest version in sPHENIX GitHub at line 20 of file DD4hepGeometryService.cpp
|
finaloverride |
Definition at line 24 of file DD4hepGeometryService.cpp.
View newest version in sPHENIX GitHub at line 24 of file DD4hepGeometryService.cpp
|
private |
Private method to initiate building of the DD4hep geometry.
Definition at line 29 of file DD4hepGeometryService.cpp.
View newest version in sPHENIX GitHub at line 29 of file DD4hepGeometryService.cpp
|
private |
Private method to initiate building of the ACTS tracking geometry.
Definition at line 60 of file DD4hepGeometryService.cpp.
View newest version in sPHENIX GitHub at line 60 of file DD4hepGeometryService.cpp
References Acts::convertDD4hepDetector(), and SUCCESS.
dd4hep::DetElement FW::DD4hep::DD4hepGeometryService::dd4hepGeometry | ( | ) |
Interface method to access the DD4hep geometry
Definition at line 41 of file DD4hepGeometryService.cpp.
View newest version in sPHENIX GitHub at line 41 of file DD4hepGeometryService.cpp
dd4hep::Detector* FW::DD4hep::DD4hepGeometryService::lcdd | ( | ) |
Interface method to access to the interface of the DD4hep geometry.
TGeoNode * FW::DD4hep::DD4hepGeometryService::tgeoGeometry | ( | ) |
Interface method to Access the TGeo geometry
Definition at line 54 of file DD4hepGeometryService.cpp.
View newest version in sPHENIX GitHub at line 54 of file DD4hepGeometryService.cpp
std::unique_ptr< const Acts::TrackingGeometry > FW::DD4hep::DD4hepGeometryService::trackingGeometry | ( | const Acts::GeometryContext & | gctx | ) |
Interface method to access the ACTS TrackingGeometry
gctx | is the geometry context object |
Definition at line 72 of file DD4hepGeometryService.cpp.
View newest version in sPHENIX GitHub at line 72 of file DD4hepGeometryService.cpp
|
private |
The config class.
Definition at line 97 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 97 of file DD4hepGeometryService.hpp
|
private |
The world DD4hep DetElement.
Definition at line 101 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 101 of file DD4hepGeometryService.hpp
|
private |
Pointer to the interface to the DD4hep geometry.
Definition at line 99 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 99 of file DD4hepGeometryService.hpp
|
private |
The ACTS TrackingGeometry.
Definition at line 103 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 103 of file DD4hepGeometryService.hpp