Remove nullptr return on cnvAssociationCollection() when there are no elements.
If no collections are found, it will return an empty edm4hep::<something>AssociationCollection.
ENDRELEASENOTES
This is needed for consistency when using k4LCIOConverter::getCollection(const std::string &name) from outside k4LCIOConverter directly, as it will return a nullptr whereas the other converter functions will return an empty collection by default.
BEGINRELEASENOTES
nullptr
return oncnvAssociationCollection()
when there are no elements.edm4hep::<something>AssociationCollection
.ENDRELEASENOTES
This is needed for consistency when using
k4LCIOConverter::getCollection(const std::string &name)
from outsidek4LCIOConverter
directly, as it will return anullptr
whereas the other converter functions will return an empty collection by default.