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 |
46 |
|
c1 = self.makecanvas("c1",300,200) |
47 |
|
c2 = self.makecanvas("c2",600,400) |
48 |
|
colors = [6,4,2,8,10,12] |
49 |
|
num = [] |
50 |
|
for i in range(0,countline): |
51 |
|
num.append(countfiles[i+1]-2) |
53 |
– |
print num |
52 |
|
|
53 |
|
his1 = TH1F("pyCfgCheck","pyCfgCheck",countline,0,countline) |
54 |
|
for j in range(0,countline): |
55 |
< |
titlenum = title[j]+str(num[j]) |
55 |
> |
titlenum = title[j]+' ('+str(num[j])+')' |
56 |
|
his1.Fill(titlenum,float(num[j])) |
57 |
|
|
58 |
|
pie = TPie(his1) |