diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopAnalysis/share/example-config.txt b/PhysicsAnalysis/TopPhys/xAOD/TopAnalysis/share/example-config.txt index 89ad1df916dcadf355fb1ea900079141ac148f4f..b4b0f0968a7077dfd83eaf6a0d7716bb08d124a3 100644 --- a/PhysicsAnalysis/TopPhys/xAOD/TopAnalysis/share/example-config.txt +++ b/PhysicsAnalysis/TopPhys/xAOD/TopAnalysis/share/example-config.txt @@ -70,8 +70,6 @@ MuonQuality Medium MuonQualityLoose Medium MuonIsolation FCTight_FixedRad MuonIsolationLoose None -doExtraSmearing False -do2StationsHighPt False ### Jet configuration JetPt 25000 diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/Root/ConfigurationSettings.cxx b/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/Root/ConfigurationSettings.cxx index 8bc3f3ee69bdbf900f41508ba89ce9ee45b9af8f..f510c21e91f3a65eeaa2eff3aac925751255aced 100644 --- a/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/Root/ConfigurationSettings.cxx +++ b/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/Root/ConfigurationSettings.cxx @@ -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"); diff --git a/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/Root/TopConfig.cxx b/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/Root/TopConfig.cxx index a3169e67d2c4a829a8407feb396d4f6e2bd61b6f..10135a4d90942a4c134a6151ff229b839fa12396 100644 --- a/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/Root/TopConfig.cxx +++ b/PhysicsAnalysis/TopPhys/xAOD/TopConfiguration/Root/TopConfig.cxx @@ -1277,8 +1277,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 );