Skip to content

MagneticField: Start allowing position-dependent field values

Simon Spannagel requested to merge magfield into master

This extends Detector::getMagneticField() to Detector::getMagneticField(const ROOT::XYZPoint& local_pos) to allow position-dependent field values.

So far, still only constant fields are supported by the MagneticFieldReader.

We should check if this has a performance impact.

Edited by Simon Spannagel

Merge request reports