|
ACTS
Experiment-independent tracking
|
DetectorElement plugin for ROOT TGeo shapes. More...
#include <ActsPlugins/Root/TGeoDetectorElement.hpp>
Public Types | |
| using | ContextType = Acts::GeometryContext |
| Broadcast the context type. | |
| using | Identifier = identifier_type |
| using | identifier_diff = long long |
| using | identifier_type = unsigned long long |
Public Member Functions | |
| TGeoDetectorElement (const Identifier &identifier, const TGeoNode &tGeoNode, const Acts::Transform3 &tgTransform, const std::shared_ptr< const Acts::DiscBounds > &tgBounds, double tgThickness=0.) | |
| Constructor with pre-computed disk surface. | |
| TGeoDetectorElement (const Identifier &identifier, const TGeoNode &tGeoNode, const Acts::Transform3 &tgTransform, const std::shared_ptr< const Acts::PlanarBounds > &tgBounds, double tgThickness=0.) | |
| Constructor with pre-computed surface. | |
| TGeoDetectorElement (const Identifier &identifier, const TGeoNode &tGeoNode, const TGeoMatrix &tGeoMatrix=TGeoIdentity(), const std::string &axes="XYZ", double scalor=10., std::shared_ptr< const Acts::ISurfaceMaterial > material=nullptr) | |
| Constructor. | |
| ~TGeoDetectorElement () override | |
| Identifier | identifier () const |
| Get the detector element identifier. | |
| 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 identifier. | |
| const Acts::Transform3 & | nominalTransform () const |
| Return the nominal - non-contextual transform. | |
| const Acts::Surface & | surface () const override |
| Return surface associated with this detector element. | |
| Acts::Surface & | surface () override |
| Return surface associated with this detector element. | |
| const TGeoNode & | tgeoNode () const |
| Return the TGeoNode for back navigation. | |
| double | thickness () const |
| Returns the thickness of the module. | |
| Public Member Functions inherited from Acts::SurfacePlacementBase | |
| virtual | ~SurfacePlacementBase ()=default |
| Virtual default constructor. | |
DetectorElement plugin for ROOT TGeo shapes.
Added possibility to hand over transformation matrix.
Broadcast the context type.
| using ActsPlugins::TGeoDetectorElement::identifier_diff = long long |
| using ActsPlugins::TGeoDetectorElement::identifier_type = unsigned long long |
| ActsPlugins::TGeoDetectorElement::TGeoDetectorElement | ( | const Identifier & | identifier, |
| const TGeoNode & | tGeoNode, | ||
| const TGeoMatrix & | tGeoMatrix = TGeoIdentity(), | ||
| const std::string & | axes = "XYZ", | ||
| double | scalor = 10., | ||
| std::shared_ptr< const Acts::ISurfaceMaterial > | material = nullptr ) |
Constructor.
| identifier | is the detector identifier |
| tGeoNode | is the TGeoNode which should be represented |
| tGeoMatrix | The Matrix to global (i.e. ACTS transform) |
| axes | is the axis orientation with respect to the tracking frame it is a string of the three characters x, y and z (standing for the three axes) there is a distinction between capital and lower case characters :
|
| scalor | is the scale factor for unit conversion if needed |
TGeoTubeSeg should be translated to a disc surface. Per default it will be translated into a cylindrical surface. | material | Possible material of detector element |
| ActsPlugins::TGeoDetectorElement::TGeoDetectorElement | ( | const Identifier & | identifier, |
| const TGeoNode & | tGeoNode, | ||
| const Acts::Transform3 & | tgTransform, | ||
| const std::shared_ptr< const Acts::PlanarBounds > & | tgBounds, | ||
| double | tgThickness = 0. ) |
Constructor with pre-computed surface.
| identifier | is the detector identifier |
| tGeoNode | is the TGeoNode which should be represented |
| tgTransform | the transform of this detector element |
| tgBounds | the bounds of this surface |
| tgThickness | the thickness of this detector element |
| ActsPlugins::TGeoDetectorElement::TGeoDetectorElement | ( | const Identifier & | identifier, |
| const TGeoNode & | tGeoNode, | ||
| const Acts::Transform3 & | tgTransform, | ||
| const std::shared_ptr< const Acts::DiscBounds > & | tgBounds, | ||
| double | tgThickness = 0. ) |
Constructor with pre-computed disk surface.
| identifier | is the detector identifier |
| tGeoNode | is the TGeoNode which should be represented |
| tgTransform | the transform of this detector element |
| tgBounds | the bounds of this surface |
| tgThickness | the thickness of this detector element |
|
override |
|
finalvirtual |
Is the detector element a sensitive element.
Implements Acts::SurfacePlacementBase.
| const Acts::Transform3 & ActsPlugins::TGeoDetectorElement::nominalTransform | ( | ) | const |
Return the nominal - non-contextual transform.
| const TGeoNode & ActsPlugins::TGeoDetectorElement::tgeoNode | ( | ) | const |
Return the TGeoNode for back navigation.