diff --git a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMuons/CMakeLists.txt b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMuons/CMakeLists.txt index 32a0c0cea2c398e2812f4858966327bc7012acb2..1cff0de860dccf00883eeaf3d730fab3e0747a29 100644 --- a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMuons/CMakeLists.txt +++ b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMuons/CMakeLists.txt @@ -4,15 +4,19 @@ atlas_subdir( DerivationFrameworkMuons ) # External dependencies: -find_package( CLHEP ) find_package( ROOT COMPONENTS Core MathCore ) # Component(s) in the package: -atlas_add_component( DerivationFrameworkMuons +#the library is used by the MCP software https://gitlab.cern.ch/atlas-mcp/MuonPerformanceAnalysis +atlas_add_library( DerivationFrameworkMuonsLib DerivationFrameworkMuons/*.h src/*.cxx src/components/*.cxx - INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} - LINK_LIBRARIES ${CLHEP_LIBRARIES} ${ROOT_LIBRARIES} AsgTools AthContainers AthenaBaseComps AthenaKernel CaloEvent CaloGeoHelpers DerivationFrameworkInterfaces ExpressionEvaluationLib FourMomUtils GaudiKernel ICaloTrkMuIdTools InDetTrackSelectionToolLib MCTruthClassifierLib RecoToolInterfaces TrigDecisionToolLib TrigMuonMatchingLib TrkExInterfaces TrkParameters TrkSurfaces muonEvent xAODBase xAODCaloEvent xAODEventInfo xAODJet xAODMuon xAODPrimitives xAODTracking xAODTruth ) + PUBLIC_HEADERS DerivationFrameworkMuons + INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} + LINK_LIBRARIES ${ROOT_LIBRARIES} AsgTools AthContainers AthenaBaseComps AthenaKernel CaloEvent CaloGeoHelpers DerivationFrameworkInterfaces ExpressionEvaluationLib FourMomUtils GaudiKernel ICaloTrkMuIdTools InDetTrackSelectionToolLib MCTruthClassifierLib RecoToolInterfaces TrigDecisionToolLib TrigMuonMatchingLib TrkExInterfaces TrkParameters TrkSurfaces muonEvent xAODBase xAODCaloEvent xAODEventInfo xAODJet xAODMuon xAODPrimitives xAODTracking xAODTruth ) +atlas_add_component( DerivationFrameworkMuons + src/components/*.cxx + LINK_LIBRARIES GaudiKernel DerivationFrameworkMuonsLib ) # Install files from the package: atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} ) atlas_install_joboptions( share/*.py ) diff --git a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMuons/src/MuonIDCovMatrixDecorator.cxx b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMuons/src/MuonIDCovMatrixDecorator.cxx index 17ea939aac6a2bb6816134155e2b61b5fc5b8199..239e97886ee768e24c0cdbc3efdd50f5497f78ef 100644 --- a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMuons/src/MuonIDCovMatrixDecorator.cxx +++ b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMuons/src/MuonIDCovMatrixDecorator.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ ///////////////////////////////////////////////////////////////// @@ -13,7 +13,6 @@ #include <vector> #include <string> #include <memory> -#include "CLHEP/Units/SystemOfUnits.h" #include "xAODMuon/MuonContainer.h" // Constructor diff --git a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMuons/src/dimuonTaggingTool.cxx b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMuons/src/dimuonTaggingTool.cxx index f801b3a1dd481b47f3e143eecc259da267ab88da..3893f44f582c12f2223743068bda65da8cc409bf 100644 --- a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMuons/src/dimuonTaggingTool.cxx +++ b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMuons/src/dimuonTaggingTool.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ ///////////////////////////////////////////////////////////////// @@ -12,7 +12,7 @@ #include <string> #include <memory> -#include "CLHEP/Units/SystemOfUnits.h" +#include "GaudiKernel/SystemOfUnits.h" #include "xAODEventInfo/EventInfo.h" #include "xAODTracking/TrackingPrimitives.h" @@ -59,8 +59,8 @@ DerivationFramework::dimuonTaggingTool::dimuonTaggingTool(const std::string& t, declareProperty("OppositeCharge", m_requireOS=true); declareProperty("PairDPhiMin", m_dPhiMin=-1); - declareProperty("InvariantMassLow", m_invariantMassLow=2.0*CLHEP::GeV); - declareProperty("InvariantMassHigh", m_invariantMassHigh=4.3*CLHEP::GeV); + declareProperty("InvariantMassLow", m_invariantMassLow=2.0*Gaudi::Units::GeV); + declareProperty("InvariantMassHigh", m_invariantMassHigh=4.3*Gaudi::Units::GeV); declareProperty("IDTrackThinningConeSize", m_thinningConeSize=0.4); declareProperty("BranchPrefix", m_br_prefix=""); diff --git a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMuons/src/isolationDecorator.cxx b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMuons/src/isolationDecorator.cxx index 409718f925a04d81f51780817a7975401aa1f07f..68ab34c29e901129375467af7a9958d11aad66e5 100644 --- a/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMuons/src/isolationDecorator.cxx +++ b/PhysicsAnalysis/DerivationFramework/DerivationFrameworkMuons/src/isolationDecorator.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ ///////////////////////////////////////////////////////////////// @@ -11,8 +11,6 @@ #include <vector> #include <string> -#include "CLHEP/Units/SystemOfUnits.h" - #include "xAODEventInfo/EventInfo.h" #include "xAODTracking/TrackingPrimitives.h" #include "xAODPrimitives/IsolationHelpers.h"