2 _cbntfiles = glob(
'/tmp/binet/data/cbnt_aod.aan.*.root')
3 _cbntfiles = glob(
'/tmp/binet/data/NTUP_TOP.*.root*')
4 _cbntfiles = glob(
'/tmp/binet/data/mini*.root*')
5 _cbntfiles = glob(
'/tmp/binet/data/ntuple*.root*')
7 'root://eosatlas.cern.ch//eos/atlas/user/b/binet/utests/utests/filter-d3pd/ntuple.0.root',
8 'root://eosatlas.cern.ch//eos/atlas/user/b/binet/utests/utests/filter-d3pd/ntuple.1.root',
10 import AthenaRootComps.ReadAthenaRoot
11 svcMgr.EventSelector.InputCollections = _cbntfiles
12 svcMgr.EventSelector.TupleName =
"CollectionTree"
13 svcMgr.EventSelector.TupleName =
"egamma"
15 from AthenaPython
import PyAthena
16 StatusCode = PyAthena.StatusCode
31 self.
thSvc = PyAthena.py_svc(
'THistSvc', iface=
'ITHistSvc')
33 self.
msg.
error(
"Could not retrieve THistSvc !")
34 return StatusCode.Failure
39 self.
msg.
error(
'could not retrieve tree from THistSvc')
40 return StatusCode.Failure
42 return StatusCode.Success
45 self.
msg.
info(
'running execute...')
47 b = getattr(self.
tree, br)
50 self.
msg.
info(
'branch [%s]: %r', br, b)
51 return StatusCode.Success
54 return StatusCode.Success
58 from AthenaCommon.AlgSequence
import AlgSequence
62 activeBranches = [
'nMC' ]
63 activeBranches = [
'*' ]
66 svcMgr.EventSelector.ActiveBranches = activeBranches
67 job.MyAlg.ActiveBranches = activeBranches
69 if not 'EVTMAX' in dir():
71 theApp.EvtMax = EVTMAX