|
ACTS
Experiment-independent tracking
|
A factory to convert Geant4 physical volumes into Geant4 detector elements. More...
#include <ActsPlugins/Geant4/Geant4DetectorSurfaceFactory.hpp>
Classes | |
| struct | Cache |
| Type alias for passive surface. More... | |
| struct | Config |
| Nested configuration struct that holds global lifetime configuration. More... | |
| struct | Options |
| Nested option struct that allows per call changeable configuration. More... | |
Public Types | |
| using | ElementFactory |
| Type alias for detector element factory function. | |
| using | Geant4PassiveSurface = std::shared_ptr<Acts::Surface> |
| using | Geant4SensitiveSurface |
| Type alias for sensitive surface with detector element. | |
Public Member Functions | |
| Geant4DetectorSurfaceFactory ()=delete | |
| The Geant4 detector element factory. | |
| Geant4DetectorSurfaceFactory (const Config &config, std::unique_ptr< const Acts::Logger > mlogger=Acts::getDefaultLogger("Geant4DetectorSurfaceFactory", Acts::Logging::INFO)) | |
| The Geant4 detector element factory with a configuration. | |
| void | construct (Cache &cache, const G4Transform3D &g4ToGlobal, const G4VPhysicalVolume &g4PhysVol, const Options &option) |
| Construction method of the detector elements. | |
A factory to convert Geant4 physical volumes into Geant4 detector elements.
Type alias for detector element factory function.
| using ActsPlugins::Geant4DetectorSurfaceFactory::Geant4PassiveSurface = std::shared_ptr<Acts::Surface> |
Type alias for sensitive surface with detector element.
|
delete |
The Geant4 detector element factory.
|
explicit |
The Geant4 detector element factory with a configuration.
| config | the configuration of the factory |
| mlogger | a screen output logger |
| void ActsPlugins::Geant4DetectorSurfaceFactory::construct | ( | Cache & | cache, |
| const G4Transform3D & | g4ToGlobal, | ||
| const G4VPhysicalVolume & | g4PhysVol, | ||
| const Options & | option ) |
Construction method of the detector elements.
| cache | [in,out] into which the Elements are filled |
| g4ToGlobal | the transformation to global |
| g4PhysVol | the current physical volume |
| option | the factory creation option |