Class Acts::Experimental::Chi2Fitter::Actor

template<typename parameters_t>
class Actor

Propagator Actor plugin for the Chi2Fitter.

The Chi2Actor does not rely on the measurements to be sorted along the track.

Template Parameters

parameters_t – The type of parameters used for “local” parameters.

Public Types

using result_type = Chi2FitterResult<traj_t>

Broadcast the result_type.

Public Functions

inline const Logger &logger() const
template<typename propagator_state_t, typename stepper_t>
inline void materialInteractor(const Surface *surface, propagator_state_t &state, stepper_t &stepper, const MaterialUpdateStage &updateStage) const

Chi2Fitter actor operation : material interaction.

Template Parameters
  • propagator_state_t – is the type of Propagagor state

  • stepper_t – Type of the stepper

Parameters
  • surface – The surface where the material interaction happens

  • state – The mutable propagator state object

  • stepper – The stepper in use

  • updateStage – The materal update stage

template<typename propagator_state_t, typename stepper_t>
inline void operator()(propagator_state_t &state, const stepper_t &stepper, result_type &result, const Logger&) const

Chi square actor operation.

Template Parameters
  • propagator_state_t – is the type of Propagagor state

  • stepper_t – Type of the stepper

Parameters
  • state – is the mutable propagator state object

  • stepper – The stepper in use

  • result – is the mutable result state object

template<typename propagator_state_t, typename stepper_t>
inline Result<void> processSurface(const Surface *surface, propagator_state_t &state, const stepper_t &stepper, result_type &result) const

Chi2 actor operation: process surface.

Template Parameters
  • propagator_state_t – is the type of Propagator state

  • stepper_t – Type of the stepper

Parameters
  • surface – The surface where the update happens

  • state – The mutable propagator state object

  • stepper – The stepper in use

  • result – The mutable result state object

Public Members

const Logger *actorLogger = {nullptr}

A logger instance.

bool energyLoss = false

Whether to consider energy loss.

Chi2FitterExtensions<traj_t> extensions

Extension struct.

FreeToBoundCorrection freeToBoundCorrection

Whether to include non-linear correction during global to local transformation.

const std::map<GeometryIdentifier, std::reference_wrapper<const SourceLink>> *inputMeasurements = nullptr

Allows retrieving measurements for a surface.

bool multipleScattering = false

Whether to consider multiple scattering.

int updateNumber = -1