added code to get WKM ascii file format backward compatibility

This commit is contained in:
nemu
2009-01-27 12:15:56 +00:00
parent 1307a37db4
commit 93abe979ba
6 changed files with 117 additions and 48 deletions

View File

@ -97,7 +97,7 @@ bool msr2msr_run(char *str)
if (run.Contains("NEMU")) {
ostr[0] = dynamic_cast<TObjString*>(tokens->At(1)); // file name
sprintf(str, "RUN %s MUE4 PSI NEMU (name beamline institute data-file-format)", ostr[0]->GetString().Data());
sprintf(str, "RUN %s MUE4 PSI WKM (name beamline institute data-file-format)", ostr[0]->GetString().Data());
} else if (run.Contains("PSI")) {
ostr[0] = dynamic_cast<TObjString*>(tokens->At(1)); // file name
ostr[1] = dynamic_cast<TObjString*>(tokens->At(2)); // beamline