|
27 | 27 | #include "Common/DataModel/PIDResponseTPC.h" |
28 | 28 | #include "Common/DataModel/TrackSelectionTables.h" |
29 | 29 |
|
| 30 | +#include "CommonConstants/MathConstants.h" |
30 | 31 | #include "CommonConstants/PhysicsConstants.h" |
31 | 32 | #include "Framework/AnalysisTask.h" |
32 | 33 | #include "Framework/HistogramRegistry.h" |
@@ -69,7 +70,7 @@ struct NeutronSkinTask { |
69 | 70 | 170.0, 180.0, 190.0, 200.0, 210.0, 220.0, 230.0, 240.0, 250.0, 260.0, |
70 | 71 | 270.0, 280.0, 290.0, 300.0}; |
71 | 72 |
|
72 | | - static constexpr double kChargeThreshold = 3.0; // PDG charge units: 3 = |e| |
| 73 | + static constexpr double ChargeThreshold = 3.0; // PDG charge units: 3 = |e| |
73 | 74 |
|
74 | 75 | // ========================================================================== |
75 | 76 | // THNSPARSE AXIS ENUMERATION |
@@ -107,7 +108,7 @@ struct NeutronSkinTask { |
107 | 108 | // ========================================================================== |
108 | 109 | ConfigurableAxis axisPt{"axisPt", std::vector<double>(PttJacek.begin(), PttJacek.end()), "pT axis"}; |
109 | 110 | ConfigurableAxis axisMultiplicity{"axisMultiplicity", {VARIABLE_WIDTH, 0, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100}, "multiplicity / centrality axis"}; |
110 | | - ConfigurableAxis axisPhi{"axisPhi", {40, 0, 2 * M_PI}, "phi axis (rad)"}; |
| 111 | + ConfigurableAxis axisPhi{"axisPhi", {40, 0, o2::constants::math::TwoPI}, "phi axis (rad)"}; |
111 | 112 |
|
112 | 113 | // Event cuts |
113 | 114 | Configurable<int> cfgAcceptSplitCollisions{"cfgAcceptSplitCollisions", 0, "0: only look at mcCollisions that are not split; 1: accept split mcCollisions, 2: accept split mcCollisions but only look at the first reco collision associated with it"}; |
@@ -330,7 +331,7 @@ struct NeutronSkinTask { |
330 | 331 | if (p != nullptr) { |
331 | 332 | charge = p->Charge(); |
332 | 333 | } |
333 | | - return std::abs(charge) >= kChargeThreshold; |
| 334 | + return std::abs(charge) >= ChargeThreshold; |
334 | 335 | } |
335 | 336 |
|
336 | 337 | // ========================================================================== |
|
0 commit comments