Closed ricleal closed 9 years ago
I created an XMLHandler and I hope that others use it rather than duplicate code in the algorithms:
Framework/DataHandling/inc/MantidDataHandling/XmlHandler.h
Framework/DataHandling/src/XmlHandler.cpp
I added a few new properties: total detector distance and detector to silicon window distance. According to Lisa, the distance to use is:
total_sample_detector_distance = sample_detector_distance + sample_detector_distance_offset + sample_si_window_distance
The DataHandlingTest_LoadSpice2dTest ensures all this.
Note that detector is still moved to sample_detector_distance! Just for back compatibility with BioSans... I guess they don't use the sample_si_window_distance.
The output workspace should include all the metdata from the XML file in the form of XPath. Something like: