|
ACTS
Experiment-independent tracking
|
The material validater is a tool that allows to record the material seen by a ray through a set of material surfaces. More...
#include <Acts/Material/MaterialValidater.hpp>
Classes | |
| struct | Config |
| Nested configuration struct. More... | |
Public Member Functions | |
| MaterialValidater (const Config &cfg, std::unique_ptr< const Logger > mlogger=getDefaultLogger("MaterialValidater", Logging::INFO)) | |
| Constructor. | |
| RecordedMaterialTrack | recordMaterial (const GeometryContext &gctx, const MagneticFieldContext &mctx, const Vector3 &position, const Vector3 &direction) const |
| Method to record the material along a ray. | |
The material validater is a tool that allows to record the material seen by a ray through a set of material surfaces.
It does uses a material assigner that can be either done using the propagator or a more sinmple trial and error intersection;
|
explicit |
Constructor.
| cfg | The configuration struct carrying the used tools |
| mlogger | The logging object |
| RecordedMaterialTrack Acts::MaterialValidater::recordMaterial | ( | const GeometryContext & | gctx, |
| const MagneticFieldContext & | mctx, | ||
| const Vector3 & | position, | ||
| const Vector3 & | direction ) const |
Method to record the material along a ray.
| gctx | the geometry context |
| mctx | the magnetic field context |
| position | the starting position of the ray |
| direction | the direction of the ray (unit vector) |