|
ACTS
Experiment-independent tracking
|
Detector element representative for Geant4 sensitive elements. More...
#include <ActsPlugins/Geant4/Geant4DetectorElement.hpp>
Public Types | |
| using | ContextType = Acts::GeometryContext |
| Broadcast the context type. | |
Public Member Functions | |
| Geant4DetectorElement (std::shared_ptr< Acts::Surface > surface, const G4VPhysicalVolume &g4physVol, const Acts::Transform3 &toGlobal, double thickness) | |
| Constructor with arguments. | |
| const G4VPhysicalVolume & | g4PhysicalVolume () const |
| bool | isSensitive () const final |
| Is the detector element a sensitive element. | |
| const Acts::Transform3 & | localToGlobalTransform (const Acts::GeometryContext &gctx) const override |
| Return local to global transform associated with this detector element. | |
| const Acts::Surface & | surface () const override |
| Return surface associated with this detector element. | |
| Acts::Surface & | surface () override |
| Non-const access to surface associated with this detector element. | |
| virtual double | thickness () const |
| Return the thickness of this detector element. | |
| Public Member Functions inherited from Acts::SurfacePlacementBase | |
| virtual | ~SurfacePlacementBase ()=default |
| Virtual default constructor. | |
Detector element representative for Geant4 sensitive elements.
Broadcast the context type.
| ActsPlugins::Geant4DetectorElement::Geant4DetectorElement | ( | std::shared_ptr< Acts::Surface > | surface, |
| const G4VPhysicalVolume & | g4physVol, | ||
| const Acts::Transform3 & | toGlobal, | ||
| double | thickness ) |
Constructor with arguments.
| surface | the surface representing this detector element |
| g4physVol | the physical volume representing this detector element |
| toGlobal | the global transformation before the volume |
| thickness | the thickness of this detector element |
| const G4VPhysicalVolume & ActsPlugins::Geant4DetectorElement::g4PhysicalVolume | ( | ) | const |
|
finalvirtual |
Is the detector element a sensitive element.
Implements Acts::SurfacePlacementBase.
|
overridevirtual |
Return local to global transform associated with this detector element.
| gctx | The current geometry context object, e.g. alignment |
Implements Acts::SurfacePlacementBase.
|
overridevirtual |
Return surface associated with this detector element.
Implements Acts::SurfacePlacementBase.
|
overridevirtual |
Non-const access to surface associated with this detector element.
Implements Acts::SurfacePlacementBase.
|
virtual |
Return the thickness of this detector element.