Skip to content

Commit aae516d

Browse files
author
mlesch
committed
clean-up
1 parent 284bc90 commit aae516d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Modules/TPC/include/TPC/DCSPTempReductor.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ namespace o2::quality_control_modules::tpc
2929
/// It produces a branch in the format:
3030
/// "tempSensor[18]/F:tempSensorErr[18]:tempMeanPerSide[2]:tempMeanPerSideErr[2]:tempGradXPerSide[2]:tempGradXPerSideErr[2]:tempGradYPerSide[2]:tempGradYPerSideErr[2]"
3131
/// tempSensor[i] is the raw sensor temperature for each of the 18 sensores
32-
/// tempMeanPerSide[i] is the mean temperatue per TPC-Side (0: A-Side, 1: C-Side)
33-
/// tempGradXPerSide[i] is the temperatue gradient in x direction per TPC-Side (0: A-Side, 1: C-Side)
34-
/// tempGradYPerSide[i] is the temperatue gradient in y direction per TPC-Side (0: A-Side, 1: C-Side)
32+
/// tempMeanPerSide[i] is the mean temperature per TPC-Side (0: A-Side, 1: C-Side)
33+
/// tempGradXPerSide[i] is the temperature gradient in x direction per TPC-Side (0: A-Side, 1: C-Side)
34+
/// tempGradYPerSide[i] is the temperature gradient in y direction per TPC-Side (0: A-Side, 1: C-Side)
3535

3636
class DCSPTempReductor : public quality_control::postprocessing::ReductorConditionAny
3737
{
@@ -54,7 +54,7 @@ class DCSPTempReductor : public quality_control::postprocessing::ReductorConditi
5454
Float_t tempGradXPerSide[2];
5555
Float_t tempGradXPerSideErr[2]; // uncertainties
5656

57-
Float_t tempGradYPerSide[2]; // uncertainties
57+
Float_t tempGradYPerSide[2];
5858
Float_t tempGradYPerSideErr[2]; // uncertainties
5959
} mStats;
6060

Modules/TPC/src/DCSPTempReductor.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ bool DCSPTempReductor::update(ConditionRetriever& retriever)
4949
std::vector<float> sideData[3]; // 0 mean, 1 gradX, 2 gradY
5050

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

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

0 commit comments

Comments
 (0)