|
ACTS
Experiment-independent tracking
|
A factory to convert DD4hep DetectorElements into sensitive of passive surfaces which are filled into a Cache object, also the create DD4hepDetector elements are provided. More...
#include <ActsPlugins/DD4hep/DD4hepDetectorSurfaceFactory.hpp>
Classes | |
| struct | Cache |
| Nested cache that records the conversion status. More... | |
| struct | Config |
| Configuration struct. More... | |
| struct | Options |
| Nested options struct to steer the conversion. More... | |
Public Types | |
| using | DD4hepPassiveSurface = std::tuple<std::shared_ptr<Acts::Surface>, bool> |
| Collect the passive surfaces, bool whether it should be added as an "always try, i.e. assignToAll=true" surface. | |
| using | DD4hepSensitiveSurface |
| Collect the sensitive surface & detector element. | |
| using | ElementFactory |
| DD4hepDetectorElement construction factory. | |
Public Member Functions | |
| DD4hepDetectorSurfaceFactory (const Config &config, std::unique_ptr< const Acts::Logger > mlogger=Acts::getDefaultLogger("DD4hepDetectorSurfaceFactory", Acts::Logging::INFO)) | |
| The DD4hep detector element factory. | |
| void | construct (Cache &cache, const Acts::GeometryContext &gctx, const dd4hep::DetElement &dd4hepElement, const Options &options) |
| Construction method of the detector elements. | |
A factory to convert DD4hep DetectorElements into sensitive of passive surfaces which are filled into a Cache object, also the create DD4hepDetector elements are provided.
| using ActsPlugins::DD4hepDetectorSurfaceFactory::DD4hepPassiveSurface = std::tuple<std::shared_ptr<Acts::Surface>, bool> |
Collect the passive surfaces, bool whether it should be added as an "always try, i.e. assignToAll=true" surface.
Collect the sensitive surface & detector element.
DD4hepDetectorElement construction factory.
|
explicit |
The DD4hep detector element factory.
| config | the configuration struct |
| mlogger | a screen output logger |
| void ActsPlugins::DD4hepDetectorSurfaceFactory::construct | ( | Cache & | cache, |
| const Acts::GeometryContext & | gctx, | ||
| const dd4hep::DetElement & | dd4hepElement, | ||
| const Options & | options ) |
Construction method of the detector elements.
| cache | [in,out] into which the Elements are filled |
| gctx | the geometry context |
| dd4hepElement | the detector element representing the super structure |
| options | to steer the conversion |