From ead35ff01673c3f4d03df471aef3bc2d0859a9c5 Mon Sep 17 00:00:00 2001 From: tmadlener Date: Tue, 23 Jan 2024 13:48:02 +0100 Subject: [PATCH] Rename MCParticle relations to particle Avoids clash with type-name --- edm4hep.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/edm4hep.yaml b/edm4hep.yaml index 14cd2983f..48e1b088c 100644 --- a/edm4hep.yaml +++ b/edm4hep.yaml @@ -233,13 +233,14 @@ datatypes: - edm4hep::Vector3d position //the hit position in [mm]. - edm4hep::Vector3f momentum //the 3-momentum of the particle at the hits position in [GeV] OneToOneRelations: - - edm4hep::MCParticle MCParticle //MCParticle that caused the hit. + - edm4hep::MCParticle particle //MCParticle that caused the hit. MutableExtraCode: includes: "#include " declaration: " int32_t set_bit(int32_t val, int num, bool bitval){ return (val & ~(1<