diff --git a/PhysicsAnalysis/AnalysisCommon/FsrUtils/FsrUtils/FsrPhotonTool.h b/PhysicsAnalysis/AnalysisCommon/FsrUtils/FsrUtils/FsrPhotonTool.h index c5846e51ac24e6b372e89df94ebb21b56cf3d2df..7a41e95f0391b9a97a5a63239e287f0b0f044d7c 100644 --- a/PhysicsAnalysis/AnalysisCommon/FsrUtils/FsrUtils/FsrPhotonTool.h +++ b/PhysicsAnalysis/AnalysisCommon/FsrUtils/FsrUtils/FsrPhotonTool.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration */ #ifndef FSRUTILS_FsrPhotonTool_H @@ -73,8 +73,8 @@ namespace FSR { /// @} private: /// Need for the FSR search - std::vector<FsrCandidate>* sortFsrCandidates( std::vector< std::pair <const xAOD::IParticle*, double> > FsrCandList, - std::string option="ET"); + std::vector<FsrCandidate>* sortFsrCandidates( const std::vector< std::pair <const xAOD::IParticle*, double> >& FsrCandList, + const std::string& option="ET"); bool isOverlap(const xAOD::Electron_v1* electron, std::vector< std::pair <const xAOD::IParticle*, double> > phfsr, unsigned int nofPhFsr); double deltaR(float muonEta, float muonPhi, float phEta, float phPhi) const; diff --git a/PhysicsAnalysis/AnalysisCommon/FsrUtils/Root/FsrPhotonTool.cxx b/PhysicsAnalysis/AnalysisCommon/FsrUtils/Root/FsrPhotonTool.cxx index 965f99c66457ff77e75d9136e044ce99fb3782be..b24cb8ac8fe97fb3346f0490517f0d7c9230037c 100644 --- a/PhysicsAnalysis/AnalysisCommon/FsrUtils/Root/FsrPhotonTool.cxx +++ b/PhysicsAnalysis/AnalysisCommon/FsrUtils/Root/FsrPhotonTool.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration */ #include <utility> @@ -369,7 +369,7 @@ namespace FSR { } // end of getFsrPhotons - std::vector<FsrCandidate>* FsrPhotonTool::sortFsrCandidates(std::vector< std::pair <const xAOD::IParticle*, double> > FsrCandList, std::string option) + std::vector<FsrCandidate>* FsrPhotonTool::sortFsrCandidates(const std::vector< std::pair <const xAOD::IParticle*, double> >& FsrCandList, const std::string& option) { m_fsrPhotons.clear();