Skip to content

Commit 3ed6eb7

Browse files
hfribertHenrik Fribert
andauthored
[PWGLF] Ancestor info for sigmas and mult. option for mixing (#16075)
Co-authored-by: Henrik Fribert <ge35huh@nidoking.ktas.ph.tum.de>
1 parent c83e6f5 commit 3ed6eb7

2 files changed

Lines changed: 273 additions & 124 deletions

File tree

PWGLF/DataModel/LFSigmaHadTables.h

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,17 @@ DECLARE_SOA_COLUMN(PyHad, pyHad, float); //! Py of the hadron cand
3636
DECLARE_SOA_COLUMN(PzHad, pzHad, float); //! Pz of the hadron candidate
3737
DECLARE_SOA_COLUMN(NSigmaTPCHad, nSigmaTPCHad, float); //! Number of sigmas for the hadron candidate from Sigma kink in TPC
3838
DECLARE_SOA_COLUMN(NSigmaTOFHad, nSigmaTOFHad, float); //! Number of sigmas for the hadron candidate from Sigma kink in TOF
39+
DECLARE_SOA_COLUMN(Multiplicity, multiplicity, float); //! Collision multiplicity
3940

4041
// MC Columns
41-
DECLARE_SOA_COLUMN(SigmaPDG, sigmaPDG, int); //! PDG code of the Sigma daughter
42-
DECLARE_SOA_COLUMN(DaughterPDG, daughterPDG, int); //! PDG code of the kink daughter
43-
DECLARE_SOA_COLUMN(HadPDG, hadPDG, int); //! PDG code of the hadron candidate
44-
DECLARE_SOA_COLUMN(SigmaGenPt, sigmaGenPt, float); //! Generated pT of the Sigma candidate
45-
DECLARE_SOA_COLUMN(HadGenPt, hadGenPt, float); //! Generated pT of the hadron candidate
46-
DECLARE_SOA_COLUMN(GenKStar, genKStar, float); //! Generated k* of the Sigma-hadron pair
42+
DECLARE_SOA_COLUMN(SigmaPDG, sigmaPDG, int); //! PDG code of the Sigma candidate
43+
DECLARE_SOA_COLUMN(DaughterPDG, daughterPDG, int); //! PDG code of the kink daughter
44+
DECLARE_SOA_COLUMN(HadPDG, hadPDG, int); //! PDG code of the hadron candidate
45+
DECLARE_SOA_COLUMN(SigmaMotherPDG, sigmaMotherPDG, int); //! PDG code of the direct mother of the Sigma
46+
DECLARE_SOA_COLUMN(SigmaPartonicMotherPDG, sigmaPartonicMotherPDG, int); //! PDG code of the partonic (quark/gluon) ancestor of the Sigma
47+
DECLARE_SOA_COLUMN(SigmaGenPt, sigmaGenPt, float); //! Generated pT of the Sigma candidate
48+
DECLARE_SOA_COLUMN(HadGenPt, hadGenPt, float); //! Generated pT of the hadron candidate
49+
DECLARE_SOA_COLUMN(GenKStar, genKStar, float); //! Generated k* of the Sigma-hadron pair
4750

4851
} // namespace sigmaproton
4952

@@ -52,15 +55,16 @@ DECLARE_SOA_TABLE(SigmaProtonCands, "AOD", "SIGMAPROTONCANDS",
5255
sigmaproton::ChargeSigma, kinkcand::PxMoth, kinkcand::PyMoth, kinkcand::PzMoth,
5356
kinkcand::PxDaug, kinkcand::PyDaug, kinkcand::PzDaug, sigmaproton::SigmaDecRad, sigmaproton::SigmaCosPA,
5457
sigmaproton::ChargeHad, sigmaproton::PxHad, sigmaproton::PyHad, sigmaproton::PzHad,
55-
sigmaproton::NSigmaTPCHad, sigmaproton::NSigmaTOFHad);
58+
sigmaproton::NSigmaTPCHad, sigmaproton::NSigmaTOFHad, sigmaproton::Multiplicity);
5659

5760
DECLARE_SOA_TABLE(SigmaProtonMCCands, "AOD", "SIGMAPROTONMCCANDS",
5861
o2::soa::Index<>,
5962
sigmaproton::ChargeSigma, kinkcand::PxMoth, kinkcand::PyMoth, kinkcand::PzMoth,
6063
kinkcand::PxDaug, kinkcand::PyDaug, kinkcand::PzDaug, sigmaproton::SigmaDecRad, sigmaproton::SigmaCosPA,
6164
sigmaproton::ChargeHad, sigmaproton::PxHad, sigmaproton::PyHad, sigmaproton::PzHad,
62-
sigmaproton::NSigmaTPCHad, sigmaproton::NSigmaTOFHad,
65+
sigmaproton::NSigmaTPCHad, sigmaproton::NSigmaTOFHad, sigmaproton::Multiplicity,
6366
sigmaproton::SigmaPDG, sigmaproton::DaughterPDG, sigmaproton::HadPDG,
67+
sigmaproton::SigmaMotherPDG, sigmaproton::SigmaPartonicMotherPDG,
6468
sigmaproton::SigmaGenPt, sigmaproton::HadGenPt, sigmaproton::GenKStar);
6569

6670
} // namespace o2::aod

0 commit comments

Comments
 (0)