Skip to content

ACTSFW-65 Possibility to read in BField from files and write it out

Julia Hrdinka requested to merge ACTSFW-65_BFieldReadAndWriter into master
  1. Introduces functions which can read in magnetic field maps from 'csv','txt' and 'root' file format and create a Acts::FieldMapper for 'xyz' and 'rz' coordinates.
  2. Introduces a writer which interpolates through a given Acts::InterpolatedBFieldMap and writes out the grid points and the corresponding BField coordinates into a 'root' file.
  3. Added root script which creates magnetic field maps (two dimensional 'TProfiles') with input given from the writer above
  4. Added example which can read in a file from a given file format and writes it out using the newly introduced writer. For the example boost::program_options have been introduced in order to make it most user friendly and flexible at the same time. Fixes ACTSFW-65.

Merge request reports