|
9 | 9 | // granted to it by virtue of its status as an Intergovernmental Organization |
10 | 10 | // or submit itself to any jurisdiction. |
11 | 11 | // |
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 | +// |
19 | 19 | // Warning: expected resolution is NOT provided. |
20 | 20 |
|
21 | 21 | #include "Framework/runDataProcessing.h" |
@@ -81,33 +81,33 @@ struct TpcPidQa { |
81 | 81 | void process(tinyPidTracks const& tracks) |
82 | 82 | { |
83 | 83 | 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()); |
86 | 95 | } |
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()); |
89 | 98 | } |
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()); |
92 | 101 | } |
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()); |
95 | 104 | } |
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()); |
98 | 107 | } |
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()); |
101 | 110 | } |
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 | | - } |
111 | 111 | } |
112 | 112 | } |
113 | 113 | }; |
|
0 commit comments