Skip to content

Commit

Permalink
Remove association that will be removed in EDM4hep (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener authored Jun 27, 2024
1 parent 7ab25a5 commit 6f0c538
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include "edm4hep/MCRecoParticleAssociationCollection.h"
#include "edm4hep/MCRecoTrackParticleAssociationCollection.h"
#include "edm4hep/MCRecoTrackerAssociationCollection.h"
#include "edm4hep/MCRecoTrackerHitPlaneAssociationCollection.h"
#include "edm4hep/ParticleIDCollection.h"
#include "edm4hep/RawCalorimeterHitCollection.h"
#include "edm4hep/RawTimeSeriesCollection.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -874,14 +874,6 @@ createAssociations(const ObjectMappingT& typeMapping,
auto mc_a = createAssociationCollection<edm4hep::MCRecoTrackerAssociationCollection, false>(
relations, typeMapping.simTrackerHits, typeMapping.trackerHits);
assoCollVec.emplace_back(name, std::move(mc_a));
} else if (fromType == "SimTrackerHit" && toType == "TrackerHitPlane") {
auto mc_a = createAssociationCollection<edm4hep::MCRecoTrackerHitPlaneAssociationCollection, false>(
relations, typeMapping.simTrackerHits, typeMapping.trackerHitPlanes);
assoCollVec.emplace_back(name, std::move(mc_a));
} else if (fromType == "TrackerHitPlane" && toType == "SimTrackerHit") {
auto mc_a = createAssociationCollection<edm4hep::MCRecoTrackerHitPlaneAssociationCollection, true>(
relations, typeMapping.trackerHitPlanes, typeMapping.simTrackerHits);
assoCollVec.emplace_back(name, std::move(mc_a));
} else if (fromType == "ReconstructedParticle" && toType == "Vertex") {
auto mc_a = createAssociationCollection<edm4hep::RecoParticleVertexAssociationCollection, true>(
relations, typeMapping.recoParticles, typeMapping.vertices);
Expand Down
1 change: 0 additions & 1 deletion tests/src/CompareEDM4hepLCIO.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include "edm4hep/MCRecoParticleAssociationCollection.h"
#include "edm4hep/MCRecoTrackParticleAssociationCollection.h"
#include "edm4hep/MCRecoTrackerAssociationCollection.h"
#include "edm4hep/MCRecoTrackerHitPlaneAssociationCollection.h"
#include "edm4hep/ParticleIDCollection.h"
#include "edm4hep/RawCalorimeterHitCollection.h"
#include "edm4hep/RawTimeSeriesCollection.h"
Expand Down

0 comments on commit 6f0c538

Please sign in to comment.