corrected time resolution for WKM from (ns) -> (us)
This commit is contained in:
parent
9e4f92173a
commit
507c36b4d8
@ -12,6 +12,7 @@ NEW any2many: an attempt to write the universial musr-data-file converter. Just
|
|||||||
NEW musrt0: added the possibility to show the t0 saved in the data file 's'. Furthermore added the option
|
NEW musrt0: added the possibility to show the t0 saved in the data file 's'. Furthermore added the option
|
||||||
--getT0FromPromptPeak, -g with <firstGoodBinOffset>: will, in non-interactive mode estimate the t0's from
|
--getT0FromPromptPeak, -g with <firstGoodBinOffset>: will, in non-interactive mode estimate the t0's from
|
||||||
the prompt peak and write it into the msr-file (MUSR-133).
|
the prompt peak and write it into the msr-file (MUSR-133).
|
||||||
|
FIXED corrected time resolution for WKM from (ns) -> (us)
|
||||||
FIXED the formating of fixed parameters (step=0) where wrongly formatted (connected to MUSR-167). This
|
FIXED the formating of fixed parameters (step=0) where wrongly formatted (connected to MUSR-167). This
|
||||||
should be done correctly now.
|
should be done correctly now.
|
||||||
FIXED for single histogram fits, the chisq given was wrong (not the fit-result though). I missed some needed scaling
|
FIXED for single histogram fits, the chisq given was wrong (not the fit-result though). I missed some needed scaling
|
||||||
|
@ -1360,7 +1360,7 @@ Bool_t PRunDataHandler::ReadWkmFile()
|
|||||||
StripWhitespace(line);
|
StripWhitespace(line);
|
||||||
dval = ToDouble(line, ok);
|
dval = ToDouble(line, ok);
|
||||||
if (ok)
|
if (ok)
|
||||||
runData.SetTimeResolution(dval);
|
runData.SetTimeResolution(dval*1.0e3); // us -> ns
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3271,7 +3271,7 @@ Bool_t PRunDataHandler::WriteWkmFile(TString fln)
|
|||||||
cout << endl << "Groups : " << fData[0].GetNoOfHistos();
|
cout << endl << "Groups : " << fData[0].GetNoOfHistos();
|
||||||
cout << endl << "Channels : " << static_cast<UInt_t>(fData[0].GetDataBin(0)->size()/fAny2ManyInfo->rebin);
|
cout << endl << "Channels : " << static_cast<UInt_t>(fData[0].GetDataBin(0)->size()/fAny2ManyInfo->rebin);
|
||||||
cout.precision(10);
|
cout.precision(10);
|
||||||
cout << endl << "Resolution : " << fData[0].GetTimeResolution()*fAny2ManyInfo->rebin;
|
cout << endl << "Resolution : " << fData[0].GetTimeResolution()*fAny2ManyInfo->rebin/1.0e3; // ns->us
|
||||||
cout.setf(ios::fixed,ios::floatfield); // floatfield set to fixed
|
cout.setf(ios::fixed,ios::floatfield); // floatfield set to fixed
|
||||||
|
|
||||||
// write data
|
// write data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user