Class Acts::PlanarModuleStepper

class PlanarModuleStepper

Module for fast, geometric digitization this is a planar module stepper that calculates the step length in given segmentations and retrunes digitisation steps.

Public Functions

PlanarModuleStepper(std::unique_ptr<const Logger> mlogger = getDefaultLogger("PlanarModuleStepper", Logging::INFO))

Constructor.

Parameters

mlogger – is the logging istance

~PlanarModuleStepper() = default

Destructor.

std::vector<DigitizationStep> cellSteps(const GeometryContext &gctx, const DigitizationModule &dmodule, const Vector3 &startPoint, const Vector3 &endPoint) const

Calculate the steps caused by this track - full simulation interface.

Parameters
  • gctx – The current geometry context object, e.g. alignment

  • dmodule – is the digitization module

  • startPoint – is the starting position of the stepping

  • endPoint – is the end postion of the stepping

Returns

is the vector of digitization steps

std::vector<DigitizationStep> cellSteps(const GeometryContext &gctx, const DigitizationModule &dmodule, const Vector2 &moduleIntersection, const Vector3 &trackDirection) const

Calculate the steps caused by this track - fast simulation interface.

Parameters
  • gctx – The current geometry context object, e.g. alignment

  • dmodule – is the digitization module

  • moduleIntersection – is the 2d intersection at the module surface

  • trackDirection – is the track direction at the instersection

Returns

is the vector of digitization steps

inline void setLogger(std::unique_ptr<const Logger> logger)

Set logging instance.

Parameters

logger – is the logging instance to be set