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