Skip to content

Commit 3ff15bf

Browse files
authored
[PWGCF] add MC process and fix bug in cpr (#17309)
1 parent ab01c22 commit 3ff15bf

2 files changed

Lines changed: 236 additions & 22 deletions

File tree

PWGCF/Femto/FemtoNuclei/DataModel/HadronNucleiTables.h

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,23 @@ DECLARE_SOA_COLUMN(SharedClustersHad, sharedClustersHad, uint8_t);
8383
DECLARE_SOA_COLUMN(DeltaEta, deltaEta, float);
8484
DECLARE_SOA_COLUMN(DeltaPhi, deltaPhi, float);
8585

86+
// Reconstructed-MC pair information. The signed generated pT follows the
87+
// convention used by PtNu/PtHad: particles are positive and antiparticles
88+
// are negative.
89+
DECLARE_SOA_COLUMN(PtNuMC, ptNuMC, float);
90+
DECLARE_SOA_COLUMN(EtaNuMC, etaNuMC, float);
91+
DECLARE_SOA_COLUMN(PhiNuMC, phiNuMC, float);
92+
DECLARE_SOA_COLUMN(PtHadMC, ptHadMC, float);
93+
DECLARE_SOA_COLUMN(EtaHadMC, etaHadMC, float);
94+
DECLARE_SOA_COLUMN(PhiHadMC, phiHadMC, float);
95+
DECLARE_SOA_COLUMN(KstarMC, kstarMC, float);
96+
DECLARE_SOA_COLUMN(PdgCodeNuMC, pdgCodeNuMC, int32_t);
97+
DECLARE_SOA_COLUMN(PdgCodeHadMC, pdgCodeHadMC, int32_t);
98+
DECLARE_SOA_COLUMN(IsPhysicalPrimaryNuMC, isPhysicalPrimaryNuMC, bool);
99+
DECLARE_SOA_COLUMN(IsPhysicalPrimaryHadMC, isPhysicalPrimaryHadMC, bool);
100+
DECLARE_SOA_COLUMN(SameMCCollision, sameMCCollision, bool);
101+
DECLARE_SOA_COLUMN(MatchesRecoMCCollision, matchesRecoMCCollision, bool);
102+
86103
DECLARE_SOA_COLUMN(IsBkgUS, isBkgUS, bool);
87104
DECLARE_SOA_COLUMN(IsBkgEM, isBkgEM, bool);
88105

@@ -138,6 +155,20 @@ DECLARE_SOA_TABLE(HadronNucleiTable, "AOD", "HADNUCLEITABLE",
138155
hadron_nuclei_tables::NSigmaITSNu,
139156
hadron_nuclei_tables::NSigmaTOFHad,
140157
hadron_nuclei_tables::NSigmaITSHad)
158+
DECLARE_SOA_TABLE(HadronNucleiTableMC, "AOD", "HADNUCLEIMC",
159+
hadron_nuclei_tables::PtNuMC,
160+
hadron_nuclei_tables::EtaNuMC,
161+
hadron_nuclei_tables::PhiNuMC,
162+
hadron_nuclei_tables::PtHadMC,
163+
hadron_nuclei_tables::EtaHadMC,
164+
hadron_nuclei_tables::PhiHadMC,
165+
hadron_nuclei_tables::KstarMC,
166+
hadron_nuclei_tables::PdgCodeNuMC,
167+
hadron_nuclei_tables::PdgCodeHadMC,
168+
hadron_nuclei_tables::IsPhysicalPrimaryNuMC,
169+
hadron_nuclei_tables::IsPhysicalPrimaryHadMC,
170+
hadron_nuclei_tables::SameMCCollision,
171+
hadron_nuclei_tables::MatchesRecoMCCollision)
141172
DECLARE_SOA_TABLE(HadronHyperTable, "AOD", "HADHYPERTABLE",
142173
hadron_nuclei_tables::PtHyp,
143174
hadron_nuclei_tables::EtaHyp,

0 commit comments

Comments
 (0)