more work on the deadtime correction on the msr-file side.

This commit is contained in:
2026-02-04 13:29:07 +01:00
parent b262ee33c5
commit da0b356e3b

View File

@@ -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;
} }