forked from key4hep/EDM4hep
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace Link datatypes with type defs
- Loading branch information
Showing
12 changed files
with
142 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#include "edm4hep/CaloHitMCParticleLinkCollection.h" | ||
#include "edm4hep/CaloHitSimCaloHitLinkCollection.h" | ||
#include "edm4hep/ClusterMCParticleLinkCollection.h" | ||
#include "edm4hep/RecoMCParticleLinkCollection.h" | ||
#include "edm4hep/TrackMCParticleLinkCollection.h" | ||
#include "edm4hep/TrackerHitSimTrackerHitLinkCollection.h" | ||
#include "edm4hep/VertexRecoParticleLinkCollection.h" | ||
|
||
PODIO_DECLARE_LINK(edm4hep::ReconstructedParticle, edm4hep::MCParticle) | ||
PODIO_DECLARE_LINK(edm4hep::TrackerHit, edm4hep::SimTrackerHit) | ||
PODIO_DECLARE_LINK(edm4hep::Track, edm4hep::MCParticle) | ||
PODIO_DECLARE_LINK(edm4hep::Cluster, edm4hep::MCParticle) | ||
PODIO_DECLARE_LINK(edm4hep::CalorimeterHit, edm4hep::SimCalorimeterHit) | ||
PODIO_DECLARE_LINK(edm4hep::CalorimeterHit, edm4hep::MCParticle) | ||
PODIO_DECLARE_LINK(edm4hep::Vertex, edm4hep::ReconstructedParticle) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef EDM4HEP_CALOHITMCPARTICLELINKCOLLECTION_H | ||
#define EDM4HEP_CALOHITMCPARTICLELINKCOLLECTION_H | ||
|
||
#include <podio/LinkCollection.h> | ||
|
||
#include <edm4hep/CalorimeterHitCollection.h> | ||
#include <edm4hep/MCParticleCollection.h> | ||
|
||
namespace edm4hep { | ||
using CaloHitMCParticleLinkCollection = podio::LinkCollection<edm4hep::CalorimeterHit, edm4hep::MCParticle>; | ||
} // namespace edm4hep | ||
|
||
#endif // EDM4HEP_CALOHITMCPARTICLELINKCOLLECTION_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef EDM4HEP_CALOHITSIMCALOHITLINKCOLLECTION_H | ||
#define EDM4HEP_CALOHITSIMCALOHITLINKCOLLECTION_H | ||
|
||
#include <podio/LinkCollection.h> | ||
|
||
#include <edm4hep/CalorimeterHitCollection.h> | ||
#include <edm4hep/SimCalorimeterHitCollection.h> | ||
|
||
namespace edm4hep { | ||
using CaloHitSimCaloHitLinkCollection = podio::LinkCollection<edm4hep::CalorimeterHit, edm4hep::SimCalorimeterHit>; | ||
} // namespace edm4hep | ||
|
||
#endif // EDM4HEP_CALOHITSIMCALOHITLINKCOLLECTION_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef EDM4HEP_CLUSTERMCPARTICLELINKCOLLECTION_H | ||
#define EDM4HEP_CLUSTERMCPARTICLELINKCOLLECTION_H | ||
|
||
#include <podio/LinkCollection.h> | ||
|
||
#include <edm4hep/ClusterCollection.h> | ||
#include <edm4hep/MCParticleCollection.h> | ||
|
||
namespace edm4hep { | ||
using ClusterMCParticleLinkCollection = podio::LinkCollection<edm4hep::Cluster, edm4hep::MCParticle>; | ||
} // namespace edm4hep | ||
|
||
#endif // EDM4HEP_CLUSTERMCPARTICLELINKCOLLECTION_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef EDM4HEP_RECOMCPARTICLELINKCOLLECTION_H | ||
#define EDM4HEP_RECOMCPARTICLELINKCOLLECTION_H | ||
|
||
#include <podio/LinkCollection.h> | ||
|
||
#include <edm4hep/MCParticleCollection.h> | ||
#include <edm4hep/ReconstructedParticleCollection.h> | ||
|
||
namespace edm4hep { | ||
using RecoMCParticleLinkCollection = podio::LinkCollection<edm4hep::ReconstructedParticle, edm4hep::MCParticle>; | ||
} // namespace edm4hep | ||
|
||
#endif // EDM4HEP_RECOMCPARTICLELINKCOLLECTION_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef EDM4HEP_TRACKMCPARTICLELINKCOLLECTION_H | ||
#define EDM4HEP_TRACKMCPARTICLELINKCOLLECTION_H | ||
|
||
#include <podio/LinkCollection.h> | ||
|
||
#include <edm4hep/MCParticleCollection.h> | ||
#include <edm4hep/TrackCollection.h> | ||
|
||
namespace edm4hep { | ||
using TrackMCParticleLinkCollection = podio::LinkCollection<edm4hep::Track, edm4hep::MCParticle>; | ||
} // namespace edm4hep | ||
|
||
#endif // EDM4HEP_CLUSTERMCPARTICLELINKCOLLECTION_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef EDM4HEP_TRACKERHITSIMTRACKERHITLINKCOLLECTION_H | ||
#define EDM4HEP_TRACKERHITSIMTRACKERHITLINKCOLLECTION_H | ||
|
||
#include <podio/LinkCollection.h> | ||
|
||
#include <edm4hep/SimTrackerHitCollection.h> | ||
#include <edm4hep/TrackerHit.h> | ||
|
||
namespace edm4hep { | ||
using TrackerHitSimTrackerHitLinkCollection = podio::LinkCollection<edm4hep::TrackerHit, edm4hep::SimTrackerHit>; | ||
} // namespace edm4hep | ||
|
||
#endif // EDM4HEP_TRACKERHITSIMTRACKERHITLINKCOLLECTION_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#ifndef EDM4HEP_CLUSTERRECONSTRUCTEDPARTICLELINKCOLLECTION_H | ||
#define EDM4HEP_CLUSTERRECONSTRUCTEDPARTICLELINKCOLLECTION_H | ||
|
||
#include <podio/LinkCollection.h> | ||
|
||
#include <edm4hep/ReconstructedParticleCollection.h> | ||
#include <edm4hep/VertexCollection.h> | ||
|
||
namespace edm4hep { | ||
using VertexRecoParticleLinkCollection = podio::LinkCollection<edm4hep::Vertex, edm4hep::ReconstructedParticle>; | ||
} // namespace edm4hep | ||
|
||
#endif // EDM4HEP_CLUSTERRECONSTRUCTEDPARTICLELINKCOLLECTION_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.