11 from GaudiConfig2
import Configurables
as C, Configurable, mergeConfigs
16 C.GaudiHistoAlgorithm(
'SimpleHistos', HistoPrint=
True, OutputLevel=3),
18 app = C.ApplicationMgr(TopAlg=algorithms)
19 return algorithms + [app]
23 return [C.AuditorSvc(
'AuditorSvc', Auditors=[
'ChronoAuditor'])]
27 return [C.ApplicationMgr(EvtMax=nevt, EvtSel=
'NONE')]
32 C.ApplicationMgr(HistogramPersistency=
'ROOT'),
33 C.RootHistCnv.PersSvc(
'RootHistSvc', OutputFile=filename),
37 Input=[
"InFile DATAFILE='../data/input.hbook' TYP='HBOOK'"])
42 config[
'ApplicationMgr'].TopAlg[0].OutputLevel = 2
46 def main(nevt=50000, outfile='histo-c2.root', OutputLevel=3):
47 msgSvc = C.MessageSvc(OutputLevel=3)
48 app = C.ApplicationMgr(MessageSvcType=msgSvc)
49 app.ExtSvc = [
"Gaudi::Monitoring::MessageSvcSink"]