Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
atlas
athena
Commits
0bcd6986
Commit
0bcd6986
authored
Aug 18, 2020
by
Mark Hodgkinson
Browse files
Slight change in variable treatment for a few loops.
parent
0ae976fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Reconstruction/eflowRec/src/PFChargedFlowElementCreatorAlgorithm.cxx
View file @
0bcd6986
...
...
@@ -40,8 +40,7 @@ StatusCode PFChargedFlowElementCreatorAlgorithm::execute(const EventContext& ctx
void
PFChargedFlowElementCreatorAlgorithm
::
createChargedFlowElements
(
const
eflowCaloObject
&
energyFlowCaloObject
,
bool
addClusters
,
SG
::
WriteHandle
<
xAOD
::
FlowElementContainer
>&
chargedFlowElementContainerWriteHandle
)
const
{
/* Loop over all tracks in the eflowCaloObject */
int
nTracks
=
energyFlowCaloObject
.
nTracks
();
for
(
int
iTrack
=
0
;
iTrack
<
nTracks
;
++
iTrack
)
{
for
(
unsigned
int
iTrack
=
0
;
iTrack
<
energyFlowCaloObject
.
nTracks
();
++
iTrack
)
{
eflowRecTrack
*
efRecTrack
=
energyFlowCaloObject
.
efRecTrack
(
iTrack
);
...
...
Reconstruction/eflowRec/src/PFNeutralFlowElementCreatorAlgorithm.cxx
View file @
0bcd6986
...
...
@@ -44,10 +44,7 @@ StatusCode PFNeutralFlowElementCreatorAlgorithm::execute(const EventContext& ctx
StatusCode
PFNeutralFlowElementCreatorAlgorithm
::
createNeutralFlowElement
(
const
eflowCaloObject
&
energyFlowCaloObject
,
xAOD
::
FlowElementContainer
*
neutralFEContainer
)
const
{
unsigned
int
nClusters
=
energyFlowCaloObject
.
nClusters
();
ATH_MSG_VERBOSE
(
" eflowCaloObject with "
<<
nClusters
<<
" clusters"
);
for
(
unsigned
int
iCluster
=
0
;
iCluster
<
nClusters
;
++
iCluster
){
for
(
unsigned
int
iCluster
=
0
;
iCluster
<
energyFlowCaloObject
.
nClusters
();
++
iCluster
){
eflowRecCluster
*
thisEfRecCluster
=
energyFlowCaloObject
.
efRecCluster
(
iCluster
);
/* Skip empty clusters (presumably subtraction remnants) */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment