|
24 | 24 | #include "PWGEM/PhotonMeson/Utils/EventHistograms.h" |
25 | 25 | #include "PWGEM/PhotonMeson/Utils/MCUtilities.h" |
26 | 26 |
|
27 | | -#include "Common/Core/RecoDecay.h" |
| 27 | +#include "Common/DataModel/Centrality.h" |
28 | 28 |
|
29 | | -#include <CCDB/BasicCCDBManager.h> |
30 | 29 | #include <CommonConstants/MathConstants.h> |
| 30 | +#include <CommonConstants/PhysicsConstants.h> |
31 | 31 | #include <Framework/ASoA.h> |
32 | 32 | #include <Framework/ASoAHelpers.h> |
33 | 33 | #include <Framework/AnalysisDataModel.h> |
34 | | -#include <Framework/AnalysisHelpers.h> |
35 | 34 | #include <Framework/AnalysisTask.h> |
36 | 35 | #include <Framework/BinningPolicy.h> |
37 | 36 | #include <Framework/Concepts.h> |
|
59 | 58 | #include <cstddef> |
60 | 59 | #include <cstdint> |
61 | 60 | #include <cstdlib> |
| 61 | +#include <format> |
62 | 62 | #include <optional> |
63 | 63 | #include <string> |
64 | 64 | #include <string_view> |
@@ -428,7 +428,7 @@ struct TwoPhotonMcTask { |
428 | 428 | } |
429 | 429 | registry.add("PCMEMC/SameParticle/hLegEoverP", "cluster from a V0 leg: #it{E}_{cls}/#it{p}_{leg}", HistType::kTH2F, {{200, 0., 4., "#it{E}_{cls}/#it{p}_{leg}"}, axisPtLeg}); |
430 | 430 | for (const auto& [type, title] : {std::pair<std::string_view, std::string_view>{"Prim", "primary"}, {"Sec", "secondary"}}) { |
431 | | - auto hStatus = registry.add<TH2>(Form("PCMEMC/SameParticle/hLeg%sStatus", type.data()), Form("cluster from a V0 leg: leg among the matched %s tracks", title.data()), HistType::kTH2F, {axisStatus, axisPtLeg}); |
| 431 | + auto hStatus = registry.add<TH2>(std::format("PCMEMC/SameParticle/hLeg{}Status", type.data()).data(), std::format("cluster from a V0 leg: leg among the matched {} tracks", title.data()).data(), HistType::kTH2F, {axisStatus, axisPtLeg}); |
432 | 432 | for (std::size_t i = 0; i < StatusLabels.size(); ++i) { |
433 | 433 | hStatus->GetXaxis()->SetBinLabel(static_cast<int>(i) + 1, StatusLabels[i].data()); |
434 | 434 | } |
|
0 commit comments