The Gaudi Framework  v37r1 (a7f61348)
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 Gaudi__Histograming__Sink__Root as RootHistoSink
22 
23 algs = [
24  CounterHistoAlg("SimpleCounterHistos", OutputLevel=DEBUG),
25 ]
26 
28  EvtMax=50000,
29  EvtSel="NONE",
30  HistogramPersistency="ROOT",
31  TopAlg=algs,
32  ExtSvc=[MessageSvcSink(), RootHistoSink()],
33 )
AuditorSvc
Definition: AuditorSvc.h:28
Gaudi.Configuration
Definition: Configuration.py:1
MessageSvc
Definition: MessageSvc.h:40
ApplicationMgr
Definition: ApplicationMgr.h:57