Skip to content

Commit ae3bc77

Browse files
committed
Please consider the following formatting changes
1 parent ada7ac3 commit ae3bc77

File tree

4 files changed

+46
-46
lines changed

4 files changed

+46
-46
lines changed

Common/LegacyDataQA/otfv0qa.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ struct OTFV0Qa {
4444
ConfigurableAxis axisNCandidates{"axisNCandidates", {500, 0, 500}, "Number of OTF v0s"};
4545
ConfigurableAxis axisPosition{"axisPosition", {1000, -100, 100}, "position (cm)"};
4646
ConfigurableAxis axisMass{"axisMass", {100, 0.0f, 1.0f}, "Mass (GeV/c2)"};
47-
47+
4848
void init(InitContext&)
4949
{
5050
const AxisSpec axisPVz{30, -15, 15, "Primary vertex Z (cm)"};
@@ -62,7 +62,7 @@ struct OTFV0Qa {
6262
histos.fill(HIST("hCandidates"), v0s.size());
6363
for (auto const& v0 : v0s) {
6464
histos.fill(HIST("hGammaMass"), v0.mass());
65-
if(v0.mass()<maxGammaMassForXYplot){
65+
if (v0.mass() < maxGammaMassForXYplot) {
6666
histos.fill(HIST("h2dPosition"), v0.x(), v0.y());
6767
}
6868
}

Common/LegacyDataQA/tpcpidqa.cxx

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111
//
12-
// This task converts tiny PID tables into full PID tables.
13-
// It is meant to be used with Run 2 converted data to maintain
14-
// full compatibility with any task that may subscribe to the Full
15-
// tables (at the cost of some memory consumption).
16-
// It is also able to produce very simple QA plots on the stored
17-
// quantities (optionally disabled for simplicity)
18-
//
12+
// This task converts tiny PID tables into full PID tables.
13+
// It is meant to be used with Run 2 converted data to maintain
14+
// full compatibility with any task that may subscribe to the Full
15+
// tables (at the cost of some memory consumption).
16+
// It is also able to produce very simple QA plots on the stored
17+
// quantities (optionally disabled for simplicity)
18+
//
1919
// Warning: expected resolution is NOT provided.
2020

2121
#include "Framework/runDataProcessing.h"
@@ -81,33 +81,33 @@ struct TpcPidQa {
8181
void process(tinyPidTracks const& tracks)
8282
{
8383
for (const auto& track : tracks) {
84-
if(mEnabledTables[kPidEl]){
85-
histos.fill(HIST("hNSigmaVsPTotEl"), track.p(), track.tpcNSigmaEl());
84+
if (mEnabledTables[kPidEl]) {
85+
histos.fill(HIST("hNSigmaVsPTotEl"), track.p(), track.tpcNSigmaEl());
86+
}
87+
if (mEnabledTables[kPidMu]) {
88+
histos.fill(HIST("hNSigmaVsPTotMu"), track.p(), track.tpcNSigmaMu());
89+
}
90+
if (mEnabledTables[kPidPi]) {
91+
histos.fill(HIST("hNSigmaVsPTotPi"), track.p(), track.tpcNSigmaPi());
92+
}
93+
if (mEnabledTables[kPidKa]) {
94+
histos.fill(HIST("hNSigmaVsPTotKa"), track.p(), track.tpcNSigmaKa());
8695
}
87-
if(mEnabledTables[kPidMu]){
88-
histos.fill(HIST("hNSigmaVsPTotMu"), track.p(), track.tpcNSigmaMu());
96+
if (mEnabledTables[kPidPr]) {
97+
histos.fill(HIST("hNSigmaVsPTotPr"), track.p(), track.tpcNSigmaPr());
8998
}
90-
if(mEnabledTables[kPidPi]){
91-
histos.fill(HIST("hNSigmaVsPTotPi"), track.p(), track.tpcNSigmaPi());
99+
if (mEnabledTables[kPidDe]) {
100+
histos.fill(HIST("hNSigmaVsPTotDe"), track.p(), track.tpcNSigmaDe());
92101
}
93-
if(mEnabledTables[kPidKa]){
94-
histos.fill(HIST("hNSigmaVsPTotKa"), track.p(), track.tpcNSigmaKa());
102+
if (mEnabledTables[kPidTr]) {
103+
histos.fill(HIST("hNSigmaVsPTotTr"), track.p(), track.tpcNSigmaTr());
95104
}
96-
if(mEnabledTables[kPidPr]){
97-
histos.fill(HIST("hNSigmaVsPTotPr"), track.p(), track.tpcNSigmaPr());
105+
if (mEnabledTables[kPidHe]) {
106+
histos.fill(HIST("hNSigmaVsPTotHe"), track.p(), track.tpcNSigmaHe());
98107
}
99-
if(mEnabledTables[kPidDe]){
100-
histos.fill(HIST("hNSigmaVsPTotDe"), track.p(), track.tpcNSigmaDe());
108+
if (mEnabledTables[kPidAl]) {
109+
histos.fill(HIST("hNSigmaVsPTotAl"), track.p(), track.tpcNSigmaAl());
101110
}
102-
if(mEnabledTables[kPidTr]){
103-
histos.fill(HIST("hNSigmaVsPTotTr"), track.p(), track.tpcNSigmaTr());
104-
}
105-
if(mEnabledTables[kPidHe]){
106-
histos.fill(HIST("hNSigmaVsPTotHe"), track.p(), track.tpcNSigmaHe());
107-
}
108-
if(mEnabledTables[kPidAl]){
109-
histos.fill(HIST("hNSigmaVsPTotAl"), track.p(), track.tpcNSigmaAl());
110-
}
111111
}
112112
}
113113
};

Common/TableProducer/Converters/run2TinyToFullPID.cxx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111
//
12-
// This task converts tiny PID tables into full PID tables.
13-
// It is meant to be used with Run 2 converted data to maintain
14-
// full compatibility with any task that may subscribe to the Full
15-
// tables (at the cost of some memory consumption).
16-
// It is also able to produce very simple QA plots on the stored
17-
// quantities (optionally disabled for simplicity)
18-
//
12+
// This task converts tiny PID tables into full PID tables.
13+
// It is meant to be used with Run 2 converted data to maintain
14+
// full compatibility with any task that may subscribe to the Full
15+
// tables (at the cost of some memory consumption).
16+
// It is also able to produce very simple QA plots on the stored
17+
// quantities (optionally disabled for simplicity)
18+
//
1919
// Warning: expected resolution is NOT provided.
2020

2121
#include "Framework/runDataProcessing.h"
@@ -109,10 +109,10 @@ struct Run2TinyToFullPID {
109109
break;
110110
case kPidHe:
111111
pidTPCFullHe.reserve(tracks.size());
112-
break;
112+
break;
113113
case kPidAl:
114114
pidTPCFullAl.reserve(tracks.size());
115-
break;
115+
break;
116116
default:
117117
LOG(fatal) << "Unknown table requested: " << i;
118118
break;
@@ -145,10 +145,10 @@ struct Run2TinyToFullPID {
145145
break;
146146
case kPidHe:
147147
pidTPCFullHe(0.0f, track.tpcNSigmaHe());
148-
break;
148+
break;
149149
case kPidAl:
150150
pidTPCFullAl(0.0f, track.tpcNSigmaAl());
151-
break;
151+
break;
152152
default:
153153
LOG(fatal) << "Unknown table requested: " << i;
154154
break;

Common/TableProducer/multiplicityTable.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ struct MultiplicityTable {
133133
TProfile* hVtxZFT0A;
134134
TProfile* hVtxZFT0C;
135135
TProfile* hVtxZFDDA;
136-
136+
137137
TProfile* hVtxZFDDC;
138138
TProfile* hVtxZNTracks;
139139
std::vector<int> mEnabledTables; // Vector of enabled tables
@@ -165,10 +165,10 @@ struct MultiplicityTable {
165165
auto& workflows = context.services().get<o2::framework::RunningWorkflowInfo const>();
166166
for (auto const& device : workflows.devices) {
167167
for (auto const& input : device.inputs) {
168-
//input.print();
169-
TString devNam = device.name.c_str();
170-
TString inBin = input.matcher.binding.c_str();
171-
//TString subSpec = input.matcher.subspec.c_str();
168+
// input.print();
169+
TString devNam = device.name.c_str();
170+
TString inBin = input.matcher.binding.c_str();
171+
// TString subSpec = input.matcher.subspec.c_str();
172172
LOGF(info, Form("device %s input binding %s subspec", devNam.Data(), inBin.Data()));
173173
}
174174
}

0 commit comments

Comments
 (0)