From 6d953945e1fa447810e0545bb4404c519defb533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= Date: Wed, 1 Nov 2023 15:42:34 +0100 Subject: [PATCH 1/8] RecoDecay: Remove getMassPDG --- Common/Core/RecoDecay.h | 62 ----------------------------------------- 1 file changed, 62 deletions(-) diff --git a/Common/Core/RecoDecay.h b/Common/Core/RecoDecay.h index ee1dd8dbb7e..3f582d7d140 100644 --- a/Common/Core/RecoDecay.h +++ b/Common/Core/RecoDecay.h @@ -518,61 +518,6 @@ class RecoDecay return maxNormDeltaIP; } - /// Adds particle mass in the list. - /// \param pdg PDG code - /// \param mass particle mass - static void addMassPDG(int pdg, double mass) - { - mListMass.push_back(std::make_tuple(pdg, mass)); - } - - /// Returns particle mass based on PDG code. - /// \param pdg PDG code - /// \return particle mass - static double getMassPDG(int pdg) - { - if (!mErrorShown) { - LOGF(error, "Function RecoDecay::getMassPDG is deprecated and will be removed soon."); - LOGF(error, "Please use the Mass function in the O2DatabasePDG service instead."); - LOGF(error, "See the example of usage in Tutorials/src/usingPDGService.cxx."); - mErrorShown = true; - } - // Try to get the particle mass from the list first. - for (const auto& particle : mListMass) { - if (std::get<0>(particle) == pdg) { - return std::get<1>(particle); - } - } - // Get the mass of the new particle and add it in the list. - double mass = 0.; - switch (pdg) { - // Particles that cannot be taken from ROOT ($ROOTSYS/etc/pdg_table.txt) - case 4422: { // Ξcc (wrong mass in ROOT) - mass = 3.62155; // https://pdg.lbl.gov/ (2021) - break; - } - case 9920443: { // χc1 aka X(3872) - mass = 3.87165; // https://pdg.lbl.gov/ (2021) - break; - } - case 4332: { // Ω0c (wrong mass in ROOT) - mass = 2.6952; // https://pdg.lbl.gov/ (2022) - break; - } - // Take the rest from ROOT. - default: { - const TParticlePDG* particle = TDatabasePDG::Instance()->GetParticle(pdg); - if (!particle) { // Check that it's there. - LOGF(fatal, "Cannot find particle mass for PDG code %i", pdg); - return 999.; - } - mass = particle->Mass(); - } - } - addMassPDG(pdg, mass); - return mass; - } - /// Finds the mother of an MC particle by looking for the expected PDG code in the mother chain. /// \param particlesMC table with MC particles /// \param particle MC particle @@ -999,13 +944,6 @@ class RecoDecay } return OriginType::None; } - - private: - static std::vector> mListMass; ///< list of particle masses in form (PDG code, mass) - static bool mErrorShown; }; -std::vector> RecoDecay::mListMass; -bool RecoDecay::mErrorShown = false; - #endif // COMMON_CORE_RECODECAY_H_ From 7e98af83d2f12677dd00ece4c11ed389ed7f7786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= Date: Wed, 1 Nov 2023 18:19:03 +0100 Subject: [PATCH 2/8] Remove unnecessary includes --- ALICE3/TableProducer/OTF/onTheFlyRICHPID.cxx | 3 +++ ALICE3/TableProducer/OTF/onTheFlyTOFPID.cxx | 3 +++ Common/Core/RecoDecay.h | 12 ++++++------ PWGCF/FemtoDream/FemtoDreamV0Selection.h | 4 +++- PWGCF/FemtoUniverse/Core/FemtoUniversePhiSelection.h | 8 +++++--- PWGCF/FemtoUniverse/Core/FemtoUniverseV0Selection.h | 4 +++- .../TableProducer/femtoUniverseProducerTask.cxx | 6 ++++-- PWGCF/FemtoWorld/Core/FemtoWorldPhiSelection.h | 12 +++++++----- .../TableProducer/femtoWorldProducerTask.cxx | 10 ++++++---- PWGHF/TableProducer/candidateCreator2Prong.cxx | 2 ++ PWGHF/TableProducer/candidateCreator3Prong.cxx | 2 ++ PWGHF/TableProducer/candidateCreatorCascade.cxx | 2 ++ Tools/KFparticle/KFUtilities.h | 8 +++++--- 13 files changed, 51 insertions(+), 25 deletions(-) diff --git a/ALICE3/TableProducer/OTF/onTheFlyRICHPID.cxx b/ALICE3/TableProducer/OTF/onTheFlyRICHPID.cxx index 82090899472..615883931f5 100644 --- a/ALICE3/TableProducer/OTF/onTheFlyRICHPID.cxx +++ b/ALICE3/TableProducer/OTF/onTheFlyRICHPID.cxx @@ -15,6 +15,9 @@ #include #include + +#include + #include "Framework/AnalysisDataModel.h" #include "Framework/AnalysisTask.h" #include "Framework/runDataProcessing.h" diff --git a/ALICE3/TableProducer/OTF/onTheFlyTOFPID.cxx b/ALICE3/TableProducer/OTF/onTheFlyTOFPID.cxx index f9d0aa4cb7e..ed1913420d5 100644 --- a/ALICE3/TableProducer/OTF/onTheFlyTOFPID.cxx +++ b/ALICE3/TableProducer/OTF/onTheFlyTOFPID.cxx @@ -14,6 +14,9 @@ // #include + +#include + #include "Framework/AnalysisDataModel.h" #include "Framework/AnalysisTask.h" #include "Framework/runDataProcessing.h" diff --git a/Common/Core/RecoDecay.h b/Common/Core/RecoDecay.h index 3f582d7d140..37407d56285 100644 --- a/Common/Core/RecoDecay.h +++ b/Common/Core/RecoDecay.h @@ -17,17 +17,17 @@ #ifndef COMMON_CORE_RECODECAY_H_ #define COMMON_CORE_RECODECAY_H_ -#include +// #include #include #include -#include -#include +// #include +// #include -#include -#include +// #include +// #include #include "CommonConstants/MathConstants.h" -#include "Framework/Logger.h" +// #include "Framework/Logger.h" /// Base class for calculating properties of reconstructed decays /// diff --git a/PWGCF/FemtoDream/FemtoDreamV0Selection.h b/PWGCF/FemtoDream/FemtoDreamV0Selection.h index a347b75b820..b23aec5a4e9 100644 --- a/PWGCF/FemtoDream/FemtoDreamV0Selection.h +++ b/PWGCF/FemtoDream/FemtoDreamV0Selection.h @@ -22,6 +22,8 @@ #include #include +#include + #include "FemtoDreamObjectSelection.h" #include "FemtoDreamSelection.h" #include "FemtoDreamTrackSelection.h" @@ -555,7 +557,7 @@ std::array cutContainerType output = 0; size_t counter = 0; - auto lambdaMassNominal = TDatabasePDG::Instance()->GetParticle(3122)->Mass(); + auto lambdaMassNominal = TDatabasePDG::Instance()->GetParticle(3122)->Mass(); // FIXME: Get from the common header auto lambdaMassHypothesis = v0.mLambda(); auto antiLambdaMassHypothesis = v0.mAntiLambda(); auto diffLambda = abs(lambdaMassNominal - lambdaMassHypothesis); diff --git a/PWGCF/FemtoUniverse/Core/FemtoUniversePhiSelection.h b/PWGCF/FemtoUniverse/Core/FemtoUniversePhiSelection.h index 1b028579ed2..4042e2b71c8 100644 --- a/PWGCF/FemtoUniverse/Core/FemtoUniversePhiSelection.h +++ b/PWGCF/FemtoUniverse/Core/FemtoUniversePhiSelection.h @@ -23,6 +23,8 @@ #include #include +#include + #include "PWGCF/FemtoUniverse/Core/FemtoUniverseObjectSelection.h" #include "PWGCF/FemtoUniverse/Core/FemtoUniverseSelection.h" #include "PWGCF/FemtoUniverse/Core/FemtoUniverseTrackSelection.h" @@ -533,7 +535,7 @@ std::array cutContainerType output = 0; size_t counter = 0; - auto lambdaMassNominal = TDatabasePDG::Instance()->GetParticle(3122)->Mass(); + auto lambdaMassNominal = TDatabasePDG::Instance()->GetParticle(3122)->Mass(); // FIXME: Get from the common header auto lambdaMassHypothesis = phi.mLambda(); auto antiLambdaMassHypothesis = phi.mAntiLambda(); auto diffLambda = abs(lambdaMassNominal - lambdaMassHypothesis); @@ -623,8 +625,8 @@ void FemtoUniversePhiSelection::fillQA(C const& col, V const& phi, T const& posT if (mHistogramRegistry) { TLorentzVector part1Vec; TLorentzVector part2Vec; - float mMassOne = TDatabasePDG::Instance()->GetParticle(321)->Mass(); - float mMassTwo = TDatabasePDG::Instance()->GetParticle(321)->Mass(); + float mMassOne = TDatabasePDG::Instance()->GetParticle(321)->Mass(); // FIXME: Get from the common header + float mMassTwo = TDatabasePDG::Instance()->GetParticle(321)->Mass(); // FIXME: Get from the common header part1Vec.SetPtEtaPhiM(posTrack.pt(), posTrack.eta(), posTrack.phi(), mMassOne); part2Vec.SetPtEtaPhiM(negTrack.pt(), negTrack.eta(), negTrack.phi(), mMassTwo); diff --git a/PWGCF/FemtoUniverse/Core/FemtoUniverseV0Selection.h b/PWGCF/FemtoUniverse/Core/FemtoUniverseV0Selection.h index 0389624d534..6a506d070e3 100644 --- a/PWGCF/FemtoUniverse/Core/FemtoUniverseV0Selection.h +++ b/PWGCF/FemtoUniverse/Core/FemtoUniverseV0Selection.h @@ -23,6 +23,8 @@ #include #include +#include + #include "PWGCF/FemtoUniverse/Core/FemtoUniverseObjectSelection.h" #include "PWGCF/FemtoUniverse/Core/FemtoUniverseSelection.h" #include "PWGCF/FemtoUniverse/Core/FemtoUniverseTrackSelection.h" @@ -555,7 +557,7 @@ std::array cutContainerType output = 0; size_t counter = 0; - auto lambdaMassNominal = TDatabasePDG::Instance()->GetParticle(3122)->Mass(); + auto lambdaMassNominal = TDatabasePDG::Instance()->GetParticle(3122)->Mass(); // FIXME: Get from the common header auto lambdaMassHypothesis = v0.mLambda(); auto antiLambdaMassHypothesis = v0.mAntiLambda(); auto diffLambda = abs(lambdaMassNominal - lambdaMassHypothesis); diff --git a/PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerTask.cxx b/PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerTask.cxx index 3f95a44f8ea..cc8c3cc55ba 100644 --- a/PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerTask.cxx +++ b/PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerTask.cxx @@ -15,6 +15,8 @@ /// \author Zuzanna Chochulska, WUT Warsaw, zuzanna.chochulska.stud@pw.edu.pl /// \author Malgorzata Janik, WUT Warsaw, majanik@cern.ch +#include + #include #include "Common/Core/trackUtilities.h" #include "Common/DataModel/EventSelection.h" @@ -697,8 +699,8 @@ struct femtoUniverseProducerTask { TLorentzVector part1Vec; TLorentzVector part2Vec; - float mMassOne = TDatabasePDG::Instance()->GetParticle(ConfPhiChildOne.ConfPDGCodePartOne)->Mass(); - float mMassTwo = TDatabasePDG::Instance()->GetParticle(ConfPhiChildTwo.ConfPDGCodePartTwo)->Mass(); + float mMassOne = TDatabasePDG::Instance()->GetParticle(ConfPhiChildOne.ConfPDGCodePartOne)->Mass(); // FIXME: Get from the PDG service of the common header + float mMassTwo = TDatabasePDG::Instance()->GetParticle(ConfPhiChildTwo.ConfPDGCodePartTwo)->Mass(); // FIXME: Get from the PDG service of the common header part1Vec.SetPtEtaPhiM(p1.pt(), p1.eta(), p1.phi(), mMassOne); part2Vec.SetPtEtaPhiM(p2.pt(), p2.eta(), p2.phi(), mMassTwo); diff --git a/PWGCF/FemtoWorld/Core/FemtoWorldPhiSelection.h b/PWGCF/FemtoWorld/Core/FemtoWorldPhiSelection.h index a092a3b45b2..9ce90e36b46 100644 --- a/PWGCF/FemtoWorld/Core/FemtoWorldPhiSelection.h +++ b/PWGCF/FemtoWorld/Core/FemtoWorldPhiSelection.h @@ -22,6 +22,8 @@ #include #include +#include + #include "PWGCF/FemtoWorld/Core/FemtoWorldObjectSelection.h" #include "PWGCF/FemtoWorld/Core/FemtoWorldTrackSelection.h" #include "PWGCF/FemtoWorld/Core/FemtoWorldSelection.h" @@ -528,7 +530,7 @@ std::array FemtoWorldPhiSelection::getCutContainer(C const& cutContainerType output = 0; size_t counter = 0; - // auto lambdaMassNominal = TDatabasePDG::Instance()->GetParticle(321)->Mass(); + // auto lambdaMassNominal = TDatabasePDG::Instance()->GetParticle(321)->Mass(); // FIXME: Get from the common header // auto lambdaMassHypothesis = v0.mPhi(); // auto antiPhiMassHypothesis = v0.mAntiPhi(); // auto diffPhi = abs(lambdaMassNominal - lambdaMassHypothesis); @@ -557,8 +559,8 @@ std::array FemtoWorldPhiSelection::getCutContainer(C const& TLorentzVector part2Vec; Configurable ConfPDGCodePartOne{"ConfPDGCodePartOne", 321, "Particle 1 - PDG code"}; Configurable ConfPDGCodePartTwo{"ConfPDGCodePartTwo", 321, "Particle 2 - PDG code"}; - float mMassOne = TDatabasePDG::Instance()->GetParticle(ConfPDGCodePartOne)->Mass(); - float mMassTwo = TDatabasePDG::Instance()->GetParticle(ConfPDGCodePartTwo)->Mass(); + float mMassOne = TDatabasePDG::Instance()->GetParticle(ConfPDGCodePartOne)->Mass(); // FIXME: Get from the PDG service of the common header + float mMassTwo = TDatabasePDG::Instance()->GetParticle(ConfPDGCodePartTwo)->Mass(); // FIXME: Get from the PDG service of the common header part1Vec.SetPtEtaPhiM(posTrack.pt(), posTrack.eta(), posTrack.phi(), mMassOne); part2Vec.SetPtEtaPhiM(negTrack.pt(), negTrack.eta(), negTrack.phi(), mMassTwo); @@ -619,8 +621,8 @@ void FemtoWorldPhiSelection::fillQA(C const& col, V const& v0, T const& posTrack TLorentzVector part2Vec; Configurable ConfPDGCodePartOne{"ConfPDGCodePartOne", 321, "Particle 1 - PDG code"}; Configurable ConfPDGCodePartTwo{"ConfPDGCodePartTwo", 321, "Particle 2 - PDG code"}; - float mMassOne = TDatabasePDG::Instance()->GetParticle(ConfPDGCodePartOne)->Mass(); - float mMassTwo = TDatabasePDG::Instance()->GetParticle(ConfPDGCodePartTwo)->Mass(); + float mMassOne = TDatabasePDG::Instance()->GetParticle(ConfPDGCodePartOne)->Mass(); // FIXME: Get from the PDG service of the common header + float mMassTwo = TDatabasePDG::Instance()->GetParticle(ConfPDGCodePartTwo)->Mass(); // FIXME: Get from the PDG service of the common header part1Vec.SetPtEtaPhiM(posTrack.pt(), posTrack.eta(), posTrack.phi(), mMassOne); part2Vec.SetPtEtaPhiM(negTrack.pt(), negTrack.eta(), negTrack.phi(), mMassTwo); diff --git a/PWGCF/FemtoWorld/TableProducer/femtoWorldProducerTask.cxx b/PWGCF/FemtoWorld/TableProducer/femtoWorldProducerTask.cxx index 939c950410f..58d596ef236 100644 --- a/PWGCF/FemtoWorld/TableProducer/femtoWorldProducerTask.cxx +++ b/PWGCF/FemtoWorld/TableProducer/femtoWorldProducerTask.cxx @@ -14,6 +14,8 @@ /// \author Andi Mathis, TU München, andreas.mathis@ph.tum.de /// \author Zuzanna Chochulska, WUT Warsaw, zchochul@cern.ch +#include + #include "CCDB/BasicCCDBManager.h" #include "PWGCF/FemtoWorld/Core/FemtoWorldCollisionSelection.h" #include "PWGCF/FemtoWorld/Core/FemtoWorldTrackSelection.h" @@ -843,8 +845,8 @@ struct femtoWorldProducerTask { TLorentzVector part1Vec; TLorentzVector part2Vec; - float mMassOne = TDatabasePDG::Instance()->GetParticle(ConfPDGCodePartOne)->Mass(); - float mMassTwo = TDatabasePDG::Instance()->GetParticle(ConfPDGCodePartTwo)->Mass(); + float mMassOne = TDatabasePDG::Instance()->GetParticle(ConfPDGCodePartOne)->Mass(); // FIXME: Get from the PDG service of the common header + float mMassTwo = TDatabasePDG::Instance()->GetParticle(ConfPDGCodePartTwo)->Mass(); // FIXME: Get from the PDG service of the common header part1Vec.SetPtEtaPhiM(p1.pt(), p1.eta(), p1.phi(), mMassOne); part2Vec.SetPtEtaPhiM(p2.pt(), p2.eta(), p2.phi(), mMassTwo); @@ -1803,8 +1805,8 @@ struct femtoWorldProducerTask { TLorentzVector part1Vec; TLorentzVector part2Vec; - float mMassOne = TDatabasePDG::Instance()->GetParticle(ConfPDGCodePartOne)->Mass(); - float mMassTwo = TDatabasePDG::Instance()->GetParticle(ConfPDGCodePartTwo)->Mass(); + float mMassOne = TDatabasePDG::Instance()->GetParticle(ConfPDGCodePartOne)->Mass(); // FIXME: Get from the PDG service of the common header + float mMassTwo = TDatabasePDG::Instance()->GetParticle(ConfPDGCodePartTwo)->Mass(); // FIXME: Get from the PDG service of the common header part1Vec.SetPtEtaPhiM(p1.pt(), p1.eta(), p1.phi(), mMassOne); part2Vec.SetPtEtaPhiM(p2.pt(), p2.eta(), p2.phi(), mMassTwo); diff --git a/PWGHF/TableProducer/candidateCreator2Prong.cxx b/PWGHF/TableProducer/candidateCreator2Prong.cxx index aa409749763..614ad1885a5 100644 --- a/PWGHF/TableProducer/candidateCreator2Prong.cxx +++ b/PWGHF/TableProducer/candidateCreator2Prong.cxx @@ -26,6 +26,8 @@ #include #include +#include + #include "DCAFitter/DCAFitterN.h" #include "Framework/AnalysisTask.h" #include "Framework/runDataProcessing.h" diff --git a/PWGHF/TableProducer/candidateCreator3Prong.cxx b/PWGHF/TableProducer/candidateCreator3Prong.cxx index 8b843ef67cd..111d459d478 100644 --- a/PWGHF/TableProducer/candidateCreator3Prong.cxx +++ b/PWGHF/TableProducer/candidateCreator3Prong.cxx @@ -15,6 +15,8 @@ /// /// \author Vít Kučera , CERN +#include + #include "DCAFitter/DCAFitterN.h" #include "Framework/AnalysisTask.h" #include "Framework/runDataProcessing.h" diff --git a/PWGHF/TableProducer/candidateCreatorCascade.cxx b/PWGHF/TableProducer/candidateCreatorCascade.cxx index 95a30d9344d..3a02506b1ee 100644 --- a/PWGHF/TableProducer/candidateCreatorCascade.cxx +++ b/PWGHF/TableProducer/candidateCreatorCascade.cxx @@ -15,6 +15,8 @@ /// \author Chiara Zampolli, , CERN /// Paul Buehler, , Vienna +#include + #include "DCAFitter/DCAFitterN.h" #include "Framework/AnalysisTask.h" #include "Framework/runDataProcessing.h" diff --git a/Tools/KFparticle/KFUtilities.h b/Tools/KFparticle/KFUtilities.h index 4a393ebcefe..220ac5d8b0e 100644 --- a/Tools/KFparticle/KFUtilities.h +++ b/Tools/KFparticle/KFUtilities.h @@ -21,6 +21,8 @@ #define HomogeneousField #endif +#include + #include "KFParticle.h" #include "KFPTrack.h" #include "KFPVertex.h" @@ -169,9 +171,9 @@ float cosThetaStarFromKF(int ip, int pdgvtx, int pdgprong0, int pdgprong1, KFPar py1 = kfpprong1.GetPy(); pz1 = kfpprong1.GetPz(); std::array m = {0., 0.}; - m[0] = TDatabasePDG::Instance()->GetParticle(pdgprong0)->Mass(); - m[1] = TDatabasePDG::Instance()->GetParticle(pdgprong1)->Mass(); - double mTot = TDatabasePDG::Instance()->GetParticle(pdgvtx)->Mass(); + m[0] = TDatabasePDG::Instance()->GetParticle(pdgprong0)->Mass(); // FIXME: Use service of header + m[1] = TDatabasePDG::Instance()->GetParticle(pdgprong1)->Mass(); // FIXME: Use service of header + double mTot = TDatabasePDG::Instance()->GetParticle(pdgvtx)->Mass(); // FIXME: Use service of header int iProng = ip; float cosThetastar = RecoDecay::cosThetaStar(std::array{std::array{px0, py0, pz0}, std::array{px1, py1, pz1}}, m, mTot, iProng); From 03245ba5e55f669ac3c021f4fac2430084b3b9ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= Date: Wed, 1 Nov 2023 18:34:26 +0100 Subject: [PATCH 3/8] Comment std includes --- Common/Core/RecoDecay.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Common/Core/RecoDecay.h b/Common/Core/RecoDecay.h index 37407d56285..46faecc5b9e 100644 --- a/Common/Core/RecoDecay.h +++ b/Common/Core/RecoDecay.h @@ -18,10 +18,10 @@ #define COMMON_CORE_RECODECAY_H_ // #include -#include -#include -// #include -// #include +#include // std::vector +#include // std::array +#include // std::abs, std::sqrt +#include // std::move // #include // #include From 7cfad222016b01d17494c1099073d3e08e2b1e48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= Date: Wed, 1 Nov 2023 18:48:21 +0100 Subject: [PATCH 4/8] Fix includes --- PWGCF/FemtoDream/FemtoDreamV0Selection.h | 2 +- PWGCF/FemtoUniverse/Core/FemtoUniversePhiSelection.h | 2 +- PWGCF/FemtoWorld/Core/FemtoWorldPhiSelection.h | 2 +- PWGCF/FemtoWorld/TableProducer/femtoWorldProducerTask.cxx | 2 +- PWGLF/Tasks/f0980analysis.cxx | 4 +++- PWGLF/Tasks/k1analysis.cxx | 8 +++++--- PWGLF/Tasks/k892analysis.cxx | 6 ++++-- PWGLF/Tasks/lambda1520SpherocityAnalysis.cxx | 5 +++-- PWGLF/Tasks/lambda1520analysis.cxx | 6 ++++-- PWGLF/Tasks/phianalysis.cxx | 4 +++- PWGLF/Tasks/rhoanalysis.cxx | 2 ++ Tools/KFparticle/KFUtilities.h | 8 ++++---- 12 files changed, 32 insertions(+), 19 deletions(-) diff --git a/PWGCF/FemtoDream/FemtoDreamV0Selection.h b/PWGCF/FemtoDream/FemtoDreamV0Selection.h index b23aec5a4e9..9bfe3cb652f 100644 --- a/PWGCF/FemtoDream/FemtoDreamV0Selection.h +++ b/PWGCF/FemtoDream/FemtoDreamV0Selection.h @@ -22,7 +22,7 @@ #include #include -#include +#include // FIXME #include "FemtoDreamObjectSelection.h" #include "FemtoDreamSelection.h" diff --git a/PWGCF/FemtoUniverse/Core/FemtoUniversePhiSelection.h b/PWGCF/FemtoUniverse/Core/FemtoUniversePhiSelection.h index 4042e2b71c8..6bb43f503ee 100644 --- a/PWGCF/FemtoUniverse/Core/FemtoUniversePhiSelection.h +++ b/PWGCF/FemtoUniverse/Core/FemtoUniversePhiSelection.h @@ -23,7 +23,7 @@ #include #include -#include +#include // FIXME #include "PWGCF/FemtoUniverse/Core/FemtoUniverseObjectSelection.h" #include "PWGCF/FemtoUniverse/Core/FemtoUniverseSelection.h" diff --git a/PWGCF/FemtoWorld/Core/FemtoWorldPhiSelection.h b/PWGCF/FemtoWorld/Core/FemtoWorldPhiSelection.h index 9ce90e36b46..989a4db6592 100644 --- a/PWGCF/FemtoWorld/Core/FemtoWorldPhiSelection.h +++ b/PWGCF/FemtoWorld/Core/FemtoWorldPhiSelection.h @@ -22,7 +22,7 @@ #include #include -#include +#include // FIXME #include "PWGCF/FemtoWorld/Core/FemtoWorldObjectSelection.h" #include "PWGCF/FemtoWorld/Core/FemtoWorldTrackSelection.h" diff --git a/PWGCF/FemtoWorld/TableProducer/femtoWorldProducerTask.cxx b/PWGCF/FemtoWorld/TableProducer/femtoWorldProducerTask.cxx index 58d596ef236..68ae2444568 100644 --- a/PWGCF/FemtoWorld/TableProducer/femtoWorldProducerTask.cxx +++ b/PWGCF/FemtoWorld/TableProducer/femtoWorldProducerTask.cxx @@ -14,7 +14,7 @@ /// \author Andi Mathis, TU München, andreas.mathis@ph.tum.de /// \author Zuzanna Chochulska, WUT Warsaw, zchochul@cern.ch -#include +#include // FIXME #include "CCDB/BasicCCDBManager.h" #include "PWGCF/FemtoWorld/Core/FemtoWorldCollisionSelection.h" diff --git a/PWGLF/Tasks/f0980analysis.cxx b/PWGLF/Tasks/f0980analysis.cxx index 56ec334d98c..c0468deb03e 100644 --- a/PWGLF/Tasks/f0980analysis.cxx +++ b/PWGLF/Tasks/f0980analysis.cxx @@ -12,6 +12,8 @@ /// \author Junlee Kim (jikim1290@gmail.com) #include +#include // FIXME +#include // FIXME #include "TVector2.h" #include "Common/DataModel/Centrality.h" @@ -117,7 +119,7 @@ struct f0980analysis { histos.print(); } - double massPi = TDatabasePDG::Instance()->GetParticle(kPiPlus)->Mass(); + double massPi = TDatabasePDG::Instance()->GetParticle(kPiPlus)->Mass(); // FIXME: Get from the common header int RTIndex(double pairphi, double lhphi) { diff --git a/PWGLF/Tasks/k1analysis.cxx b/PWGLF/Tasks/k1analysis.cxx index 648ecb6addb..14f36940d56 100644 --- a/PWGLF/Tasks/k1analysis.cxx +++ b/PWGLF/Tasks/k1analysis.cxx @@ -16,6 +16,8 @@ /// \author Bong-Hwi Lim #include +#include // FIXME +#include // FIXME #include "Common/DataModel/PIDResponse.h" #include "Common/DataModel/Centrality.h" @@ -172,9 +174,9 @@ struct k1analysis { histos.print(); } - double massKa = TDatabasePDG::Instance()->GetParticle(kKPlus)->Mass(); - double massPi = TDatabasePDG::Instance()->GetParticle(kPiPlus)->Mass(); - double massK892 = TDatabasePDG::Instance()->GetParticle(313)->Mass(); + double massKa = TDatabasePDG::Instance()->GetParticle(kKPlus)->Mass();// FIXME: Get from the common header + double massPi = TDatabasePDG::Instance()->GetParticle(kPiPlus)->Mass(); // FIXME: Get from the common header + double massK892 = TDatabasePDG::Instance()->GetParticle(313)->Mass(); // FIXME: Get from the common header template bool trackCut(const TrackType track) diff --git a/PWGLF/Tasks/k892analysis.cxx b/PWGLF/Tasks/k892analysis.cxx index 3b8895b257e..d5356ad86b1 100644 --- a/PWGLF/Tasks/k892analysis.cxx +++ b/PWGLF/Tasks/k892analysis.cxx @@ -16,6 +16,8 @@ /// \author Bong-Hwi Lim , Sawan Sawan #include +#include // FIXME +#include // FIXME #include "Common/DataModel/PIDResponse.h" #include "Common/DataModel/Centrality.h" @@ -146,8 +148,8 @@ struct k892analysis { histos.print(); } - double massKa = TDatabasePDG::Instance()->GetParticle(kKPlus)->Mass(); - double massPi = TDatabasePDG::Instance()->GetParticle(kPiPlus)->Mass(); + double massKa = TDatabasePDG::Instance()->GetParticle(kKPlus)->Mass(); // FIXME: Get from the common header + double massPi = TDatabasePDG::Instance()->GetParticle(kPiPlus)->Mass(); // FIXME: Get from the common header template bool trackCut(const TrackType track) diff --git a/PWGLF/Tasks/lambda1520SpherocityAnalysis.cxx b/PWGLF/Tasks/lambda1520SpherocityAnalysis.cxx index 53dc23ed53d..787a6b7279f 100644 --- a/PWGLF/Tasks/lambda1520SpherocityAnalysis.cxx +++ b/PWGLF/Tasks/lambda1520SpherocityAnalysis.cxx @@ -17,6 +17,7 @@ #include #include +#include // FIXME #include "Common/DataModel/PIDResponse.h" #include "Common/DataModel/Centrality.h" @@ -31,8 +32,8 @@ using namespace o2::framework; using namespace o2::framework::expressions; // PDG p -> 2212, K -> 321 -const float massProton = TDatabasePDG::Instance()->GetParticle(2212)->Mass(); -const float massKaon = TDatabasePDG::Instance()->GetParticle(321)->Mass(); +const float massProton = TDatabasePDG::Instance()->GetParticle(2212)->Mass(); // FIXME: Get from the common header +const float massKaon = TDatabasePDG::Instance()->GetParticle(321)->Mass(); // FIXME: Get from the common header struct lambdaAnalysis { diff --git a/PWGLF/Tasks/lambda1520analysis.cxx b/PWGLF/Tasks/lambda1520analysis.cxx index 80b3772b19c..74c7ef0859d 100644 --- a/PWGLF/Tasks/lambda1520analysis.cxx +++ b/PWGLF/Tasks/lambda1520analysis.cxx @@ -14,6 +14,8 @@ /// \author Hirak Kumar Koley #include +#include // FIXME +#include // FIXME #include "Framework/runDataProcessing.h" #include "Framework/AnalysisTask.h" #include "PWGLF/DataModel/LFResonanceTables.h" @@ -202,8 +204,8 @@ struct lambda1520analysis { } } - double massKa = TDatabasePDG::Instance()->GetParticle(kKMinus)->Mass(); - double massPr = TDatabasePDG::Instance()->GetParticle(kProton)->Mass(); + double massKa = TDatabasePDG::Instance()->GetParticle(kKMinus)->Mass(); // FIXME: Get from the common header + double massPr = TDatabasePDG::Instance()->GetParticle(kProton)->Mass(); // FIXME: Get from the common header template bool trackCut(const TrackType track) diff --git a/PWGLF/Tasks/phianalysis.cxx b/PWGLF/Tasks/phianalysis.cxx index 66393d0d66a..0172a4921b5 100644 --- a/PWGLF/Tasks/phianalysis.cxx +++ b/PWGLF/Tasks/phianalysis.cxx @@ -16,6 +16,8 @@ /// \author Bong-Hwi Lim #include +#include // FIXME +#include // FIXME #include "Common/DataModel/PIDResponse.h" #include "Common/DataModel/Centrality.h" @@ -121,7 +123,7 @@ struct phianalysis { histos.print(); } - double massKa = TDatabasePDG::Instance()->GetParticle(kKPlus)->Mass(); + double massKa = TDatabasePDG::Instance()->GetParticle(kKPlus)->Mass(); // FIXME: Get from the common header template bool trackCut(const TrackType track) diff --git a/PWGLF/Tasks/rhoanalysis.cxx b/PWGLF/Tasks/rhoanalysis.cxx index d2e3eedda73..ad8a9d44fc6 100644 --- a/PWGLF/Tasks/rhoanalysis.cxx +++ b/PWGLF/Tasks/rhoanalysis.cxx @@ -19,6 +19,8 @@ #include #include +#include + #include "Framework/ASoAHelpers.h" #include "Framework/AnalysisDataModel.h" #include "Framework/DataProcessorSpec.h" diff --git a/Tools/KFparticle/KFUtilities.h b/Tools/KFparticle/KFUtilities.h index 220ac5d8b0e..57b9a335937 100644 --- a/Tools/KFparticle/KFUtilities.h +++ b/Tools/KFparticle/KFUtilities.h @@ -21,7 +21,7 @@ #define HomogeneousField #endif -#include +#include // FIXME #include "KFParticle.h" #include "KFPTrack.h" @@ -171,9 +171,9 @@ float cosThetaStarFromKF(int ip, int pdgvtx, int pdgprong0, int pdgprong1, KFPar py1 = kfpprong1.GetPy(); pz1 = kfpprong1.GetPz(); std::array m = {0., 0.}; - m[0] = TDatabasePDG::Instance()->GetParticle(pdgprong0)->Mass(); // FIXME: Use service of header - m[1] = TDatabasePDG::Instance()->GetParticle(pdgprong1)->Mass(); // FIXME: Use service of header - double mTot = TDatabasePDG::Instance()->GetParticle(pdgvtx)->Mass(); // FIXME: Use service of header + m[0] = TDatabasePDG::Instance()->GetParticle(pdgprong0)->Mass(); // FIXME: Get from the PDG service of the common header + m[1] = TDatabasePDG::Instance()->GetParticle(pdgprong1)->Mass(); // FIXME: Get from the PDG service of the common header + double mTot = TDatabasePDG::Instance()->GetParticle(pdgvtx)->Mass(); // FIXME: Get from the PDG service of the common header int iProng = ip; float cosThetastar = RecoDecay::cosThetaStar(std::array{std::array{px0, py0, pz0}, std::array{px1, py1, pz1}}, m, mTot, iProng); From ef22518594e37b8d8cfd3242804b7b94a59bad2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= Date: Wed, 1 Nov 2023 19:31:06 +0100 Subject: [PATCH 5/8] Remove rest of includes --- Common/Core/RecoDecay.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/Common/Core/RecoDecay.h b/Common/Core/RecoDecay.h index 46faecc5b9e..1bbc42d413e 100644 --- a/Common/Core/RecoDecay.h +++ b/Common/Core/RecoDecay.h @@ -17,17 +17,13 @@ #ifndef COMMON_CORE_RECODECAY_H_ #define COMMON_CORE_RECODECAY_H_ -// #include -#include // std::vector -#include // std::array -#include // std::abs, std::sqrt -#include // std::move - -// #include -// #include +#include // std::find +#include // std::array +#include // std::abs, std::sqrt +#include // std::move +#include // std::vector #include "CommonConstants/MathConstants.h" -// #include "Framework/Logger.h" /// Base class for calculating properties of reconstructed decays /// From 94128a13587c7cb354c6c1cecf8f10be1cb1f43b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= Date: Wed, 1 Nov 2023 19:32:08 +0100 Subject: [PATCH 6/8] Fix other files --- PWGLF/TableProducer/f1protonreducedtable.cxx | 13 ++++++++----- Tutorials/PWGLF/Resonance/resonances_step1.cxx | 1 + 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/PWGLF/TableProducer/f1protonreducedtable.cxx b/PWGLF/TableProducer/f1protonreducedtable.cxx index f9af7a898ee..3b4f6063613 100644 --- a/PWGLF/TableProducer/f1protonreducedtable.cxx +++ b/PWGLF/TableProducer/f1protonreducedtable.cxx @@ -19,6 +19,9 @@ #include #include #include +#include // FIXME +#include // FIXME + #include #include #include @@ -323,7 +326,7 @@ struct f1protonreducedtable { const float dcaDaughv0 = candidate.dcaV0daughters(); const float cpav0 = candidate.v0cosPA(collision.posX(), collision.posY(), collision.posZ()); - float CtauK0s = candidate.distovertotmom(collision.posX(), collision.posY(), collision.posZ()) * TDatabasePDG::Instance()->GetParticle(kK0Short)->Mass(); + float CtauK0s = candidate.distovertotmom(collision.posX(), collision.posY(), collision.posZ()) * TDatabasePDG::Instance()->GetParticle(kK0Short)->Mass(); // FIXME: Get from the common header float lowmasscutks0 = 0.497 - 2.0 * cSigmaMassKs0; float highmasscutks0 = 0.497 + 2.0 * cSigmaMassKs0; @@ -450,10 +453,10 @@ struct f1protonreducedtable { std::vector BBProton, BBAntiproton, BBPion, BBAntipion, BBKaon, BBAntikaon; ROOT::Math::PtEtaPhiMVector F1Vector, F1VectorDummy, KKs0Vector, ProtonVectorDummy, ProtonVectorDummy2; - double massPi = TDatabasePDG::Instance()->GetParticle(kPiPlus)->Mass(); - double massKa = TDatabasePDG::Instance()->GetParticle(kKPlus)->Mass(); - double massPr = TDatabasePDG::Instance()->GetParticle(kProton)->Mass(); - double massK0s = TDatabasePDG::Instance()->GetParticle(kK0Short)->Mass(); + double massPi = TDatabasePDG::Instance()->GetParticle(kPiPlus)->Mass(); // FIXME: Get from the common header + double massKa = TDatabasePDG::Instance()->GetParticle(kKPlus)->Mass(); // FIXME: Get from the common header + double massPr = TDatabasePDG::Instance()->GetParticle(kProton)->Mass(); // FIXME: Get from the common header + double massK0s = TDatabasePDG::Instance()->GetParticle(kK0Short)->Mass(); // FIXME: Get from the common header double massF1{0.}; double masskKs0{0.}; diff --git a/Tutorials/PWGLF/Resonance/resonances_step1.cxx b/Tutorials/PWGLF/Resonance/resonances_step1.cxx index 760c3c73192..c5d6b3a2e77 100644 --- a/Tutorials/PWGLF/Resonance/resonances_step1.cxx +++ b/Tutorials/PWGLF/Resonance/resonances_step1.cxx @@ -14,6 +14,7 @@ /// \since 23/04/2023 #include +#include #include "Common/DataModel/PIDResponse.h" #include "Common/DataModel/Centrality.h" From 7b11b5165bb26357fd31c126caf238a0343ffa64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= Date: Wed, 1 Nov 2023 19:40:50 +0100 Subject: [PATCH 7/8] Add more fixme comments --- PWGCF/FemtoUniverse/Core/FemtoUniverseV0Selection.h | 2 +- PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerTask.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PWGCF/FemtoUniverse/Core/FemtoUniverseV0Selection.h b/PWGCF/FemtoUniverse/Core/FemtoUniverseV0Selection.h index 6a506d070e3..10cbfb31ce0 100644 --- a/PWGCF/FemtoUniverse/Core/FemtoUniverseV0Selection.h +++ b/PWGCF/FemtoUniverse/Core/FemtoUniverseV0Selection.h @@ -23,7 +23,7 @@ #include #include -#include +#include // FIXME #include "PWGCF/FemtoUniverse/Core/FemtoUniverseObjectSelection.h" #include "PWGCF/FemtoUniverse/Core/FemtoUniverseSelection.h" diff --git a/PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerTask.cxx b/PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerTask.cxx index cc8c3cc55ba..20729541b27 100644 --- a/PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerTask.cxx +++ b/PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerTask.cxx @@ -15,7 +15,7 @@ /// \author Zuzanna Chochulska, WUT Warsaw, zuzanna.chochulska.stud@pw.edu.pl /// \author Malgorzata Janik, WUT Warsaw, majanik@cern.ch -#include +#include // FIXME #include #include "Common/Core/trackUtilities.h" From b39887720dbac0af9c1faac7f6b4299af9cbf139 Mon Sep 17 00:00:00 2001 From: ALICE Builder Date: Wed, 1 Nov 2023 19:45:35 +0100 Subject: [PATCH 8/8] Please consider the following formatting changes (#32) --- PWGLF/TableProducer/f1protonreducedtable.cxx | 8 ++++---- PWGLF/Tasks/f0980analysis.cxx | 2 +- PWGLF/Tasks/k1analysis.cxx | 6 +++--- PWGLF/Tasks/k892analysis.cxx | 4 ++-- PWGLF/Tasks/lambda1520SpherocityAnalysis.cxx | 2 +- PWGLF/Tasks/lambda1520analysis.cxx | 2 +- PWGLF/Tasks/phianalysis.cxx | 2 +- Tools/KFparticle/KFUtilities.h | 4 ++-- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/PWGLF/TableProducer/f1protonreducedtable.cxx b/PWGLF/TableProducer/f1protonreducedtable.cxx index 3b4f6063613..398c3a3fd4b 100644 --- a/PWGLF/TableProducer/f1protonreducedtable.cxx +++ b/PWGLF/TableProducer/f1protonreducedtable.cxx @@ -20,7 +20,7 @@ #include #include #include // FIXME -#include // FIXME +#include // FIXME #include #include @@ -453,9 +453,9 @@ struct f1protonreducedtable { std::vector BBProton, BBAntiproton, BBPion, BBAntipion, BBKaon, BBAntikaon; ROOT::Math::PtEtaPhiMVector F1Vector, F1VectorDummy, KKs0Vector, ProtonVectorDummy, ProtonVectorDummy2; - double massPi = TDatabasePDG::Instance()->GetParticle(kPiPlus)->Mass(); // FIXME: Get from the common header - double massKa = TDatabasePDG::Instance()->GetParticle(kKPlus)->Mass(); // FIXME: Get from the common header - double massPr = TDatabasePDG::Instance()->GetParticle(kProton)->Mass(); // FIXME: Get from the common header + double massPi = TDatabasePDG::Instance()->GetParticle(kPiPlus)->Mass(); // FIXME: Get from the common header + double massKa = TDatabasePDG::Instance()->GetParticle(kKPlus)->Mass(); // FIXME: Get from the common header + double massPr = TDatabasePDG::Instance()->GetParticle(kProton)->Mass(); // FIXME: Get from the common header double massK0s = TDatabasePDG::Instance()->GetParticle(kK0Short)->Mass(); // FIXME: Get from the common header double massF1{0.}; diff --git a/PWGLF/Tasks/f0980analysis.cxx b/PWGLF/Tasks/f0980analysis.cxx index c0468deb03e..e8ed45d0602 100644 --- a/PWGLF/Tasks/f0980analysis.cxx +++ b/PWGLF/Tasks/f0980analysis.cxx @@ -13,7 +13,7 @@ #include #include // FIXME -#include // FIXME +#include // FIXME #include "TVector2.h" #include "Common/DataModel/Centrality.h" diff --git a/PWGLF/Tasks/k1analysis.cxx b/PWGLF/Tasks/k1analysis.cxx index 14f36940d56..fe96efcb482 100644 --- a/PWGLF/Tasks/k1analysis.cxx +++ b/PWGLF/Tasks/k1analysis.cxx @@ -17,7 +17,7 @@ #include #include // FIXME -#include // FIXME +#include // FIXME #include "Common/DataModel/PIDResponse.h" #include "Common/DataModel/Centrality.h" @@ -174,9 +174,9 @@ struct k1analysis { histos.print(); } - double massKa = TDatabasePDG::Instance()->GetParticle(kKPlus)->Mass();// FIXME: Get from the common header + double massKa = TDatabasePDG::Instance()->GetParticle(kKPlus)->Mass(); // FIXME: Get from the common header double massPi = TDatabasePDG::Instance()->GetParticle(kPiPlus)->Mass(); // FIXME: Get from the common header - double massK892 = TDatabasePDG::Instance()->GetParticle(313)->Mass(); // FIXME: Get from the common header + double massK892 = TDatabasePDG::Instance()->GetParticle(313)->Mass(); // FIXME: Get from the common header template bool trackCut(const TrackType track) diff --git a/PWGLF/Tasks/k892analysis.cxx b/PWGLF/Tasks/k892analysis.cxx index d5356ad86b1..1dd1518325b 100644 --- a/PWGLF/Tasks/k892analysis.cxx +++ b/PWGLF/Tasks/k892analysis.cxx @@ -17,7 +17,7 @@ #include #include // FIXME -#include // FIXME +#include // FIXME #include "Common/DataModel/PIDResponse.h" #include "Common/DataModel/Centrality.h" @@ -148,7 +148,7 @@ struct k892analysis { histos.print(); } - double massKa = TDatabasePDG::Instance()->GetParticle(kKPlus)->Mass(); // FIXME: Get from the common header + double massKa = TDatabasePDG::Instance()->GetParticle(kKPlus)->Mass(); // FIXME: Get from the common header double massPi = TDatabasePDG::Instance()->GetParticle(kPiPlus)->Mass(); // FIXME: Get from the common header template diff --git a/PWGLF/Tasks/lambda1520SpherocityAnalysis.cxx b/PWGLF/Tasks/lambda1520SpherocityAnalysis.cxx index 787a6b7279f..29b3c175974 100644 --- a/PWGLF/Tasks/lambda1520SpherocityAnalysis.cxx +++ b/PWGLF/Tasks/lambda1520SpherocityAnalysis.cxx @@ -33,7 +33,7 @@ using namespace o2::framework::expressions; // PDG p -> 2212, K -> 321 const float massProton = TDatabasePDG::Instance()->GetParticle(2212)->Mass(); // FIXME: Get from the common header -const float massKaon = TDatabasePDG::Instance()->GetParticle(321)->Mass(); // FIXME: Get from the common header +const float massKaon = TDatabasePDG::Instance()->GetParticle(321)->Mass(); // FIXME: Get from the common header struct lambdaAnalysis { diff --git a/PWGLF/Tasks/lambda1520analysis.cxx b/PWGLF/Tasks/lambda1520analysis.cxx index 74c7ef0859d..2276f755554 100644 --- a/PWGLF/Tasks/lambda1520analysis.cxx +++ b/PWGLF/Tasks/lambda1520analysis.cxx @@ -15,7 +15,7 @@ #include #include // FIXME -#include // FIXME +#include // FIXME #include "Framework/runDataProcessing.h" #include "Framework/AnalysisTask.h" #include "PWGLF/DataModel/LFResonanceTables.h" diff --git a/PWGLF/Tasks/phianalysis.cxx b/PWGLF/Tasks/phianalysis.cxx index 0172a4921b5..58c462725e8 100644 --- a/PWGLF/Tasks/phianalysis.cxx +++ b/PWGLF/Tasks/phianalysis.cxx @@ -17,7 +17,7 @@ #include #include // FIXME -#include // FIXME +#include // FIXME #include "Common/DataModel/PIDResponse.h" #include "Common/DataModel/Centrality.h" diff --git a/Tools/KFparticle/KFUtilities.h b/Tools/KFparticle/KFUtilities.h index 57b9a335937..eeb638c2ed8 100644 --- a/Tools/KFparticle/KFUtilities.h +++ b/Tools/KFparticle/KFUtilities.h @@ -171,8 +171,8 @@ float cosThetaStarFromKF(int ip, int pdgvtx, int pdgprong0, int pdgprong1, KFPar py1 = kfpprong1.GetPy(); pz1 = kfpprong1.GetPz(); std::array m = {0., 0.}; - m[0] = TDatabasePDG::Instance()->GetParticle(pdgprong0)->Mass(); // FIXME: Get from the PDG service of the common header - m[1] = TDatabasePDG::Instance()->GetParticle(pdgprong1)->Mass(); // FIXME: Get from the PDG service of the common header + m[0] = TDatabasePDG::Instance()->GetParticle(pdgprong0)->Mass(); // FIXME: Get from the PDG service of the common header + m[1] = TDatabasePDG::Instance()->GetParticle(pdgprong1)->Mass(); // FIXME: Get from the PDG service of the common header double mTot = TDatabasePDG::Instance()->GetParticle(pdgvtx)->Mass(); // FIXME: Get from the PDG service of the common header int iProng = ip;