working version which does not rely on ROOT. needs modern atom to work (e.g. Input_interfaces_atom_yaml)