ATLAS Offline Software
test_athena_ntuple_dumper_seek.py
Go to the documentation of this file.
1 if not isinstance(FNAMES, (list,tuple)):
2  FNAMES = [FNAMES]
3  pass
4 
5 if not 'TUPLENAME' in dir():
6  TUPLENAME = 'egamma'
7 
8 import AthenaRootComps.ReadAthenaRoot
9 svcMgr.EventSelector.InputCollections = FNAMES
10 svcMgr.EventSelector.TupleName = TUPLENAME
11 
12 from AthenaCommon.AlgSequence import AlgSequence
13 job = AlgSequence()
14 
15 import AthenaRootComps.AthenaRootCompsConf as arcc
16 if not 'USEVARHANDLE' in dir():
17  USEVARHANDLE=1
18 if USEVARHANDLE: job += arcc.Athena__RootAsciiDumperAlgHandle("rootdumper")
19 else: job += arcc.Athena__RootAsciiDumperAlg ("rootdumper")
20 
21 
22 import os, time
23 print ('attach now', os.getpid())
24 time.sleep(10)
25 
26 theApp.initialize()
27 theApp.nextEvent()
28 theApp.nextEvent()
29 theApp.seekEvent(12177)
30 theApp.seekEvent(24412)
31 theApp.seekEvent(24339)
32 
33 theApp.finalize().ignore()
34 theApp.exit()
python.AlgSequence.AlgSequence
AlgSequence
Definition: PhysicsAnalysis/D3PDTools/AnaAlgorithm/python/AlgSequence.py:7
DiTauMassTools::ignore
void ignore(T &&)
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:54
beamspotman.dir
string dir
Definition: beamspotman.py:623