, etc : Add function to decode/encode generator

Akiya Miyamoto requested to merge amiyamot/ILCDIRAC:opt2017_genfile into Rel-v26r0

Hi, Andre,

This MR is to use stdhepsplit in
To this end, a generator file name convention is newly defined in Core/Utilities/ Additionally, Core/Utilities/ is now assumes input is a generator file, if the first character of file name is "E". It returns the input file name, if the first character is neither "s", "r" nor "E". Previously, it returned an empty string, if neither "r" nor "s".

regards Akiya

Merge request reports