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
!34882
JetD3PDMaker: Fix clang 10 warning.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
JetD3PDMaker: Fix clang 10 warning.
ssnyder/athena:clang10.JetD3PDMaker-20200717
into
master
Overview
2
Commits
1
Pipelines
1
Changes
1
Merged
Scott Snyder
requested to merge
ssnyder/athena:clang10.JetD3PDMaker-20200717
into
master
4 years ago
Overview
2
Commits
1
Pipelines
1
Changes
1
Expand
Precision loss in int->float conversion.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
c0df46de
1 commit,
4 years ago
1 file
+
2
−
2
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
PhysicsAnalysis/D3PDMaker/JetD3PDMaker/src/JetShapeFillerTool.cxx
+
2
−
2
Options
/*
/*
Copyright (C) 2002-20
17
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-20
20
CERN for the benefit of the ATLAS collaboration
*/
*/
// $Id$
// $Id$
@@ -115,7 +115,7 @@ StatusCode JetShapeFillerTool::fill(const Jet& p)
@@ -115,7 +115,7 @@ StatusCode JetShapeFillerTool::fill(const Jet& p)
for
(
;
iterJet
!=
lJet
;
++
iterJet
)
{
for
(
;
iterJet
!=
lJet
;
++
iterJet
)
{
if
(
!
*
iterJet
)
continue
;
if
(
!
*
iterJet
)
continue
;
double
dr
=
(
*
iterJet
)
->
hlv
().
deltaR
(
p
.
hlv
());
double
dr
=
(
*
iterJet
)
->
hlv
().
deltaR
(
p
.
hlv
());
if
(
dr
>
m_deltaR
*
UINT_MAX
)
continue
;
if
(
dr
>
m_deltaR
*
static_cast
<
float
>
(
UINT_MAX
)
)
continue
;
unsigned
int
idr
=
unsigned
(
dr
/
m_deltaR
);
unsigned
int
idr
=
unsigned
(
dr
/
m_deltaR
);
if
(
idr
<
m_shape
->
size
())
m_shape
->
at
(
idr
)
+=
(
*
iterJet
)
->
pt
();
if
(
idr
<
m_shape
->
size
())
m_shape
->
at
(
idr
)
+=
(
*
iterJet
)
->
pt
();
}
}
Loading