|
ACTS
Experiment-independent tracking
|
Detector element representative for GeoModel based sensitive elements. More...
Public Types | |
| using | ContextType = Acts::GeometryContext |
| Broadcast the context type. | |
Public Member Functions | |
| GeoModelDetectorElement ()=delete | |
| GeoModelDetectorElement (PVConstLink geoPhysVol, std::shared_ptr< Acts::Surface > surface, const Acts::Transform3 &sfTransform, double thickness) | |
| Constructor with arguments. | |
| const std::string & | databaseEntryName () const |
| Get the string identifier of the corresponding database entry Note: This is not by defnitition a unique identifier, there can be several detector elements created from a single database entry. | |
| 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 std::string & | logVolName () const |
| Get the name of the logical volume. | |
| const Acts::Transform3 & | nominalTransform () const |
| Return the nominal - non-contextual transform. | |
| PVConstLink | physicalVolume () const |
| void | setDatabaseEntryName (const std::string &n) |
| Set the corresponding database entry string. | |
| 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. | |
| double | thickness () const |
| Return the thickness of this detector element. | |
| Public Member Functions inherited from Acts::SurfacePlacementBase | |
| virtual | ~SurfacePlacementBase ()=default |
| Virtual default constructor. | |
Static Public Member Functions | |
| template<typename SurfaceType, typename BoundsType> | |
| static std::shared_ptr< GeoModelDetectorElement > | createDetectorElement (const PVConstLink &geoPhysVol, const std::shared_ptr< BoundsType > bounds, const Acts::Transform3 &sfTransform, double thickness) |
| Factory to create a planar detector element with connected surface. | |
Protected Member Functions | |
| void | attachSurface (std::shared_ptr< Acts::Surface > surface) |
| Attach a surface. | |
Detector element representative for GeoModel based sensitive elements.
Broadcast the context type.
|
delete |
| ActsPlugins::GeoModelDetectorElement::GeoModelDetectorElement | ( | PVConstLink | geoPhysVol, |
| std::shared_ptr< Acts::Surface > | surface, | ||
| const Acts::Transform3 & | sfTransform, | ||
| double | thickness ) |
Constructor with arguments.
| geoPhysVol | representing the physical volume |
| surface | the representing surface |
| sfTransform | the surface transform |
| thickness | the thickness of the detector element |
|
protected |
Attach a surface.
| surface | The surface to attach |
|
static |
Factory to create a planar detector element with connected surface.
| SurfaceType | the surface type |
| BoundsType | the bounds type |
| geoPhysVol | representing the physical volume |
| bounds | the bounds class |
| sfTransform | the surface transform |
| thickness | the thickness of the detector element |
| const std::string & ActsPlugins::GeoModelDetectorElement::databaseEntryName | ( | ) | const |
Get the string identifier of the corresponding database entry Note: This is not by defnitition a unique identifier, there can be several detector elements created from a single database entry.
|
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.
| const std::string & ActsPlugins::GeoModelDetectorElement::logVolName | ( | ) | const |
Get the name of the logical volume.
| const Acts::Transform3 & ActsPlugins::GeoModelDetectorElement::nominalTransform | ( | ) | const |
Return the nominal - non-contextual transform.
| PVConstLink ActsPlugins::GeoModelDetectorElement::physicalVolume | ( | ) | const |
| void ActsPlugins::GeoModelDetectorElement::setDatabaseEntryName | ( | const std::string & | n | ) |
Set the corresponding database entry string.
|
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.
| double ActsPlugins::GeoModelDetectorElement::thickness | ( | ) | const |
Return the thickness of this detector element.