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
!20665
METReconstruction: Make MET tools private.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
METReconstruction: Make MET tools private.
ssnyder/athena:privTool.METReconstruction-20190126
into
master
Overview
2
Commits
1
Pipelines
1
Changes
5
Merged
Scott Snyder
requested to merge
ssnyder/athena:privTool.METReconstruction-20190126
into
master
6 years ago
Overview
2
Commits
1
Pipelines
1
Changes
5
Expand
Needed to get dependencies propagated from tools.
Needed for q431 --thread=1
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
1100a56d
1 commit,
6 years ago
5 files
+
15
−
50
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
Reconstruction/MET/METReconstruction/Root/METRecoTool.cxx
+
5
−
22
Options
///////////////////////// -*- C++ -*- /////////////////////////////
/*
Copyright (C) 2002-201
7
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-201
9
CERN for the benefit of the ATLAS collaboration
*/
// METRecoTool.cxx
@@ -48,6 +48,8 @@ namespace met {
METRecoTool
::
METRecoTool
(
const
std
::
string
&
name
)
:
AsgTool
(
name
),
m_doMetSum
(
false
),
m_metbuilders
(
this
),
m_metrefiners
(
this
),
m_nevt
(
0
)
{
declareProperty
(
"METBuilders"
,
m_metbuilders
);
@@ -90,27 +92,8 @@ namespace met {
ATH_MSG_INFO
(
"Will not sum MET in this container."
);
}
// retrieve builders
for
(
ToolHandleArray
<
IMETToolBase
>::
const_iterator
iBuilder
=
m_metbuilders
.
begin
();
iBuilder
!=
m_metbuilders
.
end
();
++
iBuilder
)
{
ToolHandle
<
IMETToolBase
>
tool
=
*
iBuilder
;
if
(
tool
.
retrieve
().
isFailure
()
)
{
ATH_MSG_FATAL
(
"Failed to retrieve tool: "
<<
tool
->
name
());
return
StatusCode
::
FAILURE
;
};
ATH_MSG_INFO
(
"Retrieved tool: "
<<
tool
->
name
()
);
}
// retrieve refiners
for
(
ToolHandleArray
<
IMETToolBase
>::
const_iterator
iRefiner
=
m_metrefiners
.
begin
();
iRefiner
!=
m_metrefiners
.
end
();
++
iRefiner
)
{
ToolHandle
<
IMETToolBase
>
tool
=
*
iRefiner
;
if
(
tool
.
retrieve
().
isFailure
()
)
{
ATH_MSG_FATAL
(
"Failed to retrieve tool: "
<<
tool
->
name
());
return
StatusCode
::
FAILURE
;
};
ATH_MSG_INFO
(
"Retrieved tool: "
<<
tool
->
name
()
);
}
ATH_CHECK
(
m_metbuilders
.
retrieve
()
);
ATH_CHECK
(
m_metrefiners
.
retrieve
()
);
// generate clocks
unsigned
int
ntool
=
m_metbuilders
.
size
()
+
m_metrefiners
.
size
();
Loading