|
47 | 47 | #include <Framework/OutputObjHeader.h> |
48 | 48 | #include <Framework/runDataProcessing.h> |
49 | 49 | #include <MathUtils/BetheBlochAleph.h> |
| 50 | +#include <ReconstructionDataFormats/PID.h> |
50 | 51 |
|
51 | 52 | #include <Math/GenVector/Boost.h> |
52 | | -#include <Math/Vector4D.h> |
| 53 | +#include <Math/GenVector/LorentzVector.h> |
| 54 | +#include <Math/GenVector/PxPyPzM4D.h> |
53 | 55 | #include <TH1.h> |
54 | 56 | #include <THnSparse.h> |
| 57 | +#include <TString.h> |
55 | 58 |
|
56 | | -#include <algorithm> |
57 | 59 | #include <array> |
58 | 60 | #include <cmath> |
59 | | -#include <cstdint> |
| 61 | +#include <cstddef> |
60 | 62 | #include <string> |
| 63 | +#include <utility> |
61 | 64 | #include <vector> |
62 | 65 |
|
63 | 66 | using namespace o2; |
@@ -205,7 +208,7 @@ struct PiDeFemtoSystematics { |
205 | 208 |
|
206 | 209 | HistogramRegistry registry{"PiDeFemtoSystematics", {}, OutputObjHandlingPolicy::AnalysisObject, false, true}; |
207 | 210 |
|
208 | | - Service<o2::ccdb::BasicCCDBManager> ccdb; |
| 211 | + Service<o2::ccdb::BasicCCDBManager> ccdb{}; |
209 | 212 | Zorro zorro; |
210 | 213 | OutputObj<ZorroSummary> zorroSummary{"zorroSummary"}; |
211 | 214 | o2::vertexing::DCAFitterN<2> pairFitter; |
@@ -376,7 +379,7 @@ struct PiDeFemtoSystematics { |
376 | 379 | registry.add("Config/hCutValues", "Configured cut values;cut;value", |
377 | 380 | HistType::kTH1D, {cutAxis}); |
378 | 381 | auto histogram = registry.get<TH1>(HIST("Config/hCutValues")); |
379 | | - for (size_t index = 0; index < cuts.size(); ++index) { |
| 382 | + for (std::size_t index = 0; index < cuts.size(); ++index) { |
380 | 383 | histogram->GetXaxis()->SetBinLabel(static_cast<int>(index) + 1, cuts[index].first.c_str()); |
381 | 384 | histogram->SetBinContent(static_cast<int>(index) + 1, cuts[index].second); |
382 | 385 | } |
@@ -761,7 +764,7 @@ struct PiDeFemtoSystematics { |
761 | 764 | pion.px(), pion.py(), pion.pz()}; |
762 | 765 | const float kstar = pairKstar(pionMomentum, deuteronMomentum); |
763 | 766 | const float mt = pairMT(pionMomentum, deuteronMomentum); |
764 | | - const float channel = static_cast<float>( |
| 767 | + const auto channel = static_cast<float>( |
765 | 768 | pairChannel(deuteron.sign(), pion.sign())); |
766 | 769 | if (mixedEvent) { |
767 | 770 | registry.fill(HIST("Pairs/hME"), kstar, mt, centrality, channel); |
|
0 commit comments