Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v38r0 (2143aa4c)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Histograms.py
Go to the documentation of this file.
1 
11 from Configurables import Gaudi__Monitoring__MessageSvcSink as MessageSvcSink
12 from Gaudi.Configuration import *
13 
14 AuditorSvc().Auditors = ["ChronoAuditor"]
15 MessageSvc().OutputLevel = INFO
16 RootHistSvc("RootHistSvc").OutputFile = "histo.root"
17 
18 from Configurables import (
19  Gaudi__Examples__Counter__GaudiHistoAlgorithm as CounterHistoAlg,
20 )
21 from Configurables import (
22  Gaudi__Examples__Counter__GaudiRootHistoAlgorithm as RootCounterHistoAlg,
23 )
24 from Configurables import Gaudi__Histograming__Sink__Root as RootHistoSink
25 
26 algs = [
27  CounterHistoAlg("SimpleCounterHistos", OutputLevel=DEBUG),
28  RootCounterHistoAlg("SimpleRootCounterHistos", OutputLevel=DEBUG),
29 ]
30 
32  EvtMax=50000,
33  EvtSel="NONE",
34  HistogramPersistency="ROOT",
35  TopAlg=algs,
36  ExtSvc=[MessageSvcSink(), RootHistoSink()],
37 )
AuditorSvc
Definition: AuditorSvc.h:28
Gaudi.Configuration
Definition: Configuration.py:1
MessageSvc
Definition: MessageSvc.h:40
ApplicationMgr
Definition: ApplicationMgr.h:57