Skip to content
Snippets Groups Projects
Commit 8e9ad387 authored by Alex Pearce's avatar Alex Pearce
Browse files
parent fe83599c
No related branches found
No related tags found
2 merge requests!85merge master to future,!73Tesla configuration house-keeping
......@@ -4,6 +4,7 @@ import re
from Configurables import (
AddressKillerAlg,
AuditorSvc,
CaloClusterMCTruth,
CaloDigit2MCLinks2Table,
ChargedPP2MC,
......@@ -38,9 +39,11 @@ from Configurables import (
RecSummaryFromSelReports,
RecombineRawEvent,
RecordStream,
SequencerTimerTool,
TCKLinePersistenceSvc,
TeslaLineChecker,
TeslaReportAlgo,
TimingAuditor,
TrackAssociator,
TrackSys,
TurboConf,
......@@ -189,6 +192,17 @@ class Tesla(LHCbConfigurableUser):
if ( self.getProp("Histogram") != "" ):
HistogramPersistencySvc().OutputFile = self.getProp("Histogram")
def _configureTimingAuditor(self):
"""Enable the printing of the algorithm timing table."""
ApplicationMgr().ExtSvc += ['ToolSvc', 'AuditorSvc']
ApplicationMgr().AuditAlgorithms = True
AuditorSvc().Auditors += ['TimingAuditor']
TimingAuditor().addTool(SequencerTimerTool, name='TIMER')
TimingAuditor().TIMER.NameSize = 60
# Disable INFO output from the default timer tool
SequencerTimerTool().OutputLevel = WARNING
def _configureTrackTruth(self,assocpp,trackLoc) :
assoctr = TrackAssociator("TurboAssocTr"+trackLoc)
assoctr.OutputLevel = self.getProp('OutputLevel')
......@@ -1039,6 +1053,9 @@ class Tesla(LHCbConfigurableUser):
if len(self.getProp('Monitors'))>0:
self._configureHistos()
# Enable the timing table
self._configureTimingAuditor()
if self.getProp('KillInputTurbo'):
enk = EventNodeKiller('KillTurbo')
enk.Nodes = [ "Turbo" ]
......
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