From 1e7f7c7837e1772b5db273387d4f00250e08a07b Mon Sep 17 00:00:00 2001 From: christos <christos@cern.ch> Date: Wed, 9 Sep 2020 19:12:41 +0100 Subject: [PATCH] FlowElement inherits from IParticle, let the relevant data vector know about it --- Event/xAOD/xAODPFlow/xAODPFlow/versions/FlowElement_v1.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Event/xAOD/xAODPFlow/xAODPFlow/versions/FlowElement_v1.h b/Event/xAOD/xAODPFlow/xAODPFlow/versions/FlowElement_v1.h index 13927118c09..79b43c8094e 100644 --- a/Event/xAOD/xAODPFlow/xAODPFlow/versions/FlowElement_v1.h +++ b/Event/xAOD/xAODPFlow/xAODPFlow/versions/FlowElement_v1.h @@ -149,5 +149,9 @@ namespace xAOD { }; } +// Declare IParticle as a base class of FlowElement_v1: +#include "AthContainers/DataVector.h" +DATAVECTOR_BASE( xAOD::FlowElement_v1, xAOD::IParticle ); + #endif -- GitLab