fixed a copy/paste error.

This commit is contained in:
2026-02-07 21:24:14 +01:00
parent 8cb4fc7221
commit 86ecfc84af

View File

@@ -4861,7 +4861,7 @@ Bool_t PRunDataHandler::WriteNexusFile(TString format, TString fln)
nxs->AddDataset<std::string>("/run/notes", {std::string("n/a")}, {1}, nxH4::H4DataType::CHAR8);
// set analysis
nxs->AddDataset<std::string>("/run/notes", {std::string("muonTD")}, {1}, nxH4::H4DataType::CHAR8);
nxs->AddDataset<std::string>("/run/analysis", {std::string("muonTD")}, {1}, nxH4::H4DataType::CHAR8);
// set lab
str = *fData[0].GetLaboratory();
@@ -5235,7 +5235,7 @@ Bool_t PRunDataHandler::WriteNexusFile(TString format, TString fln)
nxs->AddDataset<std::string>("/run/notes", {std::string("n/a")}, {1}, H5::StrType(H5::PredType::C_S1, H5T_VARIABLE));
// set analysis
nxs->AddDataset<std::string>("/run/notes", {std::string("muonTD")}, {1}, H5::StrType(H5::PredType::C_S1, H5T_VARIABLE));
nxs->AddDataset<std::string>("/run/analysis", {std::string("muonTD")}, {1}, H5::StrType(H5::PredType::C_S1, H5T_VARIABLE));
// set lab
str = *fData[0].GetLaboratory();