Skip to content

Commit

Permalink
clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
mlesch committed Nov 19, 2024
1 parent b5e744b commit 8949fb1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Modules/TPC/include/TPC/DCSPTempReductor.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ namespace o2::quality_control_modules::tpc
/// It produces a branch in the format:
/// "tempSensor[18]/F:tempSensorErr[18]:tempMeanPerSide[2]:tempMeanPerSideErr[2]:tempGradXPerSide[2]:tempGradXPerSideErr[2]:tempGradYPerSide[2]:tempGradYPerSideErr[2]"
/// tempSensor[i] is the raw sensor temperature for each of the 18 sensores
/// tempMeanPerSide[i] is the mean temperatue per TPC-Side (0: A-Side, 1: C-Side)
/// tempGradXPerSide[i] is the temperatue gradient in x direction per TPC-Side (0: A-Side, 1: C-Side)
/// tempGradYPerSide[i] is the temperatue gradient in y direction per TPC-Side (0: A-Side, 1: C-Side)
/// tempMeanPerSide[i] is the mean temperature per TPC-Side (0: A-Side, 1: C-Side)
/// tempGradXPerSide[i] is the temperature gradient in x direction per TPC-Side (0: A-Side, 1: C-Side)
/// tempGradYPerSide[i] is the temperature gradient in y direction per TPC-Side (0: A-Side, 1: C-Side)

class DCSPTempReductor : public quality_control::postprocessing::ReductorConditionAny
{
Expand All @@ -54,7 +54,7 @@ class DCSPTempReductor : public quality_control::postprocessing::ReductorConditi
Float_t tempGradXPerSide[2];
Float_t tempGradXPerSideErr[2]; // uncertainties

Float_t tempGradYPerSide[2]; // uncertainties
Float_t tempGradYPerSide[2];
Float_t tempGradYPerSideErr[2]; // uncertainties
} mStats;

Expand Down
8 changes: 4 additions & 4 deletions Modules/TPC/src/DCSPTempReductor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ bool DCSPTempReductor::update(ConditionRetriever& retriever)
std::vector<float> sideData[3]; // 0 mean, 1 gradX, 2 gradY

// A-Side
for (const auto& value : dcstemp->statsA.data) { // why is this loop needed
sideData[0].push_back(value.value.mean); // will not work with the loop above
for (const auto& value : dcstemp->statsA.data) {
sideData[0].push_back(value.value.mean);
sideData[1].push_back(value.value.gradX);
sideData[2].push_back(value.value.gradY);
}
Expand All @@ -64,8 +64,8 @@ bool DCSPTempReductor::update(ConditionRetriever& retriever)
}

// C-Side
for (const auto& value : dcstemp->statsC.data) { // why is this loop needed
sideData[0].push_back(value.value.mean); // will not work with the loop above
for (const auto& value : dcstemp->statsC.data) {
sideData[0].push_back(value.value.mean);
sideData[1].push_back(value.value.gradX);
sideData[2].push_back(value.value.gradY);
}
Expand Down

0 comments on commit 8949fb1

Please sign in to comment.