more work on the deadtime correction on the msr-file side.
This commit is contained in:
@@ -814,6 +814,10 @@ Int_t PMsrHandler::WriteMsrLogFile(const Bool_t messages)
|
|||||||
fout.width(16);
|
fout.width(16);
|
||||||
fout << std::left << "packing";
|
fout << std::left << "packing";
|
||||||
fout << fGlobal.GetPacking() << std::endl;
|
fout << fGlobal.GetPacking() << std::endl;
|
||||||
|
} else if (sstr.BeginsWith("deadtime-cor")) {
|
||||||
|
fout.width(16);
|
||||||
|
fout << std::left << "deadtime-cor";
|
||||||
|
fout << fGlobal.GetDeadTimeCorrection() << std::endl;
|
||||||
} else {
|
} else {
|
||||||
fout << str.Data() << std::endl;
|
fout << str.Data() << std::endl;
|
||||||
}
|
}
|
||||||
@@ -1157,6 +1161,10 @@ Int_t PMsrHandler::WriteMsrLogFile(const Bool_t messages)
|
|||||||
fout.width(16);
|
fout.width(16);
|
||||||
fout << std::left << "packing";
|
fout << std::left << "packing";
|
||||||
fout << fRuns[runNo].GetPacking() << std::endl;
|
fout << fRuns[runNo].GetPacking() << std::endl;
|
||||||
|
} else if (sstr.BeginsWith("deadtime-cor")) {
|
||||||
|
fout.width(16);
|
||||||
|
fout << std::left << "deadtime-cor";
|
||||||
|
fout << fRuns[runNo].GetDeadTimeCorrection() << std::endl;
|
||||||
} else {
|
} else {
|
||||||
fout << str.Data() << std::endl;
|
fout << str.Data() << std::endl;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user