11 from GaudiConfig2
import Configurables
as C
12 from GaudiConfig2
import mergeConfigs
17 C.GaudiHistoAlgorithm(
"SimpleHistos", HistoPrint=
True, OutputLevel=3),
19 app = C.ApplicationMgr(TopAlg=algorithms)
20 return algorithms + [app]
24 return [C.AuditorSvc(
"AuditorSvc", Auditors=[
"ChronoAuditor"])]
28 return [C.ApplicationMgr(EvtMax=nevt, EvtSel=
"NONE")]
33 C.ApplicationMgr(HistogramPersistency=
"ROOT"),
34 C.RootHistCnv.PersSvc(
"RootHistSvc", OutputFile=filename),
38 Input=[
"InFile DATAFILE='../data/input.hbook' TYP='HBOOK'"],
44 config[
"ApplicationMgr"].TopAlg[0].OutputLevel = 2
48 def main(nevt=50000, outfile="histo-c2.root", OutputLevel=3):
49 msgSvc = C.MessageSvc(OutputLevel=3)
50 app = C.ApplicationMgr(MessageSvcType=msgSvc)
51 app.ExtSvc = [
"Gaudi::Monitoring::MessageSvcSink"]