From 71bac479e95eab29ee1eb4ea1109f2a0abae0b97 Mon Sep 17 00:00:00 2001 From: tmadlener Date: Wed, 27 Sep 2023 17:34:09 +0200 Subject: [PATCH] Improve log output for subset collection conversion --- .../include/k4EDM4hep2LcioConv/k4Lcio2EDM4hepConv.ipp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4Lcio2EDM4hepConv.ipp b/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4Lcio2EDM4hepConv.ipp index ee3da7ed..5212136d 100644 --- a/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4Lcio2EDM4hepConv.ipp +++ b/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4Lcio2EDM4hepConv.ipp @@ -73,7 +73,8 @@ namespace LCIO2EDM4hepConv { edm4hepColl->push_back(edm4hepElem.value()); } else { - std::cerr << "Cannot find corresponding EDM4hep object for an LCIO object in a subset collection" << std::endl; + std::cerr << "Cannot find corresponding EDM4hep object for an LCIO object in a subset collection of type " + << Edm4hepT::collection_type::valueTypeName << std::endl; } }