|
15 | 15 | //********************************************************************** |
16 | 16 |
|
17 | 17 | //********************************************************************** |
18 | | -// Nota bene: when using, do not check track.hasTOF! That conditional may not match |
19 | | -// the calculation of strangeness TOF, which requires e.g. a successful calculation |
| 18 | +// Nota bene: when using, do not check track.hasTOF! That conditional may not match |
| 19 | +// the calculation of strangeness TOF, which requires e.g. a successful calculation |
20 | 20 | // of the collision time for the reassociated collision |
21 | 21 | //********************************************************************** |
22 | 22 |
|
@@ -213,21 +213,21 @@ DECLARE_SOA_COLUMN(TOFNSigmaK0PiMinus, tofNSigmaK0PiMinus, float); //! negative |
213 | 213 |
|
214 | 214 | // dynamics to replace hasTOF (note: that condition does not match track hasTOF!) |
215 | 215 | // note: only single hypothesis check necessary; other hypotheses will always be valid |
216 | | -DECLARE_SOA_DYNAMIC_COLUMN(PositiveHasTOF, positiveHasTOF, //! positive daughter TOF calculation valid |
| 216 | +DECLARE_SOA_DYNAMIC_COLUMN(PositiveHasTOF, positiveHasTOF, //! positive daughter TOF calculation valid |
217 | 217 | [](float TOFNSigmaLaPr) -> bool { |
218 | | - bool returnStatus = true; |
219 | | - if(std::abs(TOFNSigmaLaPr - kNoTOFValue) < kEpsilon){ |
220 | | - returnStatus = false; |
221 | | - } |
222 | | - return returnStatus; |
| 218 | + bool returnStatus = true; |
| 219 | + if (std::abs(TOFNSigmaLaPr - kNoTOFValue) < kEpsilon) { |
| 220 | + returnStatus = false; |
| 221 | + } |
| 222 | + return returnStatus; |
223 | 223 | }); |
224 | | -DECLARE_SOA_DYNAMIC_COLUMN(NegativeHasTOF, negativeHasTOF, //! negative daughter TOF calculation valid |
| 224 | +DECLARE_SOA_DYNAMIC_COLUMN(NegativeHasTOF, negativeHasTOF, //! negative daughter TOF calculation valid |
225 | 225 | [](float TOFNSigmaALaPr) -> bool { |
226 | | - bool returnStatus = true; |
227 | | - if(std::abs(TOFNSigmaALaPr - kNoTOFValue) < kEpsilon){ |
228 | | - returnStatus = false; |
229 | | - } |
230 | | - return returnStatus; |
| 226 | + bool returnStatus = true; |
| 227 | + if (std::abs(TOFNSigmaALaPr - kNoTOFValue) < kEpsilon) { |
| 228 | + returnStatus = false; |
| 229 | + } |
| 230 | + return returnStatus; |
231 | 231 | }); |
232 | 232 |
|
233 | 233 | // dynamics based on n-sigmas with use-only-if-tof-present logic |
@@ -356,31 +356,30 @@ DECLARE_SOA_COLUMN(TOFNSigmaOmKa, tofNSigmaOmKa, float); //! bachelor track |
356 | 356 |
|
357 | 357 | // dynamics to replace hasTOF (note: that condition does not match track hasTOF!) |
358 | 358 | // note: only single hypothesis check necessary; other hypotheses will always be valid |
359 | | -DECLARE_SOA_DYNAMIC_COLUMN(PositiveHasTOF, positiveHasTOF, //! positive daughter TOF calculation valid |
| 359 | +DECLARE_SOA_DYNAMIC_COLUMN(PositiveHasTOF, positiveHasTOF, //! positive daughter TOF calculation valid |
360 | 360 | [](float PosTOFDeltaTXiPr) -> bool { |
361 | | - bool returnStatus = true; |
362 | | - if(std::abs(PosTOFDeltaTXiPr - kNoTOFValue) < kEpsilon){ |
363 | | - returnStatus = false; |
364 | | - } |
365 | | - return returnStatus; |
| 361 | + bool returnStatus = true; |
| 362 | + if (std::abs(PosTOFDeltaTXiPr - kNoTOFValue) < kEpsilon) { |
| 363 | + returnStatus = false; |
| 364 | + } |
| 365 | + return returnStatus; |
366 | 366 | }); |
367 | | -DECLARE_SOA_DYNAMIC_COLUMN(NegativeHasTOF, negativeHasTOF, //! positive daughter TOF calculation valid |
| 367 | +DECLARE_SOA_DYNAMIC_COLUMN(NegativeHasTOF, negativeHasTOF, //! positive daughter TOF calculation valid |
368 | 368 | [](float NegTOFDeltaTXiPr) -> bool { |
369 | | - bool returnStatus = true; |
370 | | - if(std::abs(NegTOFDeltaTXiPr - kNoTOFValue) < kEpsilon){ |
371 | | - returnStatus = false; |
372 | | - } |
373 | | - return returnStatus; |
| 369 | + bool returnStatus = true; |
| 370 | + if (std::abs(NegTOFDeltaTXiPr - kNoTOFValue) < kEpsilon) { |
| 371 | + returnStatus = false; |
| 372 | + } |
| 373 | + return returnStatus; |
374 | 374 | }); |
375 | | -DECLARE_SOA_DYNAMIC_COLUMN(BachelorHasTOF, bachelorHasTOF, //! bachelor daughter TOF calculation valid |
| 375 | +DECLARE_SOA_DYNAMIC_COLUMN(BachelorHasTOF, bachelorHasTOF, //! bachelor daughter TOF calculation valid |
376 | 376 | [](float BachTOFDeltaTXiPi) -> bool { |
377 | | - bool returnStatus = true; |
378 | | - if(std::abs(BachTOFDeltaTXiPi - kNoTOFValue) < kEpsilon){ |
379 | | - returnStatus = false; |
380 | | - } |
381 | | - return returnStatus; |
| 377 | + bool returnStatus = true; |
| 378 | + if (std::abs(BachTOFDeltaTXiPi - kNoTOFValue) < kEpsilon) { |
| 379 | + returnStatus = false; |
| 380 | + } |
| 381 | + return returnStatus; |
382 | 382 | }); |
383 | | - |
384 | 383 |
|
385 | 384 | // dynamics based on n-sigmas with use-only-if-tof-present logic |
386 | 385 | DECLARE_SOA_DYNAMIC_COLUMN(TofXiCompatibility, tofXiCompatibility, //! compatibility with being lambda, checked only if TOF present. Argument: number of sigmas |
|
0 commit comments