diff --git a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/CMakeLists.txt b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/CMakeLists.txt index 8cb13e05fa0b5ab7df0c65b45115e99c31b5a342..244cbce559b0a2a66d018ad52cb63cc86df27b71 100644 --- a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/CMakeLists.txt +++ b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/CMakeLists.txt @@ -10,7 +10,7 @@ atlas_depends_on_subdirs( PRIVATE Control/AthenaBaseComps Control/AthenaKernel Control/CLIDSvc - Control/DataModel + Control/AthContainers Control/SGTools Event/EventKernel Event/EventPrimitives @@ -43,7 +43,7 @@ atlas_add_component( JetTagD3PDMaker src/*.cxx src/components/*.cxx INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} - LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthenaKernel DataModel SGTools EventKernel EventPrimitives GaudiKernel GeneratorObjects InDetIdentifier InDetReadoutGeometry D3PDMakerUtils JetTagEvent JetTagInfo MuonIDEvent McParticleEvent JetEvent muonEvent Particle egammaEvent TrkParticleBase VxJetVertex VxSecVertex VxVertex TrkVertexFitterInterfaces ) + LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthenaKernel AthContainers SGTools EventKernel EventPrimitives GaudiKernel GeneratorObjects InDetIdentifier InDetReadoutGeometry D3PDMakerUtils JetTagEvent JetTagInfo MuonIDEvent McParticleEvent JetEvent muonEvent Particle egammaEvent TrkParticleBase VxJetVertex VxSecVertex VxVertex TrkVertexFitterInterfaces ) # Install files from the package: atlas_install_python_modules( python/*.py ) diff --git a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/cmt/requirements b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/cmt/requirements index e454f5f36357cc294670a697297f7b3e260cd9e4..0a57816a7680d29455e3689b21f1401a19edd519 100644 --- a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/cmt/requirements +++ b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/cmt/requirements @@ -13,7 +13,7 @@ use AtlasBoost AtlasBoost-* External use AtlasHepMC AtlasHepMC-* External use AthenaKernel AthenaKernel-* Control -use DataModel DataModel-* Control +use AthContainers AthContainers-* Control use AthenaBaseComps AthenaBaseComps-* Control use CLIDSvc CLIDSvc-* Control #use StoreGate StoreGate-* Control diff --git a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagJetFilterAlg.cxx b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagJetFilterAlg.cxx index b03224ca30c2cc79393bdd276ab8c6347031ea63..d911837f61c1102643c94c609f32003e8644ae7e 100644 --- a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagJetFilterAlg.cxx +++ b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagJetFilterAlg.cxx @@ -8,7 +8,7 @@ #include "AthenaKernel/errorcheck.h" #include "EventKernel/ISignalState.h" #include "EventKernel/SignalStateHelper.h" -#include "DataModel/ConstDataVector.h" +#include "AthContainers/ConstDataVector.h" namespace D3PD { diff --git a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagPixelModCondFillerTool.cxx b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagPixelModCondFillerTool.cxx index 72a112783942e25354d4558849032f86c8737137..039557694038b40107c5d812ce56a4a7cfd57ec6 100644 --- a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagPixelModCondFillerTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagPixelModCondFillerTool.cxx @@ -34,26 +34,16 @@ JetTagPixelModCondFillerTool::JetTagPixelModCondFillerTool */ StatusCode JetTagPixelModCondFillerTool::initialize() { + ATH_CHECK( detStore()->retrieve( m_pixId,"PixelID") ); - if( StatusCode::SUCCESS != detStore()->retrieve( m_pixId,"PixelID") || m_pixId==0 ){ - ATH_MSG_FATAL( "Unable to retrieve pixel ID helper" ); + if( m_pixelCondSummarySvc.empty() ){ + ATH_MSG_FATAL( "PixelConditionsSummarySvc not configured " ); + ATH_MSG_FATAL( "you need to configure PixelConditionsSummarySvc to be able to dump pixel condition " ); return StatusCode::FAILURE; } - if( m_pixelCondSummarySvc.empty() ){ - msg(MSG::FATAL) << "PixelConditionsSummarySvc not configured " << endreq; - msg(MSG::FATAL) << "you need to configure PixelConditionsSummarySvc to be able to dump pixel condition " << endreq; - return StatusCode::FAILURE; - } - - - if ( m_pixelCondSummarySvc.retrieve().isFailure() ) { - msg(MSG::FATAL) << "Failed to retrieve service " << m_pixelCondSummarySvc << endreq; - return StatusCode::FAILURE; - } else { - msg(MSG::INFO) << "Retrieved service " << m_pixelCondSummarySvc << endreq; - } - + ATH_CHECK( m_pixelCondSummarySvc.retrieve() ); + ATH_MSG_INFO( "Retrieved service " << m_pixelCondSummarySvc ); return StatusCode::SUCCESS; } diff --git a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagPixelModuleGetterTool.cxx b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagPixelModuleGetterTool.cxx index 9eccc906307a17678a310f8c49db9af369ae8727..08011b4ae15bc78d3c2c0bb001e3cb551d5153b8 100644 --- a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagPixelModuleGetterTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagPixelModuleGetterTool.cxx @@ -22,18 +22,10 @@ JetTagPixelModuleGetterTool::JetTagPixelModuleGetterTool StatusCode JetTagPixelModuleGetterTool::initialize() { - -CHECK( Base::initialize() ); - - if(StatusCode::SUCCESS !=detStore()->retrieve(m_pixMan, "Pixel") || m_pixMan==0){ - msg(MSG::FATAL) << "Could not find Pixel manager "<<endreq; - return StatusCode::FAILURE; - } - msg(MSG::INFO) << "Pixel manager retrieved" << endreq; - - + ATH_CHECK( Base::initialize() ); + ATH_CHECK( detStore()->retrieve(m_pixMan, "Pixel") ); + ATH_MSG_INFO( "Pixel manager retrieved" ); return StatusCode::SUCCESS; - } diff --git a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagTwoTrackVertexCandidateHolder.h b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagTwoTrackVertexCandidateHolder.h index 2b9dc5096fbb81e8c76f7e0d1978caf2caade6d0..0016a6fa94569c3b6be94ea19dd60a48e222106f 100644 --- a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagTwoTrackVertexCandidateHolder.h +++ b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagTwoTrackVertexCandidateHolder.h @@ -13,7 +13,7 @@ #define JetTagD3PDMaker_JetTagTwoTrackVertexCandidateHolder_H -#include "DataModel/DataVector.h" +#include "AthContainers/DataVector.h" #include "CLIDSvc/CLASS_DEF.h" namespace Trk{ diff --git a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagVxOnJetAxisCandidateHolder.h b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagVxOnJetAxisCandidateHolder.h index 5ef815a548232e8e1931e493457c71a6f8415b6c..0709f4fd329abcfdd1b586dc9f84152f386efd71 100644 --- a/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagVxOnJetAxisCandidateHolder.h +++ b/PhysicsAnalysis/D3PDMaker/JetTagD3PDMaker/src/JetTagVxOnJetAxisCandidateHolder.h @@ -2,6 +2,7 @@ Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration */ + /** * @file JetTagD3PDMaker/src/JetTagVxOnJetAxisCandidateHolder.h * @author Georges Aad @@ -13,7 +14,7 @@ #define JetTagD3PDMaker_JetTagVxOnJetAxisCandidateHolder_H -#include "DataModel/DataVector.h" +#include "AthContainers/DataVector.h" #include "CLIDSvc/CLASS_DEF.h" namespace Trk{