@@ -163,6 +163,12 @@ DECLARE_SOA_TABLE(SlimKinkCandsMC, "AOD", "SLIMKINKCANDSMC",
163163namespace sigmapluscand
164164{
165165
166+ DECLARE_SOA_INDEX_COLUMN (Collision, collision); // ! Collision of the candidate (the proton's collision), -1 for generated-only MC rows
167+ DECLARE_SOA_INDEX_COLUMN_FULL (ProtonTrack, protonTrack, int , TracksIU, " _Proton" ); // ! Proton track
168+ DECLARE_SOA_INDEX_COLUMN_FULL (PhotonPosTrack, photonPosTrack, int , TracksIU, " _PosDau" ); // ! Positive daughter track of the measured photon
169+ DECLARE_SOA_INDEX_COLUMN_FULL (PhotonNegTrack, photonNegTrack, int , TracksIU, " _NegDau" ); // ! Negative daughter track of the measured photon
170+ DECLARE_SOA_INDEX_COLUMN (McParticle, mcParticle); // ! MC particle of the true Sigma+ if proton and photon come from it, -1 otherwise
171+
166172DECLARE_SOA_COLUMN (XDecVtx, xDecVtx, float ); // ! Decay vertex of the candidate (x direction)
167173DECLARE_SOA_COLUMN (YDecVtx, yDecVtx, float ); // ! Decay vertex of the candidate (y direction)
168174DECLARE_SOA_COLUMN (ZDecVtx, zDecVtx, float ); // ! Decay vertex of the candidate (z direction)
@@ -221,6 +227,7 @@ DECLARE_SOA_COLUMN(PhotonPosTpcNClsFindable, photonPosTpcNClsFindable, int16_t);
221227DECLARE_SOA_COLUMN (PhotonNegTpcNClsFindable, photonNegTpcNClsFindable, int16_t ); // ! Number of findable TPC clusters of the photon's negative daughter
222228DECLARE_SOA_COLUMN (PhotonPosTpcChi2NCl, photonPosTpcChi2NCl, float ); // ! TPC chi2 per cluster of the photon's positive daughter
223229DECLARE_SOA_COLUMN (PhotonNegTpcChi2NCl, photonNegTpcChi2NCl, float ); // ! TPC chi2 per cluster of the photon's negative daughter
230+ DECLARE_SOA_COLUMN (MlScore, mlScore, float ); // ! BDT score of the candidate (signal probability), -1 if not computed
224231
225232// MC columns
226233DECLARE_SOA_COLUMN (CollisionIdCheck, collisionIdCheck, bool ); // ! True if the proton's collision ID matches the reconstructed collision ID
@@ -281,6 +288,7 @@ DECLARE_SOA_DYNAMIC_COLUMN(YSigmaPlusMC, ySigmaPlusMC, //! True rapidity of the
281288} // namespace sigmapluscand
282289
283290DECLARE_SOA_TABLE (SigmaPlusCands, " AOD" , " SIGMAPLUSCANDS" ,
291+ sigmapluscand::CollisionId, sigmapluscand::ProtonTrackId, sigmapluscand::PhotonPosTrackId, sigmapluscand::PhotonNegTrackId,
284292 sigmapluscand::XDecVtx, sigmapluscand::YDecVtx, sigmapluscand::ZDecVtx, sigmapluscand::FlightDistance,
285293 sigmapluscand::DcaProtonGamma,
286294 sigmapluscand::PxProton, sigmapluscand::PyProton, sigmapluscand::PzProton,
@@ -297,6 +305,7 @@ DECLARE_SOA_TABLE(SigmaPlusCands, "AOD", "SIGMAPLUSCANDS",
297305 sigmapluscand::PhotonDcaDau, sigmapluscand::PhotonCosPAToPV, sigmapluscand::PhotonDcaXYToPV, sigmapluscand::PhotonDcaZToPV, sigmapluscand::PhotonPsiPair,
298306 sigmapluscand::PhotonPosDcaXY, sigmapluscand::PhotonPosDcaZ, sigmapluscand::PhotonNegDcaXY, sigmapluscand::PhotonNegDcaZ,
299307 sigmapluscand::PhotonPosTpcNClsFindable, sigmapluscand::PhotonNegTpcNClsFindable, sigmapluscand::PhotonPosTpcChi2NCl, sigmapluscand::PhotonNegTpcChi2NCl,
308+ sigmapluscand::MlScore,
300309
301310 // dynamic columns
302311 sigmapluscand::Radius<sigmapluscand::XDecVtx, sigmapluscand::YDecVtx>,
@@ -308,6 +317,8 @@ DECLARE_SOA_TABLE(SigmaPlusCands, "AOD", "SIGMAPLUSCANDS",
308317 sigmapluscand::MassSigmaPlus<sigmapluscand::PxProton, sigmapluscand::PyProton, sigmapluscand::PzProton, sigmapluscand::PxGamma1, sigmapluscand::PyGamma1, sigmapluscand::PzGamma1, sigmapluscand::PxGamma2, sigmapluscand::PyGamma2, sigmapluscand::PzGamma2>);
309318
310319DECLARE_SOA_TABLE (SigmaPlusCandsMC, " AOD" , " SIGMAPLUSMC" ,
320+ sigmapluscand::CollisionId, sigmapluscand::ProtonTrackId, sigmapluscand::PhotonPosTrackId, sigmapluscand::PhotonNegTrackId,
321+ sigmapluscand::McParticleId,
311322 sigmapluscand::XDecVtx, sigmapluscand::YDecVtx, sigmapluscand::ZDecVtx, sigmapluscand::FlightDistance,
312323 sigmapluscand::DcaProtonGamma,
313324 sigmapluscand::PxProton, sigmapluscand::PyProton, sigmapluscand::PzProton,
@@ -324,6 +335,7 @@ DECLARE_SOA_TABLE(SigmaPlusCandsMC, "AOD", "SIGMAPLUSMC",
324335 sigmapluscand::PhotonDcaDau, sigmapluscand::PhotonCosPAToPV, sigmapluscand::PhotonDcaXYToPV, sigmapluscand::PhotonDcaZToPV, sigmapluscand::PhotonPsiPair,
325336 sigmapluscand::PhotonPosDcaXY, sigmapluscand::PhotonPosDcaZ, sigmapluscand::PhotonNegDcaXY, sigmapluscand::PhotonNegDcaZ,
326337 sigmapluscand::PhotonPosTpcNClsFindable, sigmapluscand::PhotonNegTpcNClsFindable, sigmapluscand::PhotonPosTpcChi2NCl, sigmapluscand::PhotonNegTpcChi2NCl,
338+ sigmapluscand::MlScore,
327339 sigmapluscand::CollisionIdCheck,
328340 sigmapluscand::IsSignal, sigmapluscand::IsProtonFromSigma, sigmapluscand::IsPhotonFromSigma,
329341 sigmapluscand::XDecVtxMC, sigmapluscand::YDecVtxMC, sigmapluscand::ZDecVtxMC,
@@ -344,6 +356,7 @@ DECLARE_SOA_TABLE(SigmaPlusCandsMC, "AOD", "SIGMAPLUSMC",
344356 sigmapluscand::YSigmaPlusMC<sigmapluscand::PxSigmaPlusMC, sigmapluscand::PySigmaPlusMC, sigmapluscand::PzSigmaPlusMC>);
345357
346358DECLARE_SOA_TABLE (SlimSigmaPlusCands, " AOD" , " SLIMSIGMAPLUS" ,
359+ sigmapluscand::CollisionId, sigmapluscand::ProtonTrackId, sigmapluscand::PhotonPosTrackId, sigmapluscand::PhotonNegTrackId,
347360 sigmapluscand::TransDecayRadius,
348361 sigmapluscand::CandDcaToPV, sigmapluscand::FlightDirTilt,
349362 sigmapluscand::DcaProtonGamma,
@@ -358,6 +371,7 @@ DECLARE_SOA_TABLE(SlimSigmaPlusCands, "AOD", "SLIMSIGMAPLUS",
358371 sigmapluscand::PhotonDcaDau, sigmapluscand::PhotonCosPAToPV, sigmapluscand::PhotonDcaXYToPV, sigmapluscand::PhotonDcaZToPV, sigmapluscand::PhotonPsiPair,
359372 sigmapluscand::PhotonPosDcaXY, sigmapluscand::PhotonPosDcaZ, sigmapluscand::PhotonNegDcaXY, sigmapluscand::PhotonNegDcaZ,
360373 sigmapluscand::PhotonPosTpcNClsFindable, sigmapluscand::PhotonNegTpcNClsFindable, sigmapluscand::PhotonPosTpcChi2NCl, sigmapluscand::PhotonNegTpcChi2NCl,
374+ sigmapluscand::MlScore,
361375
362376 // dynamic columns
363377 sigmapluscand::PxSigmaPlus<sigmapluscand::PxProton, sigmapluscand::PxGamma1, sigmapluscand::PxGamma2>,
@@ -367,6 +381,8 @@ DECLARE_SOA_TABLE(SlimSigmaPlusCands, "AOD", "SLIMSIGMAPLUS",
367381 sigmapluscand::MassSigmaPlus<sigmapluscand::PxProton, sigmapluscand::PyProton, sigmapluscand::PzProton, sigmapluscand::PxGamma1, sigmapluscand::PyGamma1, sigmapluscand::PzGamma1, sigmapluscand::PxGamma2, sigmapluscand::PyGamma2, sigmapluscand::PzGamma2>);
368382
369383DECLARE_SOA_TABLE (SlimSigmaPlusCandsMC, " AOD" , " SLIMSIGMAPLUSMC" ,
384+ sigmapluscand::CollisionId, sigmapluscand::ProtonTrackId, sigmapluscand::PhotonPosTrackId, sigmapluscand::PhotonNegTrackId,
385+ sigmapluscand::McParticleId,
370386 sigmapluscand::TransDecayRadius,
371387 sigmapluscand::CandDcaToPV, sigmapluscand::FlightDirTilt,
372388 sigmapluscand::DcaProtonGamma,
@@ -381,6 +397,7 @@ DECLARE_SOA_TABLE(SlimSigmaPlusCandsMC, "AOD", "SLIMSIGMAPLUSMC",
381397 sigmapluscand::PhotonDcaDau, sigmapluscand::PhotonCosPAToPV, sigmapluscand::PhotonDcaXYToPV, sigmapluscand::PhotonDcaZToPV, sigmapluscand::PhotonPsiPair,
382398 sigmapluscand::PhotonPosDcaXY, sigmapluscand::PhotonPosDcaZ, sigmapluscand::PhotonNegDcaXY, sigmapluscand::PhotonNegDcaZ,
383399 sigmapluscand::PhotonPosTpcNClsFindable, sigmapluscand::PhotonNegTpcNClsFindable, sigmapluscand::PhotonPosTpcChi2NCl, sigmapluscand::PhotonNegTpcChi2NCl,
400+ sigmapluscand::MlScore,
384401 sigmapluscand::CollisionIdCheck,
385402 sigmapluscand::IsSignal, sigmapluscand::IsProtonFromSigma, sigmapluscand::IsPhotonFromSigma,
386403 sigmapluscand::DecayRadiusMC, sigmapluscand::MassMC,
0 commit comments