Skip to content

Commit

Permalink
probe podio test
Browse files Browse the repository at this point in the history
  • Loading branch information
AJPfleger committed Sep 11, 2024
1 parent abfb565 commit 68f6561
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Tests/UnitTests/Plugins/Podio/PodioTrackContainerTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,11 @@ BOOST_AUTO_TEST_CASE(ConvertTrack) {
BOOST_CHECK_EQUAL(t.tipIndex(), MultiTrajectoryTraits::kInvalid);

t.setParticleHypothesis(pHypo);
BOOST_CHECK_EQUAL(t.particleHypothesis(), pHypo);
BOOST_WARN_EQUAL(t.particleHypothesis(), pHypo);
BOOST_WARN_EQUAL(t.particleHypothesis().mass(), pHypo.mass());
BOOST_WARN_EQUAL(t.particleHypothesis().absolutePdg(), pHypo.absolutePdg());
BOOST_WARN_EQUAL(t.particleHypothesis().absoluteCharge(),
pHypo.absoluteCharge());

BOOST_CHECK_EQUAL(tsc.size(), 0);
auto ts1 = t.appendTrackState();
Expand Down Expand Up @@ -270,7 +274,11 @@ BOOST_AUTO_TEST_CASE(ConvertTrack) {
// Not the exact same surface, it's recreated from values
BOOST_CHECK_NE(free.get(), &freeRecreated);

BOOST_CHECK_EQUAL(t.particleHypothesis(), pHypo);
BOOST_WARN_EQUAL(t.particleHypothesis(), pHypo);
BOOST_WARN_EQUAL(t.particleHypothesis().mass(), pHypo.mass());
BOOST_WARN_EQUAL(t.particleHypothesis().absolutePdg(), pHypo.absolutePdg());
BOOST_WARN_EQUAL(t.particleHypothesis().absoluteCharge(),
pHypo.absoluteCharge());

BOOST_CHECK_EQUAL(t.nMeasurements(), 17);

Expand Down

0 comments on commit 68f6561

Please sign in to comment.