40 |
|
countline = countline + 1 |
41 |
|
m2 = re.search('Package',l) |
42 |
|
if m2: |
43 |
< |
slist = l.split() |
44 |
< |
title.append(slist[1]) |
43 |
> |
splitedline = l.split() |
44 |
> |
title.append(splitedline[1]) |
45 |
|
countfile = countfile + 1 |
46 |
|
print title |
47 |
|
c1 = self.makecanvas("c1",300,200) |
54 |
|
|
55 |
|
his1 = TH1F("pyCfgCheck","pyCfgCheck",countline,0,countline) |
56 |
|
for j in range(0,countline): |
57 |
< |
titlenum = title[j]+str(num[j]) |
57 |
> |
titlenum = title[j]+' ('+str(num[j])+')' |
58 |
|
his1.Fill(titlenum,float(num[j])) |
59 |
|
|
60 |
|
pie = TPie(his1) |