Skip to content

Reduce template parameters in vertexing

Bastian Schlag requested to merge ReduceLinearizerTemplateArguments into master
  • Introduces a NullBField which always returns Vector3D::Zero(), exposed as BField_t of StraightLineStepper.
  • Removes the BField_t template parameter from HelicalTrackLinearizer which retrieves the type now instead as Propagator_t::Stepper::BField. Cases where no bfield is present are treated accordingly through the StraightLineStepper magnetic field type NullBField.
  • Also replaces the action_list_t and aborter_list_t template parameters by the single template parameter propagator_options_t.
  • Additionally: Same for ImpactPoint3dEstimator where the BField_t can now also be retrieved as Propagator_t::Stepper::BField.
Edited by Bastian Schlag

Merge request reports