14import AthenaCommon.AtlasUnixStandardJob
17from AthenaCommon.AlgSequence
import AlgSequence
18topSequence = AlgSequence()
21from AthenaCommon.AppMgr
import ServiceMgr
as svcMgr
24from AthenaCommon.AppMgr
import theApp
27from OverlayCommonAlgs.OverlayFlags
import overlayFlags
28overlayFlags.isDataOverlay.set_Value_and_Lock(
False)
29overlayFlags.isOverlayMT.set_Value_and_Lock(
True)
34import AthenaPoolCnvSvc.ReadAthenaPoolDouble
39from RecExConfig.RecFlags
import rec
40from OverlayCommonAlgs.OverlayFlags
import overlayFlags
42overlayFlags.isOverlayMT.set_Value_and_Lock(
True)
48DetDescrVersion =
"ATLAS-R2-2016-01-00-01"
54data_dir = os.environ.get (
'ATLAS_REFERENCE_DATA',
'/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art')
55svcMgr.EventSelector.InputCollections = [ data_dir +
"/OverlayTests/PresampledPileUp/22.0/RDO.merged-pileup-MT.unittest.pool.root" ]
56svcMgr.EventSelector.OutputLevel = DEBUG
57svcMgr.SecondaryEventSelector.InputCollections = [ data_dir +
"/Tier0ChainTests/valid1.410000.PowhegPythiaEvtGen_P2012_ttbar_hdamp172p5_nonallhad.simul.HITS.e4993_s3091/HITS.10504490._000425.pool.root.1" ]
58svcMgr.SecondaryEventSelector.OutputLevel = DEBUG
63from SGComps
import AddressRemappingSvc
64AddressRemappingSvc.addInputRename(
"EventInfo",
"McEventInfo" ,
"Sig_McEventInfo")
65AddressRemappingSvc.addInputRename(
"McEventCollection",
"TruthEvent" ,
"Sig_TruthEvent")
66svcMgr.AddressRemappingSvc.OutputLevel = DEBUG
76from AthenaCommon
import CfgGetter
77topSequence += CfgGetter.getAlgorithm(
"CopyMcEventCollection")
82from AthenaCommon.ConcurrencyFlags
import jobproperties
as jp
83nThreads = jp.ConcurrencyFlags.NumThreads()
84from AthenaServices
import AthenaServicesConf
86 EventLoop = AthenaServicesConf.AthenaHiveEventLoopMgr()
88 EventLoop = AthenaServicesConf.AthenaEventLoopMgr()
89EventLoop.RequireInputAttributeList =
True
90EventLoop.UseSecondaryEventNumber =
True
91EventLoop.OutputLevel = INFO
97svcMgr.ProxyProviderSvc.OutputLevel = DEBUG
98svcMgr.AthenaPoolAddressProviderSvcPrimary.OutputLevel = DEBUG
99svcMgr.AthenaPoolAddressProviderSvcSecondary.OutputLevel = DEBUG
100svcMgr.EventSelector.OutputLevel = DEBUG
105from AthenaPoolCnvSvc.WriteAthenaPool
import AthenaPoolOutputStream
107Stream1 = AthenaPoolOutputStream(
"Stream1", asAlg=
True, noTag=
True )
108Stream1.OutputLevel = INFO
110Stream1.OutputFile = locals().
get(
"outputFile",
"OverlayRDO.root")
113Stream1.ItemList += [
"McEventCollection#TruthEvent"]
118svcMgr.MessageSvc.debugLimit = 100000
121include(
"AthenaPoolTest/NoStats_jobOptions.py" )
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)