diff --git a/converter/include/k4SimDelphes/DelphesEDM4HepOutputConfiguration.h b/converter/include/k4SimDelphes/DelphesEDM4HepOutputConfiguration.h index ae30960..1b2bfd1 100644 --- a/converter/include/k4SimDelphes/DelphesEDM4HepOutputConfiguration.h +++ b/converter/include/k4SimDelphes/DelphesEDM4HepOutputConfiguration.h @@ -81,7 +81,7 @@ namespace k4SimDelphes { * Name of the RecoMCParticleLinkCollection holding the links of * generated to reconstructed particles. */ - std::string RecoMCParticleLinkCollectionName{"MCRecoAssociations"}; + std::string RecoMCParticleLinkCollectionName{"RecoMCLink"}; }; template std::ostream& operator<<(std::ostream& os, std::vector const& container) { @@ -160,7 +160,7 @@ namespace k4SimDelphes { } settings.RecoMCParticleLinkCollectionName = - confReader->GetString("EDM4HepOutput::RecoMCParticleLinkCollectionName", "MCRecoAssociations"); + confReader->GetString("EDM4HepOutput::RecoMCParticleLinkCollectionName", "RecoMCLink"); return settings; } diff --git a/framework/k4SimDelphes/examples/options/edm4hep_output_config.tcl b/framework/k4SimDelphes/examples/options/edm4hep_output_config.tcl index e5e270d..492ae13 100644 --- a/framework/k4SimDelphes/examples/options/edm4hep_output_config.tcl +++ b/framework/k4SimDelphes/examples/options/edm4hep_output_config.tcl @@ -8,5 +8,5 @@ module EDM4HepOutput EDM4HepOutput { add MissingETCollections MissingET add ScalarHTCollections ScalarHT set RecoParticleCollectionName ReconstructedParticles - set MCRecoAssociationCollectionName MCRecoAssociations + set MCRecoAssociationCollectionName RecoMCLink } diff --git a/tests/src/compare_delphes_converter_outputs.cpp b/tests/src/compare_delphes_converter_outputs.cpp index d068425..b16f9d7 100644 --- a/tests/src/compare_delphes_converter_outputs.cpp +++ b/tests/src/compare_delphes_converter_outputs.cpp @@ -397,7 +397,7 @@ int main(int, char* argv[]) { return 1; } - auto& mcRecoAssocColl = frame.get("MCRecoAssociations"); + auto& mcRecoAssocColl = frame.get("RecoMCLink"); compareCollectionElements(tracks, recoColl, "EFlowTrack", 0, mcRecoAssocColl); compareCollectionElements(ecalClusters, recoColl, "EFlowPhoton", tracks->GetEntries(), mcRecoAssocColl);