Skip to content
Snippets Groups Projects
Commit 9ba33417 authored by Attila Krasznahorkay's avatar Attila Krasznahorkay
Browse files

Made xAODTrackingCnv build as part of AthAnalysis.

Following the setup in 21.2, the package only builds one
tool for AthAnalysis. The one used by xAODTrackingAthenaPool
in this project (as well).
parent 96d88923
No related branches found
No related tags found
No related merge requests found
......@@ -3,17 +3,34 @@
# Declare the package name:
atlas_subdir( xAODTrackingCnv )
# Component(s) in the package:
atlas_add_library( xAODTrackingCnvLib
xAODTrackingCnv/*.h
INTERFACE
PUBLIC_HEADERS xAODTrackingCnv
LINK_LIBRARIES xAODTracking TrkTrack GaudiKernel )
atlas_add_component( xAODTrackingCnv
src/*.h src/*.cxx src/components/*.cxx
LINK_LIBRARIES xAODTracking TrkTrack AthenaBaseComps AthenaKernel
EventPrimitives GaudiKernel GeneratorObjects MCTruthClassifierLib Particle
ParticleTruth TrkLinks TrkParticleBase TrkTruthData VxVertex
TrkToolInterfaces xAODCore xAODTrackingCnvLib
PRIVATE_LINK_LIBRARIES CxxUtils )
# Component(s) in the package. Built in a much more lightweight fashion for
# AthAnalysis.
if( XAOD_ANALYSIS )
atlas_add_library( xAODTrackingCnvLib
xAODTrackingCnv/ITrackParticleCompressorTool.h
INTERFACE
PUBLIC_HEADERS xAODTrackingCnv
LINK_LIBRARIES xAODTracking GaudiKernel )
atlas_add_component( xAODTrackingCnv
src/TrackParticleCompressorTool.* src/components/*.cxx
LINK_LIBRARIES AthenaBaseComps CxxUtils xAODTrackingCnvLib )
else()
atlas_add_library( xAODTrackingCnvLib
xAODTrackingCnv/*.h
INTERFACE
PUBLIC_HEADERS xAODTrackingCnv
LINK_LIBRARIES xAODTracking TrkTrack GaudiKernel )
atlas_add_component( xAODTrackingCnv
src/*.h src/*.cxx src/components/*.cxx
LINK_LIBRARIES xAODTracking TrkTrack AthenaBaseComps AthenaKernel
EventPrimitives GaudiKernel GeneratorObjects MCTruthClassifierLib Particle
ParticleTruth TrkLinks TrkParticleBase TrkTruthData VxVertex
TrkToolInterfaces xAODCore xAODTrackingCnvLib
PRIVATE_LINK_LIBRARIES CxxUtils )
endif()
#include "../TrackCollectionCnvTool.h"
#include "../RecTrackParticleContainerCnvTool.h"
#include "../TrackParticleCnvAlg.h"
#include "../VertexCnvAlg.h"
//
// Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
//
#ifndef XAOD_ANALYSIS
# include "../TrackCollectionCnvTool.h"
# include "../RecTrackParticleContainerCnvTool.h"
# include "../TrackParticleCnvAlg.h"
# include "../VertexCnvAlg.h"
#endif // NOT XAOD_ANALYSIS
#include "../TrackParticleCompressorTool.h"
DECLARE_COMPONENT( xAODMaker::RecTrackParticleContainerCnvTool )
DECLARE_COMPONENT( xAODMaker::TrackCollectionCnvTool )
#ifndef XAOD_ANALYSIS
DECLARE_COMPONENT( xAODMaker::RecTrackParticleContainerCnvTool )
DECLARE_COMPONENT( xAODMaker::TrackCollectionCnvTool )
DECLARE_COMPONENT( xAODMaker::TrackParticleCnvAlg )
DECLARE_COMPONENT( xAODMaker::VertexCnvAlg )
#endif // NOT XAOD_ANALYSIS
DECLARE_COMPONENT( xAODMaker::TrackParticleCompressorTool )
DECLARE_COMPONENT( xAODMaker::TrackParticleCnvAlg )
DECLARE_COMPONENT( xAODMaker::VertexCnvAlg )
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