From dfdc51775ec8e483d20716465cb7f5435d9bb415 Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Thu, 22 Oct 2020 15:27:28 +0200
Subject: [PATCH] xAODPFlow: Missing dictionary.

Need to generate a VectorFactory dictionary for
vector<pair<EL<CaloClusterContainer>, double>>.

See ATEAM-662.
---
 Event/xAOD/xAODPFlow/xAODPFlow/selection.xml   | 1 +
 Event/xAOD/xAODPFlow/xAODPFlow/xAODPFlowDict.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/Event/xAOD/xAODPFlow/xAODPFlow/selection.xml b/Event/xAOD/xAODPFlow/xAODPFlow/selection.xml
index 2c6e4664db7c..5d0b8c7f77f9 100644
--- a/Event/xAOD/xAODPFlow/xAODPFlow/selection.xml
+++ b/Event/xAOD/xAODPFlow/xAODPFlow/selection.xml
@@ -47,6 +47,7 @@
    <class name="std::pair<ElementLink<xAOD::CaloClusterContainer_v1>,double>" />
    <class name="std::vector<std::pair<ElementLink<xAOD::CaloClusterContainer_v1>,double> >" />
    <class name="std::vector<std::vector<std::pair<ElementLink<xAOD::CaloClusterContainer_v1>,double> > >" />
+   <class name="SG::AuxTypeVectorFactory<std::vector<std::pair<ElementLink<xAOD::CaloClusterContainer_v1>,double> > >" />
    <class name="std::vector<xAOD::PFODetails::PFOLeptonType>" />
 
 </lcgdict>
diff --git a/Event/xAOD/xAODPFlow/xAODPFlow/xAODPFlowDict.h b/Event/xAOD/xAODPFlow/xAODPFlow/xAODPFlowDict.h
index 4829da63e9a1..3bf4c8220ddc 100644
--- a/Event/xAOD/xAODPFlow/xAODPFlow/xAODPFlowDict.h
+++ b/Event/xAOD/xAODPFlow/xAODPFlow/xAODPFlowDict.h
@@ -47,6 +47,7 @@ namespace {
      std::vector< std::pair< ElementLink< xAOD::CaloClusterContainer >, double > > FlowElemdummy2;
      std::vector< std::vector< std::pair< ElementLink< xAOD::CaloClusterContainer >, double > > > FlowElemdummy3;
      std::vector< xAOD::PFODetails::PFOLeptonType > FlowElemdummy4;
+     SG::AuxTypeVectorFactory<std::vector< std::pair< ElementLink< xAOD::CaloClusterContainer >, double> > > FlowElemdummy5;
      
 
    };
-- 
GitLab