Skip to content
Snippets Groups Projects
Commit 9e19b2c5 authored by Alessandro Bertolin's avatar Alessandro Bertolin Committed by Nicole Skidmore
Browse files

B2OC: add a filter on Hlt2 topo. lines to all Spruce lines

parent c04c44fb
No related branches found
No related tags found
1 merge request!2525B2OC: add a filter on Hlt2 topo. lines to all Spruce lines
......@@ -96,6 +96,11 @@ update_makers(line_makers, bbaryon_to_lightbaryon_dh)
update_makers(line_makers, bbaryon_to_lightbaryon_dd)
update_makers(line_makers, bbaryon_to_lightbaryon_ddh)
###################################
# List of Hlt2 lines to filter on #
###################################
topo_lines = ['Hlt2Topo2BodyDecision', 'Hlt2Topo3BodyDecision']
############################################
# Define functions for line booking #
# Make it possible to register lines #
......@@ -118,6 +123,7 @@ def make_default_sprucing_lines(line_dict=sprucing_lines,
return SpruceLine(
name=name,
prescale=prescale,
hlt2_filter_code=topo_lines,
algs=prefilters.b2oc_prefilters() + [line_alg])
......@@ -136,6 +142,7 @@ def make_prescaled_sprucing_lines(line_dict=sprucing_lines,
return SpruceLine(
name=name,
prescale=prescale,
hlt2_filter_code=topo_lines,
algs=prefilters.b2oc_prefilters() + [line_alg])
......@@ -161,6 +168,7 @@ def make_flavor_tagging_sprucing_lines(line_dict=sprucing_lines,
return SpruceLine(
name=name,
prescale=prescale,
hlt2_filter_code=topo_lines,
algs=prefilters.b2oc_prefilters() + [line_alg],
extra_outputs=[('LongTaggingParticles', longTaggingParticles)])
......@@ -180,6 +188,7 @@ def make_isolation_sprucing_lines(line_dict=sprucing_lines,
return SpruceLine(
name=name,
prescale=prescale,
hlt2_filter_code=topo_lines,
algs=prefilters.b2oc_prefilters() + [line_alg])
......@@ -199,6 +208,7 @@ def make_mva_filtered_sprucing_lines(line_dict=sprucing_lines,
return SpruceLine(
name=name,
prescale=prescale,
hlt2_filter_code=topo_lines,
algs=prefilters.b2oc_prefilters() + [line_alg])
......
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