Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
atlas
athena
Merge requests
!71849
FsrUtils: Fix cppcheck warnings.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
FsrUtils: Fix cppcheck warnings.
ssnyder/athena:cppcheck.FsrUtils-20240530
into
main
Overview
3
Commits
1
Pipelines
1
Changes
2
Merged
Scott Snyder
requested to merge
ssnyder/athena:cppcheck.FsrUtils-20240530
into
main
9 months ago
Overview
3
Commits
1
Pipelines
1
Changes
2
Expand
Pass objects by const reference, not by value.
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
62ffaadc
1 commit,
9 months ago
2 files
+
5
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
PhysicsAnalysis/AnalysisCommon/FsrUtils/FsrUtils/FsrPhotonTool.h
+
3
−
3
Options
/*
Copyright (C) 2002-202
3
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-202
4
CERN for the benefit of the ATLAS collaboration
*/
#ifndef FSRUTILS_FsrPhotonTool_H
@@ -75,11 +75,11 @@ namespace FSR {
/// Need for the FSR search
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
,
bool
isOverlap
(
const
xAOD
::
Electron_v1
*
electron
,
const
std
::
vector
<
std
::
pair
<
const
xAOD
::
IParticle
*
,
double
>
>
&
phfsr
,
unsigned
int
nofPhFsr
);
double
deltaR
(
float
muonEta
,
float
muonPhi
,
float
phEta
,
float
phPhi
)
const
;
double
deltaPhi
(
float
phi1
,
float
phi2
)
const
;
static
bool
compareEt
(
FsrCandidate
c1
,
FsrCandidate
c2
)
{
return
(
c1
.
Et
>
c2
.
Et
);
}
static
bool
compareEt
(
const
FsrCandidate
&
c1
,
const
FsrCandidate
&
c2
)
{
return
(
c1
.
Et
>
c2
.
Et
);
}
double
m_high_et_min
;
Loading