fixed error in view_packing for single histo (wrong norm of the theory).
This commit is contained in:
parent
8d496a41c0
commit
5a00d49bbd
@ -6,6 +6,7 @@ changes since 0.14.0
|
|||||||
===================================
|
===================================
|
||||||
NEW 2015-02-23 implemented an average-per-data-set option for musrFT.
|
NEW 2015-02-23 implemented an average-per-data-set option for musrFT.
|
||||||
NEW 2015-02-21 add proper Mac icon to musredit
|
NEW 2015-02-21 add proper Mac icon to musredit
|
||||||
|
FIXED 2015-09-08 fixed error in view_packing for single histo (wrong norm of the theory).
|
||||||
FIXED 2015-09-04 minor change in Fourier-block output (PMsrHandler::WriteMsrLogFile
|
FIXED 2015-09-04 minor change in Fourier-block output (PMsrHandler::WriteMsrLogFile
|
||||||
and PMsrHandler::WriteMsrLogFile) to avoid truncated range labels.
|
and PMsrHandler::WriteMsrLogFile) to avoid truncated range labels.
|
||||||
FIXED 2015-06-30 changed setf/unsetf bug (PMsr2Data.cpp)
|
FIXED 2015-06-30 changed setf/unsetf bug (PMsr2Data.cpp)
|
||||||
|
@ -861,7 +861,7 @@ Bool_t PRunSingleHisto::PrepareRawViewData(PRawRunData* runData, const UInt_t hi
|
|||||||
if (fScaleN0AndBkg) {
|
if (fScaleN0AndBkg) {
|
||||||
dataNorm = 1.0/ (packing * (fTimeResolution * 1.0e3)); // fTimeResolution us->ns
|
dataNorm = 1.0/ (packing * (fTimeResolution * 1.0e3)); // fTimeResolution us->ns
|
||||||
} else if (!fScaleN0AndBkg && (fMsrInfo->GetMsrPlotList()->at(0).fViewPacking > 0)) {
|
} else if (!fScaleN0AndBkg && (fMsrInfo->GetMsrPlotList()->at(0).fViewPacking > 0)) {
|
||||||
theoryNorm = (Double_t)fMsrInfo->GetMsrPlotList()->at(0).fViewPacking/(Double_t)packing;
|
theoryNorm = (Double_t)fMsrInfo->GetMsrPlotList()->at(0).fViewPacking/(Double_t)fPacking;
|
||||||
}
|
}
|
||||||
|
|
||||||
// raw data, since PMusrCanvas is doing ranging etc.
|
// raw data, since PMusrCanvas is doing ranging etc.
|
||||||
@ -1052,7 +1052,7 @@ Bool_t PRunSingleHisto::PrepareViewData(PRawRunData* runData, const UInt_t histo
|
|||||||
if (fScaleN0AndBkg) {
|
if (fScaleN0AndBkg) {
|
||||||
dataNorm = 1.0/ (packing * (fTimeResolution * 1.0e3)); // fTimeResolution us->ns
|
dataNorm = 1.0/ (packing * (fTimeResolution * 1.0e3)); // fTimeResolution us->ns
|
||||||
} else if (!fScaleN0AndBkg && (fMsrInfo->GetMsrPlotList()->at(0).fViewPacking > 0)) {
|
} else if (!fScaleN0AndBkg && (fMsrInfo->GetMsrPlotList()->at(0).fViewPacking > 0)) {
|
||||||
theoryNorm = (Double_t)fMsrInfo->GetMsrPlotList()->at(0).fViewPacking/(Double_t)packing;
|
theoryNorm = (Double_t)fMsrInfo->GetMsrPlotList()->at(0).fViewPacking/(Double_t)fPacking;
|
||||||
}
|
}
|
||||||
|
|
||||||
// transform raw histo data. This is done the following way (for details see the manual):
|
// transform raw histo data. This is done the following way (for details see the manual):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user