fixed typo

This commit is contained in:
suter_a 2012-03-22 12:17:19 +00:00
parent 6fcc0b25e5
commit 4f676cbab0
3 changed files with 4 additions and 4 deletions

View File

@ -1508,7 +1508,7 @@ Bool_t PRunDataHandler::ReadRootFile()
runData.SetTimeResolution(dval);
}
header->Get("RunInfo/RedGreen Offset", ivec, ok);
header->Get("RunInfo/RedGreen Offsets", ivec, ok);
if (ok) {
redGreenOffsets = ivec;
runData.SetRedGreenOffset(ivec);
@ -4053,7 +4053,7 @@ Bool_t PRunDataHandler::WriteMusrRootFile(TString fln)
dval[0] = fData[0].GetTimeResolution();
prop.Set("Time Resolution", dval[0], "ns");
header->Set("RunInfo/Time Resolution", prop);
header->Set("RunInfo/RedGreen Offset", fData[0].GetRedGreenOffset());
header->Set("RunInfo/RedGreen Offsets", fData[0].GetRedGreenOffset());
// feed DetectorInfo
Int_t histoNo = 0;

View File

@ -280,7 +280,7 @@ void TMusrRunHeader::Init(TString fileName)
Set("RunInfo/Time Resolution", prop);
vector<int> ivec;
ivec.push_back(0);
Set("RunInfo/RedGreen Offset", ivec);
Set("RunInfo/RedGreen Offsets", ivec);
Set("DetectorInfo/Detector001/Name", "n/a");
Set("DetectorInfo/Detector001/Histo Number", 0);

View File

@ -116,7 +116,7 @@ void analyticFakeData(const TString type)
vector<Int_t> ivec;
ivec.push_back(0);
ivec.push_back(20);
header->Set("RunInfo/RedGreen Offset", ivec);
header->Set("RunInfo/RedGreen Offsets", ivec);
offset = 1;
// 2nd write all the required DetectorInfo entries