71 """produce a list with one element containing a HelperToolConfigTool.
72 This list will inialise a Gaudi ToolArray
74 The tree vector is [0, 0, 0, 0, 3, 3]
75 pos 0: root; pos 1 backward jet; pos 2 forward jet; pos 3: dijet;
76 pos 4: dijet j1; pos 5: dijet jet 2
78 There is a Repeated Condition configurer for each position
80 No conditions are filtered"""
82 assert scenario.startswith(
'FBDJNOSHARED'),\
83 'routing error, module %s: bad scenario %s' % (__name__, scenario)
85 m = rgx.match(scenario)
86 groupdict = m.groupdict()
97 repcondargs.append(RepeatedConditionParams(tree_id = 1,
99 chainPartInd=chainPartInd,
105 repcondargs.append(RepeatedConditionParams(tree_id = 2,
107 chainPartInd=chainPartInd,
113 repcondargs.append(RepeatedConditionParams(tree_id = 3,
120 repcondargs.append(RepeatedConditionParams(tree_id = 4,
122 chainPartInd=chainPartInd,
128 repcondargs.append(RepeatedConditionParams(tree_id = 5,
130 chainPartInd=chainPartInd,
135 nconds = len(repcondargs)
137 filterparam_inds = [-1
for i
in range(nconds)]
145 assert treevec == [0, 0, 0, 0, 3, 3]
147 helper_params = HelperConfigToolParams(treevec=treevec,
148 repcondargs=repcondargs,
149 filterparams=filterparams,
150 filterparam_inds=filterparam_inds)
152 assert len(repcondargs) == len(filterparam_inds)
154 return [helper_params]