Commit 4fe65c1a authored by Marco Vanadia's avatar Marco Vanadia Committed by Nils Erik Krumnack
Browse files

AnalysisTop bugfix for extraSmearing option for muons

parent a2d3a7a8
......@@ -70,8 +70,6 @@ MuonQuality Medium
MuonQualityLoose Medium
MuonIsolation FCTight_FixedRad
MuonIsolationLoose None
doExtraSmearing False
do2StationsHighPt False
### Jet configuration
JetPt 25000
......
......@@ -133,7 +133,7 @@ namespace top {
registerParameter("MuonIsolationSF", "Force muon isolation SF (e.g. None). EXPERIMENTAL!", " ");
registerParameter("MuonIsolationSFLoose", "Force muon isolation SF (e.g. None). EXPERIMENTAL!", " ");
registerParameter("MuonDoSmearing2stationHighPt", "True/False, to turn on/off spacial corrections for 2-station muons reconstruction with missing inner MS station allowed for abs(eta)<1.3, only with MuonQuality HighPt. - Default: True", "True");
registerParameter("MuonDoExtraSmearingHighPt", "True/False, To be used by analyses willing to check their sensitivity to momentum resolution effects at large muon momenta. - Default: false", "false");
registerParameter("MuonDoExtraSmearingHighPt", "True/False, To be used by analyses using willing to check their sensitivity to momentum resolution effects at large muon momenta and in case move to the HighPt WP - Default: false", "false");
registerParameter("UseAntiMuons", "Use AntiMuons for fake estimate. Default: false", "false");
registerParameter("UseSoftMuons", "True to use soft muons, False (default) otherwise", "False");
registerParameter("SoftMuonPt", "Soft Muon pT cut for object selection (in MeV). Default 4 GeV.", "4000");
......
......@@ -1272,8 +1272,8 @@ namespace top {
this->muonMuonDoSmearing2stationHighPt(muonDoSmearing2stationHighPt);
bool muonDoExtraSmearingHighPt = false;
settings->retrieve("MuonDoExtraSmearingHighPt", muonDoExtraSmearingHighPt);
if ( settings->value("MuonQuality") != "HighPt" && muonDoExtraSmearingHighPt ) {
ATH_MSG_WARNING("Could not set MuonDoExtraSmearingHighPt True without using the HighPt muon WP. MuonDoExtraSmearingHighPt is now setted to the default value (False)");
if ( settings->value("MuonQuality") == "HighPt" && muonDoExtraSmearingHighPt ) {
ATH_MSG_WARNING("Could not set MuonDoExtraSmearingHighPt True when using the HighPt muon WP, HighPt muons are not affected by this setting. MuonDoExtraSmearingHighPt is now setted to the default value (False)");
muonDoExtraSmearingHighPt = false;
}
this->muonMuonDoExtraSmearingHighPt( muonDoExtraSmearingHighPt );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment