|
61 | 61 | #include <utility> |
62 | 62 | #include <vector> |
63 | 63 |
|
64 | | -#include <math.h> |
65 | | - |
66 | 64 | using namespace o2; |
67 | 65 | using namespace o2::framework; |
68 | 66 |
|
@@ -288,14 +286,13 @@ class ToTLUT |
288 | 286 | o2::ccdb::BasicCCDBManager* mCcdbManager = nullptr; |
289 | 287 | }; |
290 | 288 |
|
291 | | -static constexpr int kNumHypothesisParticles = 9; |
292 | | -std::array<std::array<std::shared_ptr<TH2>, kNumHypothesisParticles>, kNumHypothesisParticles> h2dBarrelNsigmaTrue; |
293 | | -std::array<std::shared_ptr<TH2>, kNumHypothesisParticles> h2dHitsPerTrackVsP; |
294 | | -std::array<std::shared_ptr<TH2>, kNumHypothesisParticles> h2dToTvsPperParticle; |
295 | | -std::array<std::shared_ptr<TH2>, kNumHypothesisParticles> h2dHitsPerTrackVsPLin; |
296 | | -std::array<std::shared_ptr<TH2>, kNumHypothesisParticles> h2dToTvsPperParticleLin; |
297 | | - |
298 | 289 | struct OnTheFlyTrackerPid { |
| 290 | + static constexpr int kNumHypothesisParticles = 9; |
| 291 | + std::array<std::array<std::shared_ptr<TH2>, kNumHypothesisParticles>, kNumHypothesisParticles> h2dBarrelNsigmaTrue; |
| 292 | + std::array<std::shared_ptr<TH2>, kNumHypothesisParticles> h2dHitsPerTrackVsP; |
| 293 | + std::array<std::shared_ptr<TH2>, kNumHypothesisParticles> h2dToTvsPperParticle; |
| 294 | + std::array<std::shared_ptr<TH2>, kNumHypothesisParticles> h2dHitsPerTrackVsPLin; |
| 295 | + std::array<std::shared_ptr<TH2>, kNumHypothesisParticles> h2dToTvsPperParticleLin; |
299 | 296 |
|
300 | 297 | float calculateNsigma(float measuredToT, float expectedToT, float resolution) |
301 | 298 | { |
|
0 commit comments