diff --git a/Event/xAOD/xAODPFlow/CMakeLists.txt b/Event/xAOD/xAODPFlow/CMakeLists.txt
index aad1df5cc8821a989496f804d7fe67ec1d385b9c..d5a3754372bfaee2640cf386b2518e4d332f378d 100644
--- a/Event/xAOD/xAODPFlow/CMakeLists.txt
+++ b/Event/xAOD/xAODPFlow/CMakeLists.txt
@@ -25,3 +25,5 @@ atlas_add_dictionary( xAODPFlowDict
    ${_selectionFile}
    LINK_LIBRARIES AthLinks xAODCore xAODPFlow
    EXTRA_FILES Root/dict/*.cxx )
+
+atlas_generate_cliddb( xAODPFlow)
\ No newline at end of file
diff --git a/Event/xAOD/xAODPFlow/Root/clids.cxx b/Event/xAOD/xAODPFlow/Root/clids.cxx
new file mode 100644
index 0000000000000000000000000000000000000000..2c9289573aec5fd965d76bb030f2e5f81128debb
--- /dev/null
+++ b/Event/xAOD/xAODPFlow/Root/clids.cxx
@@ -0,0 +1,11 @@
+/*
+  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
+*/
+
+// Ensure that the  headers for the interface classes get included
+// by some object in this library, so that CLID registration will take
+// place properly.
+
+#include "xAODPFlow/FlowElementContainer.h"
+#include "xAODPFlow/PFOContainer.h"
+#include "xAODPFlow/TrackCaloClusterContainer.h"