Closed redeboer closed 4 years ago
Note: there was an idea to allow the user to tell the Ascii::readData
function how to interpret the data file by feeding it a Kinematics
object (which contains the final state particles). Considering the remarks above, it's probably better to abandon that idea and to expect the user to supply a header in the data file.
Yeah the header solution is better. Are there any news on this?
The current
Ascii::readData
function can read Pawian-like momentum tuple files with and without a 'header' (see Doxygen comments for illustration of the format). However, there are a few issues with this:Pids: ...
would be better thanPid: ...
,Pid: ...
, etcPids: [211, 421, -411]
). But then we would need to use a real third-party parser, so that users can actually use real YAML syntax.To make matters more complicated, there is interest to have this header parser implemented in Pawian as well. Since the aim of this reader is to make comparison between the two frameworks more easy, decisions on this issue should be fine-tuned to each other.