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