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
!37927
Sweeping
!37887
from 21.2 to master. fixing bug in MET initialization
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Sweeping
!37887
from 21.2 to master. fixing bug in MET initialization
cherry-pick-73261ae39e8-master
into
master
Overview
3
Commits
1
Pipelines
1
Changes
1
Merged
Atlas Nightlybuild
requested to merge
cherry-pick-73261ae39e8-master
into
master
4 years ago
Overview
3
Commits
1
Pipelines
1
Changes
1
Expand
fixing bug in MET initialization
See merge request
!37887 (merged)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
c338daef
1 commit,
4 years ago
1 file
+
24
−
24
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
PhysicsAnalysis/TopPhys/xAOD/TopCPTools/Root/TopJetMETCPTools.cxx
+
24
−
24
Options
@@ -204,30 +204,30 @@ namespace top {
top
::
check
(
jetUpdateJvtTool
->
initialize
(),
"Failed to initialize"
);
m_jetUpdateJvtTool
=
jetUpdateJvtTool
;
}
///-- Calculate fJVT --///
//Only setup fJVT tool if user actually wants it
if
(
m_config
->
doForwardJVTinMET
()
||
m_config
->
getfJVTWP
()
!=
"None"
)
{
const
std
::
string
fjvt_tool_name
=
"JetSelectfJvtTool"
;
if
(
asg
::
ToolStore
::
contains
<
IJetModifier
>
(
fjvt_tool_name
))
{
m_jetSelectfJvtTool
=
asg
::
ToolStore
::
get
<
IJetModifier
>
(
fjvt_tool_name
);
m_jetSelectfJvtTool
=
asg
::
ToolStore
::
get
<
IJetModifier
>
(
fjvt_tool_name
);
}
else
{
IJetModifier
*
JetSelectfJvtTool
=
new
JetForwardJvtTool
(
fjvt_tool_name
);
top
::
check
(
asg
::
setProperty
(
JetSelectfJvtTool
,
"JvtMomentName"
,
"AnalysisTop_JVT"
),
//fJVT uses JVT decision
"Failed to set JvtMomentName for JetForwardJvtTool"
);
//Default fJVT WP is medium but this can't be used with default Tight MET WP
//MET WP takes precidence so making ATop default fJVT=Tight
if
(
m_config
->
getfJVTWP
()
!=
"Medium"
){
top
::
check
(
asg
::
setProperty
(
JetSelectfJvtTool
,
"UseTightOP"
,
true
),
"Failed to set UseTightOP for JetForwardJvtTool"
);
}
top
::
check
(
asg
::
setProperty
(
JetSelectfJvtTool
,
"OutputDec"
,
"AnalysisTop_fJVTdecision"
),
//Adds custom decorator, 'AnalysisTop_fJVTdecision', to all jets
"Failed to set OutputDec for JetForwardJvtTool"
);
top
::
check
(
JetSelectfJvtTool
->
initialize
(),
"Failed to initialize "
+
fjvt_tool_name
);
m_jetSelectfJvtTool
=
JetSelectfJvtTool
;
IJetModifier
*
JetSelectfJvtTool
=
new
JetForwardJvtTool
(
fjvt_tool_name
);
top
::
check
(
asg
::
setProperty
(
JetSelectfJvtTool
,
"JvtMomentName"
,
"AnalysisTop_JVT"
),
//fJVT uses JVT decision
"Failed to set JvtMomentName for JetForwardJvtTool"
);
//Default fJVT WP is medium but this can't be used with default Tight MET WP
//MET WP takes precidence so making ATop default fJVT=Tight
if
(
m_config
->
getfJVTWP
()
!=
"Medium"
){
top
::
check
(
asg
::
setProperty
(
JetSelectfJvtTool
,
"UseTightOP"
,
true
),
"Failed to set UseTightOP for JetForwardJvtTool"
);
}
top
::
check
(
asg
::
setProperty
(
JetSelectfJvtTool
,
"OutputDec"
,
"AnalysisTop_fJVTdecision"
),
//Adds custom decorator, 'AnalysisTop_fJVTdecision', to all jets
"Failed to set OutputDec for JetForwardJvtTool"
);
top
::
check
(
JetSelectfJvtTool
->
initialize
(),
"Failed to initialize "
+
fjvt_tool_name
);
m_jetSelectfJvtTool
=
JetSelectfJvtTool
;
}
}
@@ -540,14 +540,14 @@ namespace top {
}
if
(
m_config
->
doForwardJVTinMET
())
{
if
(
m_config
->
getfJVTWP
()
==
"Medium"
)
{
top
::
check
(
metMaker
->
setProperty
(
"JetSelection"
,
"Tenacious"
),
"Failed to set METMaker JetSelection to Tenacious"
);
}
if
(
m_config
->
getfJVTWP
()
==
"Medium"
)
{
top
::
check
(
metMaker
->
setProperty
(
"JetSelection"
,
"Tenacious"
),
"Failed to set METMaker JetSelection to Tenacious"
);
}
top
::
check
(
metMaker
->
setProperty
(
"JetRejectionDec"
,
"AnalysisTop_fJVTdecision"
),
"Failed to set METMaker JetRejectionDec to AnalysisTop_fJVTdecision"
);
top
::
check
(
metMaker
->
initialize
(),
"Failed to initialize"
);
metMaker
->
msg
().
setLevel
(
MSG
::
INFO
);
m_met_maker
=
metMaker
;
}
top
::
check
(
metMaker
->
initialize
(),
"Failed to initialize"
);
metMaker
->
msg
().
setLevel
(
MSG
::
INFO
);
m_met_maker
=
metMaker
;
}
// MET Systematics tool
Loading