option "title from data file" added to musrfit

This commit is contained in:
nemu
2009-06-25 14:15:00 +00:00
parent 2114c1670c
commit c8fc4a95fe
4 changed files with 29 additions and 14 deletions

View File

@@ -389,6 +389,10 @@ bool PRunDataHandler::ReadRootFile(bool notPostPileup)
return false;
}
// get run title
TObjString ostr = runHeader->GetRunTitle();
runData.fRunTitle = ostr.GetString();
// get temperature
runData.fTemp = runHeader->GetSampleTemperature();
@@ -490,7 +494,7 @@ bool PRunDataHandler::ReadRootFile(bool notPostPileup)
*/
bool PRunDataHandler::ReadNexusFile()
{
cout << endl << "PRunDataHandler::ReadNexusFile(): Sorry, not yet implemented ...";
cout << endl << "PRunDataHandler::ReadNexusFile(): Sorry, not yet implemented, ask Alex Amato ...";
return false;
}