Skip to content
Snippets Groups Projects
Commit f3137466 authored by Rosen Matev's avatar Rosen Matev :sunny:
Browse files

Make the SelReportsWriter use the TCK, needs LHCb!767

parent a652ac4e
No related branches found
No related tags found
2 merge requests!85merge master to future,!73Tesla configuration house-keeping
...@@ -1023,6 +1023,8 @@ class Tesla(LHCbConfigurableUser): ...@@ -1023,6 +1023,8 @@ class Tesla(LHCbConfigurableUser):
from DAQSys.Decoders import DecoderDB from DAQSys.Decoders import DecoderDB
selreports_decoder = DecoderDB['HltSelReportsDecoder/Hlt2SelReportsDecoder'] selreports_decoder = DecoderDB['HltSelReportsDecoder/Hlt2SelReportsDecoder']
selreports_loc = selreports_decoder.Outputs['OutputHltSelReportsLocation'] selreports_loc = selreports_decoder.Outputs['OutputHltSelReportsLocation']
decreports_decoder = DecoderDB['HltDecReportsDecoder/Hlt2DecReportsDecoder']
decreports_loc = decreports_decoder.Outputs['OutputHltDecReportsLocation']
# By the time the stripper runs Hlt2/SelReports should exist # By the time the stripper runs Hlt2/SelReports should exist
stripper = HltSelReportsStripper('Hlt2SelReportsStripper') stripper = HltSelReportsStripper('Hlt2SelReportsStripper')
...@@ -1038,6 +1040,9 @@ class Tesla(LHCbConfigurableUser): ...@@ -1038,6 +1040,9 @@ class Tesla(LHCbConfigurableUser):
writer.SourceID = 2 writer.SourceID = 2
writer.InputHltSelReportsLocation = str(stripper.OutputHltSelReportsLocation) writer.InputHltSelReportsLocation = str(stripper.OutputHltSelReportsLocation)
writer.OutputLevel = self.getProp('OutputLevel') writer.OutputLevel = self.getProp('OutputLevel')
# By the time the stripper runs Hlt2/DecReports should exist
writer.UseTCK = True # use the TCKANNSvc for converting names to numbers
writer.InputHltDecReportsLocation = decreports_loc
kill_seq.Members.append(writer) kill_seq.Members.append(writer)
return kill_seq return kill_seq
......
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