11 from GaudiConfig2
import Configurables
as C
12 from GaudiConfig2
import useGlobalInstances
16 C.AuditorSvc(
"AuditorSvc", Auditors=[
"ChronoAuditor"])
20 C.GaudiHistoAlgorithm(
"SimpleHistos", HistoPrint=
True, OutputLevel=3),
21 C.Gaudi.Examples.Counter.GaudiHistoAlgorithm(
"SimpleCounterHistos", OutputLevel=2),
24 app = C.ApplicationMgr(
26 TopAlg=[
"SimpleHistos",
"SimpleCounterHistos"],
31 app.TopAlg.append(
"MessageSvc")
32 assert False,
"this is not expected"
36 app.TopAlg[0].OutputLevel = 2
38 app.MessageSvcType =
"MessageSvc"
39 app.MessageSvcType.OutputLevel = 3
40 app.ExtSvc = [
"Gaudi::Monitoring::MessageSvcSink"]
43 app.JobOptionsSvcType =
"MessageSvc"
44 assert False,
"this is not expected"
48 app.HistogramPersistency =
"ROOT"
49 C.RootHistCnv.PersSvc(
"RootHistSvc", OutputFile=
"histo-c2g.root")
54 Input=[
"InFile DATAFILE='../data/input.hbook' TYP='HBOOK'"],