From 54e9472373ac6960be9ae0f77d7e9ed28d33a425 Mon Sep 17 00:00:00 2001 From: Scott Snyder <scott.snyder@cern.ch> Date: Tue, 20 Dec 2016 03:36:52 +0100 Subject: [PATCH] 'Changing constness of some interfaces, to deal with tool handle constness changes.' (MuonCombinedToolInterfaces-01-02-09) * Tagging MuonCombinedToolInterfaces-01-02-09. * Changing constness of some interfaces, to deal with tool handle constness changes. Former-commit-id: 81f5485b4e11f5f503260473dac9da9ff625a881 --- .../MuonCombinedToolInterfaces/IMuonCandidateTool.h | 2 +- .../IMuonCombinedInDetExtensionTool.h | 2 +- .../MuonCombinedToolInterfaces/IMuonCombinedTagTool.h | 2 +- .../IMuonCombinedTrigCaloTagExtensionTool.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Reconstruction/MuonIdentification/MuonCombinedToolInterfaces/MuonCombinedToolInterfaces/IMuonCandidateTool.h b/Reconstruction/MuonIdentification/MuonCombinedToolInterfaces/MuonCombinedToolInterfaces/IMuonCandidateTool.h index 646f3175f0d..35d37fcf667 100644 --- a/Reconstruction/MuonIdentification/MuonCombinedToolInterfaces/MuonCombinedToolInterfaces/IMuonCandidateTool.h +++ b/Reconstruction/MuonIdentification/MuonCombinedToolInterfaces/MuonCombinedToolInterfaces/IMuonCandidateTool.h @@ -28,7 +28,7 @@ namespace MuonCombined { /**IMuonCandidateTool interface: build a MuonCandidateCollection from a TrackCollection of spectrometer tracks */ - virtual void create( const xAOD::TrackParticleContainer& tracks, MuonCandidateCollection& outputCollection ) const = 0; + virtual void create( const xAOD::TrackParticleContainer& tracks, MuonCandidateCollection& outputCollection ) = 0; }; diff --git a/Reconstruction/MuonIdentification/MuonCombinedToolInterfaces/MuonCombinedToolInterfaces/IMuonCombinedInDetExtensionTool.h b/Reconstruction/MuonIdentification/MuonCombinedToolInterfaces/MuonCombinedToolInterfaces/IMuonCombinedInDetExtensionTool.h index a656d8a338c..5e34e435580 100644 --- a/Reconstruction/MuonIdentification/MuonCombinedToolInterfaces/MuonCombinedToolInterfaces/IMuonCombinedInDetExtensionTool.h +++ b/Reconstruction/MuonIdentification/MuonCombinedToolInterfaces/MuonCombinedToolInterfaces/IMuonCombinedInDetExtensionTool.h @@ -27,7 +27,7 @@ namespace MuonCombined { /**IMuonCombinedInDetExtensionTool interface: build combined muons from ID and MS candidates */ - virtual void extend( const InDetCandidateCollection& inDetCandidates ) const = 0; + virtual void extend( const InDetCandidateCollection& inDetCandidates ) = 0; }; diff --git a/Reconstruction/MuonIdentification/MuonCombinedToolInterfaces/MuonCombinedToolInterfaces/IMuonCombinedTagTool.h b/Reconstruction/MuonIdentification/MuonCombinedToolInterfaces/MuonCombinedToolInterfaces/IMuonCombinedTagTool.h index a18f959b835..67e6c1c0769 100644 --- a/Reconstruction/MuonIdentification/MuonCombinedToolInterfaces/MuonCombinedToolInterfaces/IMuonCombinedTagTool.h +++ b/Reconstruction/MuonIdentification/MuonCombinedToolInterfaces/MuonCombinedToolInterfaces/IMuonCombinedTagTool.h @@ -30,7 +30,7 @@ namespace MuonCombined { /**IMuonCombinedTagTool interface: build combined muons from a muon and a vector of indet candidates */ - virtual void combine( const MuonCandidate& muonCandidate, const std::vector<InDetCandidate*>& indetCandidates ) = 0; + virtual void combine( const MuonCandidate& muonCandidate, const std::vector<InDetCandidate*>& indetCandidates ) const = 0; }; diff --git a/Reconstruction/MuonIdentification/MuonCombinedToolInterfaces/MuonCombinedToolInterfaces/IMuonCombinedTrigCaloTagExtensionTool.h b/Reconstruction/MuonIdentification/MuonCombinedToolInterfaces/MuonCombinedToolInterfaces/IMuonCombinedTrigCaloTagExtensionTool.h index 35ffe80ff5a..c4b01e7f53b 100644 --- a/Reconstruction/MuonIdentification/MuonCombinedToolInterfaces/MuonCombinedToolInterfaces/IMuonCombinedTrigCaloTagExtensionTool.h +++ b/Reconstruction/MuonIdentification/MuonCombinedToolInterfaces/MuonCombinedToolInterfaces/IMuonCombinedTrigCaloTagExtensionTool.h @@ -31,7 +31,7 @@ namespace MuonCombined { /**IMuonCombinedTrigCaloTagExtensionTool interface: build combined muons from ID and MS candidates */ virtual void extend( const InDetCandidateCollection& inDetCandidates, const CaloCellContainer* caloCellCont = nullptr, - const xAOD::CaloClusterContainer* caloClusterCont = nullptr ) const = 0; + const xAOD::CaloClusterContainer* caloClusterCont = nullptr ) = 0; }; inline const InterfaceID& IMuonCombinedTrigCaloTagExtensionTool::interfaceID() -- GitLab