|
27 | 27 | #include <Framework/InitContext.h> |
28 | 28 | #include <Framework/OutputObjHeader.h> |
29 | 29 | #include <Framework/runDataProcessing.h> |
| 30 | +#include <Framework/O2DatabasePDG.h> |
30 | 31 |
|
31 | 32 | #include <TCollection.h> |
32 | 33 | #include <TFile.h> |
@@ -312,7 +313,7 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam |
312 | 313 | // *) For mc event only |
313 | 314 | if constexpr (rm == eMc) { |
314 | 315 | // TDatabasePDG *db= TDatabasePDG::Instance(); |
315 | | - TParticlePDG* particle = db->GetParticle(track.pdgCode()); |
| 316 | + TParticlePDG* particle = pdg->GetParticle(track.pdgCode()); |
316 | 317 |
|
317 | 318 | if (!particle) { |
318 | 319 | // LOGF(warning, "PDG code %d not found", track.pdgCode()); |
@@ -962,9 +963,9 @@ struct MultiparticleCumulants { // this name is used in lower-case format to nam |
962 | 963 | wt.fWeightHistogramsList->SetOwner(kTRUE); |
963 | 964 | fBaseList->Add(wt.fWeightHistogramsList); |
964 | 965 |
|
965 | | - std::vector<Configurable<std::vector<float>>> lPcBins = {cfPtBins, cfPhiBins}; |
966 | | - std::vector<Configurable<std::vector<float>>> lEvBins = {cfCentBins, cfMultBins, cfVerXBins, cfVerYBins, cfVerZBins, cfNumContribBins}; |
967 | | - std::vector<Configurable<std::vector<float>>> lQABins = {cfCentBins, cfMultBins, cfNumContribBins}; |
| 966 | + std::vector<Configurable<std::vector<float>>> lPcBins = {tc.PtBins, tc.PhiBins}; |
| 967 | + std::vector<Configurable<std::vector<float>>> lEvBins = {tc.CentBins, tc.MultBins, tc.VerXBins, tc.VerYBins, tc.VerZBins, tc.NumContribBins}; |
| 968 | + std::vector<Configurable<std::vector<float>>> lQABins = {tc.CentBins, tc.MultBins, tc.NumContribBins}; |
968 | 969 |
|
969 | 970 | BookParticleHistograms<ePt>(lPcBins, pc); |
970 | 971 | BookParticleHistograms<ePhi>(lPcBins, pc); |
|
0 commit comments