EIC Software
Reference for
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 ActsExamples::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 ActsExamples::IService | |
virtual | ~IService ()=default |
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. | |
Private Attributes | |
Config | m_cfg |
The config class. | |
dd4hep::Detector * | m_lcdd = nullptr |
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 ActsExamples::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 35 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 35 of file DD4hepGeometryService.hpp
ActsExamples::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 30 of file DD4hepGeometryService.cpp.
View newest version in sPHENIX GitHub at line 30 of file DD4hepGeometryService.cpp
References eicpy.qaplots::file, and SUCCESS.
|
private |
Private method to initiate building of the ACTS tracking geometry.
Definition at line 63 of file DD4hepGeometryService.cpp.
View newest version in sPHENIX GitHub at line 63 of file DD4hepGeometryService.cpp
References Acts::convertDD4hepDetector(), and SUCCESS.
dd4hep::DetElement ActsExamples::DD4hep::DD4hepGeometryService::dd4hepGeometry | ( | ) |
Interface method to access the DD4hep geometry
Definition at line 43 of file DD4hepGeometryService.cpp.
View newest version in sPHENIX GitHub at line 43 of file DD4hepGeometryService.cpp
dd4hep::Detector* ActsExamples::DD4hep::DD4hepGeometryService::lcdd | ( | ) |
Interface method to access to the interface of the DD4hep geometry.
TGeoNode * ActsExamples::DD4hep::DD4hepGeometryService::tgeoGeometry | ( | ) |
Interface method to Access the TGeo geometry
Definition at line 56 of file DD4hepGeometryService.cpp.
View newest version in sPHENIX GitHub at line 56 of file DD4hepGeometryService.cpp
std::unique_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 |
Definition at line 75 of file DD4hepGeometryService.cpp.
View newest version in sPHENIX GitHub at line 75 of file DD4hepGeometryService.cpp
|
private |
The config class.
Definition at line 99 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 99 of file DD4hepGeometryService.hpp
|
private |
The world DD4hep DetElement.
Definition at line 103 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 103 of file DD4hepGeometryService.hpp
|
private |
Pointer to the interface to the DD4hep geometry.
Definition at line 101 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 101 of file DD4hepGeometryService.hpp
|
private |
The ACTS TrackingGeometry.
Definition at line 105 of file DD4hepGeometryService.hpp.
View newest version in sPHENIX GitHub at line 105 of file DD4hepGeometryService.hpp