10 import AthenaCommon.AtlasUnixStandardJob
13 import AthenaCommon.AtlasUnixGeneratorJob
20 theApp.HistogramPersistency =
"ROOT"
22 from AthenaCommon.AlgSequence
import AlgSequence
24 job += CfgMgr.AthEx__Hist(
"Hist")
25 job += CfgMgr.AthEx__Ntup(
"Ntup")
31 job.Hist.OutputLevel = DEBUG
32 job.Ntup.OutputLevel = DEBUG
33 svcMgr.MessageSvc.useColors =
True
40 if not hasattr(svcMgr,
'THistSvc'):
41 svcMgr += CfgMgr.THistSvc()
42 hsvc = svcMgr.THistSvc
44 hsvc.Output += [
"stat DATAFILE='hist.root' OPT='RECREATE'" ]
49 hsvc.Output += [
"rec DATAFILE='ntuple.root' OPT='RECREATE'" ]
59 import AthenaPython.PyAthena
as PyAthena
60 PyAthena.std.vector(
'long')