Commit 79532f43 authored by Sevda Esen's avatar Sevda Esen Committed by Rosen Matev
Browse files

Adapt to changes in Moore persistence

parent a60d5330
Pipeline #2543061 passed with stage
in 24 seconds
......@@ -197,7 +197,7 @@ def add_efficiency_tuples(moore_cf, descriptor_template=None):
# Get the creator of HltDecReports
# TODO find a less fragile way to obtain that
dec_reports_maker = moore_cf.children[1].children[1]
dec_reports_maker = moore_cf.children[1].children[0]
dec_reports = dec_reports_maker.DecReportsLocation
# TODO make the decision names properties of ExecutionReportsWriter
......
......@@ -123,11 +123,7 @@ def read_hlt2():
from Configurables import HltANNSvc, createODIN
from GaudiConf import reading
# NOTE: You will need to set `raw_event_format` below to 0.3 if:
# - Your Moore output was MDF or;
# - Your Moore input was XDIGI.
reading_algs = ([reading.decoder(raw_event_format=4.3)] +
reading.unpackers() + [createODIN()])
reading_algs = ([reading.decoder()] + reading.unpackers() + [createODIN()])
if LHCbApp().Simulation:
reading_algs = reading.mc_unpackers() + reading_algs
ApplicationMgr().TopAlg = reading_algs + ApplicationMgr().TopAlg
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment