Skip to content
Snippets Groups Projects
Commit 4f0c8c20 authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'cherry-pick-ce208a46-master' into 'master'

Sweeping !41975 from 21.2 to master.
Update CP Algorithm OR sequence to reflect some SUSYTools defaults

See merge request !42058
parents ecb64303 1714561d
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!42058Sweeping !41975 from 21.2 to master. Update CP Algorithm OR sequence to reflect some SUSYTools defaults
......@@ -10,6 +10,7 @@ def makeOverlapAnalysisSequence( dataType,
doEleEleOR = False, doElectrons = True,
doMuons = True, doJets = True, doTaus = True,
doPhotons = True, doFatJets = False,
enableUserPriority = False,
bJetLabel = '',
boostedLeptons = False,
postfix = '',
......@@ -68,6 +69,10 @@ def makeOverlapAnalysisSequence( dataType,
doXXXX -- these flags enable/disable object types to
configure tools for: doElectrons, doMuons,
doJets, doTaus, doPhotons, doFatJets.
enableUserPriority -- If enabled, the Ele-, Mu-, Tau- and PhoJetOR tools
will respect the user priority in the inputLabel.
E.g. SUSYTools assigns all signal objects the
priority 2 and pre-selected jets the priority 1.
bJetLabel -- Flag to select b-jets with. If left empty, no b-jets are used
in the overlap removal.
boostedLeptons -- Set to True to enable boosted lepton overlap removal
......@@ -101,6 +106,7 @@ def makeOverlapAnalysisSequence( dataType,
'ORUtils::MuPFJetOverlapTool' )
alg.overlapTool.MuPFJetORT.InputLabel = inputLabel
alg.overlapTool.MuPFJetORT.OutputLabel = outputLabel
alg.overlapTool.MuPFJetORT.BJetLabel = bJetLabel
alg.overlapTool.MuPFJetORT.LinkOverlapObjects = linkOverlapObjects
alg.overlapTool.MuPFJetORT.OutputPassValue = True
pass
......@@ -134,6 +140,7 @@ def makeOverlapAnalysisSequence( dataType,
alg.overlapTool.EleJetORT.LinkOverlapObjects = linkOverlapObjects
alg.overlapTool.EleJetORT.BJetLabel = bJetLabel
alg.overlapTool.EleJetORT.UseSlidingDR = boostedLeptons
alg.overlapTool.EleJetORT.EnableUserPriority = enableUserPriority
alg.overlapTool.EleJetORT.OutputPassValue = True
pass
......@@ -146,6 +153,7 @@ def makeOverlapAnalysisSequence( dataType,
alg.overlapTool.MuJetORT.LinkOverlapObjects = linkOverlapObjects
alg.overlapTool.MuJetORT.BJetLabel = bJetLabel
alg.overlapTool.MuJetORT.UseSlidingDR = boostedLeptons
alg.overlapTool.MuJetORT.EnableUserPriority = enableUserPriority
alg.overlapTool.MuJetORT.OutputPassValue = True
pass
......@@ -179,6 +187,7 @@ def makeOverlapAnalysisSequence( dataType,
alg.overlapTool.TauJetORT.OutputLabel = outputLabel
alg.overlapTool.TauJetORT.LinkOverlapObjects = linkOverlapObjects
alg.overlapTool.TauJetORT.DR = 0.2
alg.overlapTool.TauJetORT.EnableUserPriority = enableUserPriority
alg.overlapTool.TauJetORT.OutputPassValue = True
pass
......@@ -209,6 +218,7 @@ def makeOverlapAnalysisSequence( dataType,
alg.overlapTool.PhoJetORT.InputLabel = inputLabel
alg.overlapTool.PhoJetORT.OutputLabel = outputLabel
alg.overlapTool.PhoJetORT.LinkOverlapObjects = linkOverlapObjects
alg.overlapTool.PhoJetORT.EnableUserPriority = enableUserPriority
alg.overlapTool.PhoJetORT.OutputPassValue = True
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment