diff --git a/edm4hep.yaml b/edm4hep.yaml index db960e9c3..a7b8575ef 100644 --- a/edm4hep.yaml +++ b/edm4hep.yaml @@ -243,6 +243,7 @@ datatypes: int32_t set_bit(int32_t val, int num, bool bitval){ return (val & ~(1<\n #include \n " - declaration: "void setMCParticle(edm4hep::MCParticle particle) { setParticle(std::move(particle)); }\n" + declaration: " + [[deprecated("use setParticle instead")]] + void setMCParticle(edm4hep::MCParticle particle) { setParticle(std::move(particle)); }\n + " ExtraCode: includes: "#include \n" - declaration: "edm4hep::MCParticle getMCParticle() const { return getParticle(); }\n" + declaration: " + [[deprecated("use getParticle instead")]] + edm4hep::MCParticle getMCParticle() const { return getParticle(); }\n + " #---------- TrackerPulse edm4hep::TrackerPulse: