Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Qipeng Hu
athena
Commits
ce9e1266
Commit
ce9e1266
authored
Nov 17, 2021
by
schaed
Browse files
update calibration for the METSignificance
parent
d5a79997
Changes
2
Hide whitespace changes
Inline
Side-by-side
Reconstruction/MET/METUtilities/Root/METSignificance.cxx
View file @
ce9e1266
...
...
@@ -183,13 +183,13 @@ namespace met {
if
(
!
m_jetCalibTool
.
isUserConfigured
()
){
std
::
string
config
=
"JES_
data2017_2016_2015_Recommendation_Aug2018_r
el21.config"
;
std
::
string
config
=
"JES_
MC16Recommendation_Consolidated_EMTopo_Apr2019_R
el21.config"
;
std
::
string
calibSeq
=
"JetArea_Residual_EtaJES_GSC_Smear"
;
std
::
string
calibArea
=
"00-04-8
1
"
;
std
::
string
calibArea
=
"00-04-8
2
"
;
if
(
m_JetCollection
==
"AntiKt4EMPFlow"
){
config
=
"JES_
data2017_2016_2015_
Recommendation_PFlow_A
ug
201
8_r
el21.config"
;
config
=
"JES_
MC16
Recommendation_
Consolidated_
PFlow_A
pr
201
9_R
el21.config"
;
calibSeq
=
"JetArea_Residual_EtaJES_GSC_Smear"
;
calibArea
=
"00-04-8
1
"
;
calibArea
=
"00-04-8
2
"
;
}
ANA_CHECK
(
ASG_MAKE_ANA_TOOL
(
m_jetCalibTool
,
JetCalibrationTool
)
);
...
...
@@ -203,15 +203,14 @@ namespace met {
}
ATH_MSG_INFO
(
"Set up MuonCalibrationAndSmearing tools"
);
//if (!m_muonCalibrationAndSmearingTool.isUserConfigured()) {
toolName
=
"MuonCalibrationAndSmearingTool"
;
m_muonCalibrationAndSmearingTool
.
setTypeAndName
(
"CP::MuonCalibrationAndSmearingTool/METSigAutoConf_"
+
toolName
);
ATH_CHECK
(
m_muonCalibrationAndSmearingTool
.
retrieve
());
//}
toolName
=
"MuonCalibrationAndSmearingTool"
;
m_muonCalibrationAndSmearingTool
.
setTypeAndName
(
"CP::MuonCalibrationAndSmearingTool/METSigAutoConf_"
+
toolName
);
ATH_CHECK
(
m_muonCalibrationAndSmearingTool
.
retrieve
());
ATH_MSG_DEBUG
(
"Initialising EgcalibTool "
);
toolName
=
"EgammaCalibrationAndSmearingTool"
;
m_egammaCalibTool
.
setTypeAndName
(
"CP::EgammaCalibrationAndSmearingTool/METSigAutoConf_"
+
toolName
);
ATH_CHECK
(
m_egammaCalibTool
.
setProperty
(
"ESModel"
,
"es201
7
_R21_v0"
));
ATH_CHECK
(
m_egammaCalibTool
.
setProperty
(
"ESModel"
,
"es201
8
_R21_v0"
));
ATH_CHECK
(
m_egammaCalibTool
.
setProperty
(
"decorrelationModel"
,
"1NP_v1"
));
if
(
m_isAFII
)
ATH_CHECK
(
m_egammaCalibTool
.
setProperty
(
"useAFII"
,
1
));
else
ATH_CHECK
(
m_egammaCalibTool
.
setProperty
(
"useAFII"
,
0
));
...
...
Reconstruction/MET/METUtilities/util/example_METSignificance.cxx
View file @
ce9e1266
/*
Copyright (C) 2002-201
7
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-20
2
1 CERN for the benefit of the ATLAS collaboration
*/
...
...
@@ -88,13 +88,13 @@ int main( int argc, char* argv[] ){std::cout << __PRETTY_FUNCTION__ << std::endl
}
}
std
::
string
config
=
"JES_
data2017_2016_2015_Recommendation_Aug2018_r
el21.config"
;
std
::
string
config
=
"JES_
MC16Recommendation_Consolidated_EMTopo_Apr2019_R
el21.config"
;
std
::
string
calibSeq
=
"JetArea_Residual_EtaJES_GSC"
;
std
::
string
calibArea
=
"00-04-8
1
"
;
std
::
string
calibArea
=
"00-04-8
2
"
;
if
(
jetType
==
"AntiKt4EMPFlow"
){
config
=
"JES_
data2017_2016_2015_
Recommendation_PFlow_A
ug
201
8_r
el21.config"
;
config
=
"JES_
MC16
Recommendation_
Consolidated_
PFlow_A
pr
201
9_R
el21.config"
;
calibSeq
=
"JetArea_Residual_EtaJES_GSC"
;
calibArea
=
"00-04-8
1
"
;
calibArea
=
"00-04-8
2
"
;
}
asg
::
AnaToolHandle
<
IJetCalibrationTool
>
jetCalibrationTool
;
...
...
Write
Preview
Supports
Markdown
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