![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Fatras/include/ActsFatras/Digitization/PlanarSurfaceDrift.hpp>
Public Types | |
| using | Segment2D = std::array< Acts::Vector2, 2 > |
| Shorthand for a 2D segment. | |
Public Member Functions | |
| Segment2D | toReadout (const Acts::GeometryContext &gctx, const Acts::Surface &surface, double thickness, const Acts::Vector3 &pos, const Acts::Vector3 &dir, const Acts::Vector3 &driftdir) const |
The PlanarSurfaceDrift takes an intersection in the nominal surface and projects the ends into the readout surface, which can be at : -1, 0, 1
A Lorentz drift angle can be applied.
Definition at line 26 of file PlanarSurfaceDrift.hpp.
View newest version in sPHENIX GitHub at line 26 of file PlanarSurfaceDrift.hpp
| using ActsFatras::PlanarSurfaceDrift::Segment2D = std::array<Acts::Vector2, 2> |
Shorthand for a 2D segment.
Definition at line 28 of file PlanarSurfaceDrift.hpp.
View newest version in sPHENIX GitHub at line 28 of file PlanarSurfaceDrift.hpp
| ActsFatras::PlanarSurfaceDrift::Segment2D ActsFatras::PlanarSurfaceDrift::toReadout | ( | const Acts::GeometryContext & | gctx, |
| const Acts::Surface & | surface, | ||
| double | thickness, | ||
| const Acts::Vector3 & | pos, | ||
| const Acts::Vector3 & | dir, | ||
| const Acts::Vector3 & | driftdir | ||
| ) | const |
Drift the full 3D segment onto a surface 2D readout plane
| gctx | The current Geometry context |
| surface | The nominal intersection surface |
| thickness | The emulated module/depletion thickness |
| pos | The position in global coordinates |
| dir | The direction in global coordinates |
| driftdir | The drift direction in local (surface) coordinates |
Definition at line 16 of file PlanarSurfaceDrift.cpp.
View newest version in sPHENIX GitHub at line 16 of file PlanarSurfaceDrift.cpp
References entry, Acts::Test::pos, Acts::VectorHelpers::theta(), and Acts::Surface::transform().
Referenced by ActsFatras::BOOST_AUTO_TEST_CASE().
Here is the call graph for this function:
Here is the caller graph for this function: