Skip to content
Snippets Groups Projects
Commit b57181c0 authored by Nils Erik Krumnack's avatar Nils Erik Krumnack
Browse files

Merge branch 'analysis/jvt' into '21.2'

Add preselection support to the JVT sequence

See merge request atlas/athena!23693
parents 47f1e95f 437a5d29
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ from AnaAlgorithm.AnaAlgSequence import AnaAlgSequence
from AnaAlgorithm.DualUseConfig import createAlgorithm, addPrivateTool
def makeJetJvtAnalysisSequence( dataType, jetCollection,
preselection = '',
globalSF = True,
runSelection = True ):
"""Create a jet JVT analysis algorithm sequence
......@@ -35,6 +36,7 @@ def makeJetJvtAnalysisSequence( dataType, jetCollection,
from JetAnalysisSequence import jvtSysts, fjvtSysts
alg = createAlgorithm( 'CP::AsgEventScaleFactorAlg', 'JvtEventScaleFactorAlg' )
alg.preselection = preselection
alg.scaleFactorInputDecoration = 'jvt_effSF_%SYS%'
alg.scaleFactorInputDecorationRegex = jvtSysts
alg.scaleFactorOutputDecoration = 'jvt_effSF_%SYS%'
......@@ -46,6 +48,7 @@ def makeJetJvtAnalysisSequence( dataType, jetCollection,
'eventInfo' : 'eventInfo' } )
alg = createAlgorithm( 'CP::AsgEventScaleFactorAlg', 'ForwardJvtEventScaleFactorAlg' )
alg.preselection = preselection
alg.scaleFactorInputDecoration = 'fjvt_effSF_%SYS%'
alg.scaleFactorInputDecorationRegex = fjvtSysts
alg.scaleFactorOutputDecoration = 'fjvt_effSF_%SYS%'
......
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