Skip to content
Snippets Groups Projects
Commit 27453964 authored by Carl Suster's avatar Carl Suster
Browse files

Remove call to deprecated TBranch::GetObjClassName()

The method no longer exists in TBranch() as it was replaced by GetClassName()
parent 8a941e67
No related branches found
No related tags found
No related merge requests found
......@@ -113,15 +113,14 @@ def extractFromFiles(fileNames):
branchNames = branchNames)
try:
brs = tt.GetListOfBranches()
for br in brs:
if not br.GetObjClassName() == 'EventStreamInfo': continue
for br in tt.GetListOfBranches():
if not br.GetClassName() == 'EventStreamInfo': continue
# Find LBs in a given file
for lb in getLBs(tt, br.GetName()):
fname = fileName.split('/')[-1]
fname = fileName.split('/')[-1]
try:
lbDict[fname].append(lb)
lbDict[fname].append(lb)
except KeyError:
lbDict[fname] = [lb]
#print 'Added lbs for Dict'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment