Skip to content

Commit

Permalink
Switch to new link type names
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Jul 30, 2024
1 parent 0cc34de commit 3a943df
Showing 1 changed file with 14 additions and 22 deletions.
36 changes: 14 additions & 22 deletions k4FWCore/components/CollectionMerger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@

#include "edm4hep/edm4hep.h"

#include "edm4hep/MCRecoCaloAssociationCollection.h"
#include "edm4hep/MCRecoCaloParticleAssociationCollection.h"
#include "edm4hep/MCRecoClusterParticleAssociationCollection.h"
#include "edm4hep/MCRecoParticleAssociationCollection.h"
#include "edm4hep/MCRecoTrackParticleAssociationCollection.h"
#include "edm4hep/MCRecoTrackerAssociationCollection.h"
#include "edm4hep/RecoParticleVertexAssociationCollection.h"

#include "k4FWCore/Transformer.h"

#include <map>
Expand Down Expand Up @@ -77,20 +69,20 @@ struct CollectionMerger final : k4FWCore::Transformer<std::shared_ptr<podio::Col
m_map["edm4hep::VertexCollection"] = &CollectionMerger::mergeCollections<edm4hep::VertexCollection>;
m_map["edm4hep::ReconstructedParticleCollection"] =
&CollectionMerger::mergeCollections<edm4hep::ReconstructedParticleCollection>;
m_map["edm4hep::MCRecoParticleAssociationCollection"] =
&CollectionMerger::mergeCollections<edm4hep::MCRecoParticleAssociationCollection>;
m_map["edm4hep::MCRecoCaloAssociationCollection"] =
&CollectionMerger::mergeCollections<edm4hep::MCRecoCaloAssociationCollection>;
m_map["edm4hep::MCRecoTrackerAssociationCollection"] =
&CollectionMerger::mergeCollections<edm4hep::MCRecoTrackerAssociationCollection>;
m_map["edm4hep::MCRecoCaloParticleAssociationCollection"] =
&CollectionMerger::mergeCollections<edm4hep::MCRecoCaloParticleAssociationCollection>;
m_map["edm4hep::MCRecoClusterParticleAssociationCollection"] =
&CollectionMerger::mergeCollections<edm4hep::MCRecoClusterParticleAssociationCollection>;
m_map["edm4hep::MCRecoTrackParticleAssociationCollection"] =
&CollectionMerger::mergeCollections<edm4hep::MCRecoTrackParticleAssociationCollection>;
m_map["edm4hep::RecoParticleVertexAssociationCollection"] =
&CollectionMerger::mergeCollections<edm4hep::RecoParticleVertexAssociationCollection>;
m_map["edm4hep::RecoMCParticleLinkCollection"] =
&CollectionMerger::mergeCollections<edm4hep::RecoMCParticleLinkCollection>;
m_map["edm4hep::CaloHitSimCaloHitLinkCollection"] =
&CollectionMerger::mergeCollections<edm4hep::CaloHitSimCaloHitLinkCollection>;
m_map["edm4hep::TrackerHitSimTrackerHitLinkCollection"] =
&CollectionMerger::mergeCollections<edm4hep::TrackerHitSimTrackerHitLinkCollection>;
m_map["edm4hep::CaloHitMCParticleLinkCollection"] =
&CollectionMerger::mergeCollections<edm4hep::CaloHitMCParticleLinkCollection>;
m_map["edm4hep::ClusterMCParticleLinkCollection"] =
&CollectionMerger::mergeCollections<edm4hep::ClusterMCParticleLinkCollection>;
m_map["edm4hep::TrackMCParticleLinkCollection"] =
&CollectionMerger::mergeCollections<edm4hep::TrackMCParticleLinkCollection>;
m_map["edm4hep::VertexRecoParticleLinkCollection"] =
&CollectionMerger::mergeCollections<edm4hep::VertexRecoParticleLinkCollection>;
m_map["edm4hep::TimeSeriesCollection"] = &CollectionMerger::mergeCollections<edm4hep::TimeSeriesCollection>;
m_map["edm4hep::RecDqdxCollection"] = &CollectionMerger::mergeCollections<edm4hep::RecDqdxCollection>;
m_map["edm4hep::GeneratorEventParametersCollection"] =
Expand Down

0 comments on commit 3a943df

Please sign in to comment.