Skip to content
Snippets Groups Projects
Commit d1763392 authored by Samuel Jones's avatar Samuel Jones
Browse files

Re #22705 Clang formatting

parent e254e7b8
No related branches found
No related tags found
No related merge requests found
...@@ -419,7 +419,8 @@ void LoadPSIMuonBin::assignOutputWorkspaceParticulars( ...@@ -419,7 +419,8 @@ void LoadPSIMuonBin::assignOutputWorkspaceParticulars(
logAlg->executeAsChildAlg(); logAlg->executeAsChildAlg();
// get scalar labels and set spectra accordingly // get scalar labels and set spectra accordingly
for (auto i = 0u; i < sizeof(m_header.scalars) / sizeof(*m_header.scalars); ++i) { for (auto i = 0u; i < sizeof(m_header.scalars) / sizeof(*m_header.scalars);
++i) {
if (m_header.labels_scalars[i] != "NONE") { if (m_header.labels_scalars[i] != "NONE") {
logAlg->setProperty("LogType", "String"); logAlg->setProperty("LogType", "String");
logAlg->setProperty("LogName", logAlg->setProperty("LogName",
...@@ -432,14 +433,15 @@ void LoadPSIMuonBin::assignOutputWorkspaceParticulars( ...@@ -432,14 +433,15 @@ void LoadPSIMuonBin::assignOutputWorkspaceParticulars(
} }
} }
//Orientation // Orientation
logAlg->setProperty("LogType", "String"); logAlg->setProperty("LogType", "String");
logAlg->setProperty("LogName", "Orientation"); logAlg->setProperty("LogName", "Orientation");
logAlg->setProperty("LogText", m_header.orientation); logAlg->setProperty("LogText", m_header.orientation);
logAlg->executeAsChildAlg(); logAlg->executeAsChildAlg();
//first good and last good // first good and last good
for(auto i = 0u; i < sizeof(m_header.firstGood) / sizeof(*m_header.firstGood); ++i){ for (auto i = 0u;
i < sizeof(m_header.firstGood) / sizeof(*m_header.firstGood); ++i) {
if (m_header.firstGood != 0) { if (m_header.firstGood != 0) {
logAlg->setProperty("LogType", "String"); logAlg->setProperty("LogType", "String");
logAlg->setProperty("LogName", "Spectra" + std::to_string(i) + logAlg->setProperty("LogName", "Spectra" + std::to_string(i) +
...@@ -451,7 +453,7 @@ void LoadPSIMuonBin::assignOutputWorkspaceParticulars( ...@@ -451,7 +453,7 @@ void LoadPSIMuonBin::assignOutputWorkspaceParticulars(
} }
} }
//total events // total events
logAlg->setProperty("LogType", "Number"); logAlg->setProperty("LogType", "Number");
logAlg->setProperty("LogName", "Total Number of Events"); logAlg->setProperty("LogName", "Total Number of Events");
logAlg->setProperty("LogText", m_header.totalEvents); logAlg->setProperty("LogText", m_header.totalEvents);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment