Skip to content

Conversation

@jmcarcell
Copy link
Member

BEGINRELEASENOTES

  • Fix deprecation warnings: do not use MetaDataHandle, FCCDataSvc and PodioOutput

ENDRELEASENOTES

Following key4hep/k4FWCore#318

Comment on lines +88 to +89
auto cellIDEncodingName = podio::collMetadataParamName(m_outHits.objKey(), edm4hep::labels::CellIDEncoding);
k4FWCore::putParameter(cellIDEncodingName, m_segmentation->decoder()->fieldDescription());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be all over the place, I assume, should we add a little helper function that just wraps this? It would potentially be an overload set to cover the various things, but the minimal interface would be something like

void putCellIDEncoding(const std::string& collectionName, const std::string& encodingString);

More overloads could take e.g.

  • a collection handle
  • the segmentation directly
  • combinatorics of these

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants