@@ -1722,9 +1722,7 @@ struct Lambdastarproxy {
17221722 static_cast <int >(
17231723 trkD.sign ()),
17241724
1725- .tid =
1726- static_cast <int >(
1727- trkD.globalIndex ())});
1725+ .tid = static_cast <int >(trkD.globalIndex ()),.truth = {}});
17281726 if constexpr (IsMC) {
17291727 proxyCands.back ().truth = trackTruth (trkD, collision.mcCollisionId ());
17301728 }
@@ -1787,7 +1785,13 @@ struct Lambdastarproxy {
17871785 const float pyP = ptP * std::sin (phiP);
17881786 const float pzP = ptP * std::sinh (etaP);
17891787
1790- protonCands.push_back (ProtonCand{.px = pxP, .py = pyP, .pz = pzP, .charge = static_cast <int >(trkP.sign ()), .tid = static_cast <int >(trkP.globalIndex ())});
1788+ protonCands.push_back (ProtonCand{
1789+ .px = pxP,
1790+ .py = pyP,
1791+ .pz = pzP,
1792+ .charge = static_cast <int >(trkP.sign ()),
1793+ .tid = static_cast <int >(trkP.globalIndex ()),
1794+ .truth = {}});
17911795 if constexpr (IsMC) {
17921796 protonCands.back ().truth = trackTruth (trkP, collision.mcCollisionId ());
17931797 }
@@ -1858,7 +1862,13 @@ struct Lambdastarproxy {
18581862 const float pyK = ptK * std::sin (phiK);
18591863 const float pzK = ptK * std::sinh (etaK);
18601864
1861- kaonCands.push_back (KaonCand{.px = pxK, .py = pyK, .pz = pzK, .charge = static_cast <int >(trkK.sign ()), .tid = static_cast <int >(trkK.globalIndex ())});
1865+ kaonCands.push_back (KaonCand{
1866+ .px = pxK,
1867+ .py = pyK,
1868+ .pz = pzK,
1869+ .charge = static_cast <int >(trkK.sign ()),
1870+ .tid = static_cast <int >(trkK.globalIndex ()),
1871+ .truth = {}});
18621872 if constexpr (IsMC) {
18631873 kaonCands.back ().truth = trackTruth (trkK, collision.mcCollisionId ());
18641874 }
0 commit comments