3 import RecoTracker.IterativeTracking.iterativeTkConfig
as _cfg
12 for iterName, seqName
in _cfg.iterationAlgos(postfix, includeSequenceName=
True):
13 if hasattr(_iterativeTk_cff, iterName):
14 mod = getattr(_iterativeTk_cff, iterName)
15 seq = getattr(_iterativeTk_cff, seqName)
18 if not seq.contains(mod):
21 typeName = mod._TypedParameterizable__type
23 if typeName ==
"ClassifierMerger":
24 classifiers = mod.inputClassifiers.value()
25 elif "TrackMVAClassifier" in typeName
or "TrackLwtnnClassifier" or "TrackTfClassifier" in typeName:
26 classifiers = [iterName]
27 if len(classifiers) > 0:
28 ret[iterName] = (iterName+
"Tracks", classifiers)