Skip to content
Snippets Groups Projects

B2taunu with btracking lines

Merged Maarten Van Veghel requested to merge mveghel-b2taunu-btracking into master
Compare and Show latest version
230 files
+ 11615
15384
Compare changes
  • Side-by-side
  • Inline
Files
230
@@ -24,7 +24,7 @@ from PyConf.Algorithms import (
from PyConf.application import default_raw_banks
from Moore import options, run_moore
from Moore.config import HltLine
from Moore.lines import Hlt1Line
from Moore.selreports import convert_output
from Hlt1Conf.settings import all_lines as _all_lines
@@ -67,7 +67,7 @@ def one_track_line(name='Hlt1TrackMVA'):
"""A one-track line that selects all tracks."""
track_filter = Filter(make_tracks_mva_tracks(),
ALL)['PrFittedForwardWithPVs']
return HltLine(name, [track_filter])
return Hlt1Line(name, [track_filter])
def two_track_line(name='Hlt1TwoTrackMVA'):
@@ -78,14 +78,14 @@ def two_track_line(name='Hlt1TwoTrackMVA'):
VertexCut=ALL,
InputTracks=children['PrFittedForwardWithPVs'],
CombinationCut=ALL)
return HltLine(name, [combination_filter])
return Hlt1Line(name, [combination_filter])
def one_track_muon_line(name='Hlt1TrackMuonMVA'):
"""A one-track muon line that selects all tracks."""
track_filter = Filter(make_fitted_tracks_with_muon_id(),
ALL)['PrFittedForwardWithMuonID']
return HltLine(name, [track_filter])
return Hlt1Line(name, [track_filter])
def all_lines():
@@ -117,7 +117,7 @@ def all_lines():
SelReports=reports_maker.OutputHltSelReportsLocation,
DecisionPattern=line.decision_name,
)
lines_to_run.append(HltLine(
lines_to_run.append(Hlt1Line(
name=line.name,
algs=[tos_filter],
))
Loading