diff --git a/test/utils/test_PIDHandler.cpp b/test/utils/test_PIDHandler.cpp index a38680f29..9e60195d5 100644 --- a/test/utils/test_PIDHandler.cpp +++ b/test/utils/test_PIDHandler.cpp @@ -74,6 +74,14 @@ void checkHandlerValidReco(const edm4hep::utils::PIDHandler& handler, const edm4 } } +TEST_CASE("ParticleIDMeta constructor") { + using namespace edm4hep::utils; + + ParticleIDMeta pidMeta{"name", {}}; + REQUIRE(pidMeta.algoName == "name"); + REQUIRE(pidMeta.algoType() == -609270800); // 32 bit MurmurHash3 of "name" +} + TEST_CASE("PIDHandler basics", "[pid_utils]") { using namespace edm4hep;