The Gaudi Framework  v36r1 (3e2fb5a8)
TimingHistograms.py
Go to the documentation of this file.
1 
14 
15 from Gaudi.Configuration import *
16 importOptions('AlgSequencer.py')
17 
18 # --------------------------------------------------------------
19 # Enable Timing Histograms
20 # --------------------------------------------------------------
21 from Configurables import TimingAuditor, SequencerTimerTool
22 TIMER = TimingAuditor("TIMER")
23 TIMER.addTool(SequencerTimerTool, name="TIMER")
24 TIMER.TIMER.HistoProduce = True
25 
26 # --------------------------------------------------------------
27 # Enable histograms output
28 # --------------------------------------------------------------
29 RootHistSvc().OutputFile = 'timing_histos.root'
30 ApplicationMgr(HistogramPersistency='ROOT')
Gaudi.Configuration
Definition: Configuration.py:1
GaudiKernel.ProcessJobOptions.importOptions
def importOptions(optsfile)
Definition: ProcessJobOptions.py:491
ApplicationMgr
Definition: ApplicationMgr.h:57