Skip to content
Snippets Groups Projects
Commit 0ae36507 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'xAODEventFormatCnvFix-master-20201106' into 'master'

xAODEventFormatCnv Fixes, master branch (2020.11.06.)

See merge request atlas/athena!37971
parents c048df39 75e088f9
No related branches found
No related tags found
No related merge requests found
...@@ -3,36 +3,27 @@ ...@@ -3,36 +3,27 @@
# Declare the package name. # Declare the package name.
atlas_subdir( xAODEventFormatCnv ) atlas_subdir( xAODEventFormatCnv )
# Find the necessary "externals".
find_package( xAODUtilities ) find_package( xAODUtilities )
# Set up the "main library" of the package.
atlas_add_component( xAODEventFormatCnv atlas_add_component( xAODEventFormatCnv
src/*.h src/*.cxx src/components/*.cxx src/*.h src/*.cxx src/components/*.cxx
LINK_LIBRARIES LINK_LIBRARIES
GaudiKernel AthenaKernel AthenaBaseComps StoreGateLib xAODEventFormat ) GaudiKernel AthenaKernel AthenaBaseComps StoreGateLib xAODEventFormat )
atlas_add_component( xAODEventFormatCnvTest # Set up the test code of the package.
src/test/*.h src/test/*.cxx
LINK_LIBRARIES
GaudiKernel
AthenaBaseComps
AthContainers
AthContainersInterfaces
StoreGateLib
xAODCore
xAODEventFormat )
atlas_add_library( xAODEventFormatCnvTestLib atlas_add_library( xAODEventFormatCnvTestLib
src/test/*.h src/test/*.cxx xAODEventFormatCnv/test/*.h xAODEventFormatCnv/test/versions/*.h
src/test/A_v1.cxx src/test/AAuxContainer_v1.cxx
PUBLIC_HEADERS xAODEventFormatCnv PUBLIC_HEADERS xAODEventFormatCnv
PRIVATE_INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} LINK_LIBRARIES AthContainers xAODCore
LINK_LIBRARIES PRIVATE_LINK_LIBRARIES AthContainersInterfaces )
GaudiKernel
AthenaKernel atlas_add_component( xAODEventFormatCnvTest
AthContainers src/test/*.h src/test/ACreatorAlg.cxx src/test/EventFormatPrinterAlg.cxx
AthContainersInterfaces LINK_LIBRARIES GaudiKernel AthenaKernel AthenaBaseComps StoreGateLib
xAODCore xAODEventFormat xAODEventFormatCnvTestLib )
xAODEventFormat
PRIVATE_LINK_LIBRARIES AthenaBaseComps StoreGateLib )
atlas_add_poolcnv_library( xAODEventFormatCnvTestAthenaPoolCnv atlas_add_poolcnv_library( xAODEventFormatCnvTestAthenaPoolCnv
src/test/cnv/*.h src/test/cnv/*.cxx src/test/cnv/*.h src/test/cnv/*.cxx
...@@ -46,24 +37,23 @@ atlas_add_poolcnv_library( xAODEventFormatCnvTestAthenaPoolCnv ...@@ -46,24 +37,23 @@ atlas_add_poolcnv_library( xAODEventFormatCnvTestAthenaPoolCnv
xAODMakerTest::AAuxContainer xAODMakerTest::AAuxContainer
CNV_PFX xAODMakerTest CNV_PFX xAODMakerTest
LINK_LIBRARIES LINK_LIBRARIES
GaudiKernel
AthenaKernel
AthenaPoolCnvSvcLib AthenaPoolCnvSvcLib
AthenaPoolUtilities
AthContainers AthContainers
xAODEventFormatCnvTestLib ) xAODEventFormatCnvTestLib )
atlas_add_xaod_smart_pointer_dicts(
INPUT xAODEventFormatCnv/test/selection.xml
OUTPUT _selectionFile
CONTAINERS "xAODMakerTest::AVec_v1" )
atlas_add_dictionary( xAODEventFormatCnvTestDict atlas_add_dictionary( xAODEventFormatCnvTestDict
xAODEventFormatCnv/test/xAODEventFormatCnvTestDict.h xAODEventFormatCnv/test/xAODEventFormatCnvTestDict.h
xAODEventFormatCnv/test/selection.xml
${_selectionFile} ${_selectionFile}
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES xAODCore xAODEventFormatCnvTestLib LINK_LIBRARIES xAODCore xAODEventFormatCnvTestLib
EXTRA_FILES src/test/dict/*.cxx ) EXTRA_FILES src/test/dict/*.cxx )
atlas_add_xaod_smart_pointer_dicts(
INPUT xAODEventFormatCnv/test/selection.xml
OUTPUT _selectionFile
CONTAINERS "xAODMakerTest::AVec_v1" )
# Install files from the package. # Install files from the package.
atlas_install_joboptions( share/*.py ) atlas_install_joboptions( share/*.py )
......
// This file's extension implies that it's C, but it's really -*- C++ -*-. // This file's extension implies that it's C, but it's really -*- C++ -*-.
/* Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ /* Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */
/** /**
* @file xAODEventFormatCnv/test/versions/AAuxContainer_v1.h * @file xAODEventFormatCnv/test/versions/AAuxContainer_v1.h
* @author frank berghaus <fberghaus@anl.gov> * @author frank berghaus <fberghaus@anl.gov>
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
#include "xAODCore/AuxContainerBase.h" #include "xAODCore/AuxContainerBase.h"
#include "xAODCore/BaseInfo.h"
#include "AthContainers/PackedContainer.h" #include "AthContainers/PackedContainer.h"
#include "AthenaKernel/BaseInfo.h"
#include <vector> #include <vector>
......
// This file's extension implies that it's C, but it's really -*- C++ -*-. // This file's extension implies that it's C, but it's really -*- C++ -*-.
/* Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ /* Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */
/** /**
* @file xAODEventFormatCnv/test/versions/A_v1.h * @file xAODEventFormatCnv/test/versions/A_v1.h
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#define XAODEVENTFORMATCNV_TEST_A_V1_H #define XAODEVENTFORMATCNV_TEST_A_V1_H
#include "AthContainers/AuxElement.h" #include "AthContainers/AuxElement.h"
#include "AthenaKernel/BaseInfo.h" #include "xAODCore/BaseInfo.h"
namespace xAODMakerTest { namespace xAODMakerTest {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment