minor changes

This commit is contained in:
nemu
2008-05-14 14:47:38 +00:00
parent 0ee32cf526
commit fb8e96b2ee
2 changed files with 37 additions and 8 deletions

View File

@ -118,6 +118,7 @@ PRawRunData* PRunDataHandler::GetRunData(TString runName)
unsigned int i;
for (i=0; i<fData.size(); i++) {
cout << endl << ">> run name = " << fData[i].fRunName.Data();
if (!fData[i].fRunName.CompareTo(runName)) // run found
break;
}
@ -299,6 +300,7 @@ bool PRunDataHandler::FileExistsCheck(PMsrRunStructure &runInfo)
runInfo.fInstitute + TString("/") +
runInfo.fBeamline + TString("/") +
runInfo.fRunName + TString(".") + ext;
cout << endl << ">> generated path: " << str.Data() << endl;
if (gSystem->AccessPathName(str.Data())!=true) { // found
pathName = str;
break;
@ -798,7 +800,7 @@ bool PRunDataHandler::ReadMudFile()
// ReadAsciiFile
//--------------------------------------------------------------------------
/**
* <p>Reads ascii files. Intended for the No-muSR data.
* <p>Reads ascii files. Intended for the nonMuSR data.
*
* The file format definition is:
* Comment lines start with a '#' or '%' character.
@ -843,6 +845,8 @@ bool PRunDataHandler::ReadAsciiFile()
PRawRunData runData;
runData.fRunName = fRunName; // keep the run name
int lineNo = 0;
char instr[512];
TString line, workStr;