The Gaudi Framework
v36r1 (3e2fb5a8)
Histograms.py
Go to the documentation of this file.
1
11
from
Gaudi.Configuration
import
*
12
from
Configurables
import
Gaudi__Monitoring__MessageSvcSink
as
MessageSvcSink
13
14
AuditorSvc
().Auditors = [
'ChronoAuditor'
]
15
MessageSvc
().OutputLevel = INFO
16
RootHistSvc(
'RootHistSvc'
).OutputFile =
'histo.root'
17
18
HistogramSvc
(
'HistogramDataSvc'
).Input = [
19
"InFile DATAFILE='../data/input.hbook' TYP='HBOOK'"
20
]
21
22
#from GaudiExamples.GaudiExamplesConf import GaudiHistoAlgorithm
23
from
Configurables
import
GaudiHistoAlgorithm
24
from
Configurables
import
Gaudi__Examples__Counter__GaudiHistoAlgorithm
as
CounterHistoAlg, Gaudi__Histograming__Sink__Root
as
RootHistoSink
25
26
algs = [
27
GaudiHistoAlgorithm(
'SimpleHistos'
, HistoPrint=
True
, OutputLevel=DEBUG),
28
CounterHistoAlg(
'SimpleCounterHistos'
, OutputLevel=DEBUG),
29
]
30
31
app =
ApplicationMgr
(
32
EvtMax=50000,
33
EvtSel=
'NONE'
,
34
HistogramPersistency=
'ROOT'
,
35
TopAlg=algs,
36
ExtSvc=[MessageSvcSink(), RootHistoSink()])
HistogramSvc
Definition:
HistogramSvc.h:61
AuditorSvc
Definition:
AuditorSvc.h:28
Gaudi.Configuration
Definition:
Configuration.py:1
MessageSvc
Definition:
MessageSvc.h:40
ApplicationMgr
Definition:
ApplicationMgr.h:57
GaudiExamples
options
Histograms.py
Generated on Tue Sep 21 2021 12:27:41 for The Gaudi Framework by
1.8.18