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',
10import AthenaRootComps.ReadAthenaRoot
11svcMgr.EventSelector.InputCollections = _cbntfiles
12svcMgr.EventSelector.TupleName =
"CollectionTree"
13svcMgr.EventSelector.TupleName =
"egamma"
15from AthenaPython
import PyAthena
16StatusCode = 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
58from AthenaCommon.AlgSequence
import AlgSequence
62activeBranches = [
'nMC' ]
63activeBranches = [
'*' ]
66svcMgr.EventSelector.ActiveBranches = activeBranches
67job.MyAlg.ActiveBranches = activeBranches
69if not 'EVTMAX' in dir():
virtual StatusCode execute() override
virtual StatusCode finalize() override
virtual StatusCode initialize() override
__init__(self, name='MyAlg', **kw)
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)