Skip to content

Commit 380ba0a

Browse files
committed
add some event info to kf cand table
1 parent 70712a3 commit 380ba0a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

PWGHF/TableProducer/treeCreatorLcToPKPi.cxx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ DECLARE_SOA_TABLE(HfCandLcMCs, "AOD", "HFCANDLCMC",
155155
mc_match::XEvent, mc_match::YEvent, mc_match::ZEvent)
156156

157157
DECLARE_SOA_TABLE(HfCandLcKFs, "AOD", "HFCANDLCKF",
158+
full::CollisionId,
158159
kf::X, kf::Y, kf::Z, kf::ErrX, kf::ErrY, kf::ErrZ,
159160
kf::ErrPVX, kf::ErrPVY, kf::ErrPVZ,
160161
kf::Chi2PrimProton, kf::Chi2PrimKaon, kf::Chi2PrimPion,
@@ -302,7 +303,8 @@ DECLARE_SOA_TABLE(HfCandLcFullEvs, "AOD", "HFCANDLCFULLEV",
302303
full::CentFT0M,
303304
full::CentFV0A,
304305
full::CentFDDM,
305-
full::MultZeqNTracksPV);
306+
full::MultZeqNTracksPV,
307+
kf::MultNTracksPV);
306308

307309
DECLARE_SOA_TABLE(HfCandLcFullPs, "AOD", "HFCANDLCFULLP",
308310
full::Pt,
@@ -456,7 +458,8 @@ struct HfTreeCreatorLcToPKPi {
456458
centFT0M,
457459
centFV0A,
458460
centFDDM,
459-
collision.multZeqNTracksPV());
461+
collision.multZeqNTracksPV(),
462+
collision.multNTracksPV());
460463
}
461464

462465
// Filling candidate properties
@@ -660,6 +663,7 @@ struct HfTreeCreatorLcToPKPi {
660663
const float deltaT = dl * MassLambdaCPlus / LightSpeedCm2PS / p;
661664
const float mass = CandFlag == 0 ? candidate.kfMassPKPi() : candidate.kfMassPiKP();
662665
rowCandidateKF(
666+
candidate.collisionId(),
663667
svX, svY, svZ, svErrX, svErrY, svErrZ,
664668
pvErrX, pvErrY, pvErrZ,
665669
chi2primProton, chi2primKaon, chi2primPion,
@@ -850,7 +854,8 @@ struct HfTreeCreatorLcToPKPi {
850854
centFT0M,
851855
centFV0A,
852856
centFDDM,
853-
collision.multZeqNTracksPV());
857+
collision.multZeqNTracksPV(),
858+
collision.multNTracksPV());
854859
}
855860

856861
// Filling candidate properties
@@ -1050,6 +1055,7 @@ struct HfTreeCreatorLcToPKPi {
10501055
const float deltaT = dl * MassLambdaCPlus / LightSpeedCm2PS / p;
10511056
const float mass = CandFlag == 0 ? candidate.kfMassPKPi() : candidate.kfMassPiKP();
10521057
rowCandidateKF(
1058+
candidate.collisionId(),
10531059
X, Y, Z, ErrX, ErrY, ErrZ,
10541060
ErrPVX, ErrPVY, ErrPVZ,
10551061
chi2prim_proton, chi2prim_kaon, chi2prim_pion,

0 commit comments

Comments
 (0)