31 __slots__ = {
'wclass' : object}
34 object.__setattr__(self,
'wclass', wclass(*args, **kargs))
36 for n,v
in self.wclass.__slots__.items():
37 if not hasattr(self.wclass, n):
38 setattr(self.wclass, n, v)
41 return self.wclass.__getattribute__(attr)
44 setattr(self.wclass, attr, value)
47 return self.wclass(*args, **kwargs)
54 for n,v
in algtool.__slots__.items():
55 if not hasattr(algtool, n):
56 setattr(algtool, n, v)
64 categoryList, trackTypeList, coneOrChi2SetList,
67 brIncludes = [tuple(x.split(
'|',3))
for x
in brIncludeList]
68 for bntup
in brPrefixList:
69 bn, sep, bnsuf = bntup.partition(
'+')
70 for i, cstr
in enumerate(coneOrChi2SetList):
71 for itt
in trackTypeList:
72 ittstr =
"T%010d" % itt
73 for itcstr
in categoryList:
74 if brIncludes
and not (cstr,
str(itt),itcstr)
in brIncludes:
75 for dvs
in doVertexTypeList:
77 fbn =
'_'.
join(
filter(
None, [name,bn,ittstr,itcstr,
80 fbn =
'_'.
join(
filter(
None, [name,bn,cstr,ittstr,