Migrate converter generation to Gaudi v30r2
In recent Gaudi versions the component declaration got a whole lot simpler and Gaudi v30r2 will drop the old macros (gaudi/Gaudi!420 (merged)). In particular:
-
DECLARE_FACTORY_ENTRIES
is no longer needed (and with this there is no longer a separate footer needed for the_entries
file) -
_load
and_entries.h
files are no longer needed - Use
DECLARE_CONVERTER
to declare converter
Tested by recompiling all the relevant athena packages making use of poolcnv
or sercnv
.
DECLARE_CONVERTER
macro
cc @leggett
Here is an example of the new (and only) "components file":
> cat Event/xAOD/xAODCoreAthenaPool/xAODCoreAthenaPoolPoolCnv_entries.cxx
// Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
//
// Skeleton file for the entries implementation file generated by
// atlas_add_poolcnv.
//
// Declaration of the components:
#include "xAODAuxInfoBaseCnv.h"
DECLARE_CONVERTER( xAODAuxInfoBaseCnv )
#include "xAODAuxContainerBaseCnv.h"
DECLARE_CONVERTER( xAODAuxContainerBaseCnv )
#include "xAODShallowAuxContainerCnv.h"
DECLARE_CONVERTER( xAODShallowAuxContainerCnv )
#include "xAODShallowAuxInfoCnv.h"
DECLARE_CONVERTER( xAODShallowAuxInfoCnv )
Edited by Frank Winklmeier