740 def __init__(self, name, inputMaker=None, **inputMakerArgs):
741 super( InEventRecoCA, self ).__init__()
742 self.name = name
743 self.recoSeq = None
744
745 if inputMaker:
746 assert len(inputMakerArgs) == 0, "No support for explicitly passed input maker and and input maker arguments at the same time"
747 self.inputMakerAlg = inputMaker
748 else:
749 assert 'name' not in inputMakerArgs, "The name of input maker is predefined by the name of sequence"
750 args = {'name': "IM"+name,
751 'RoIsLink' : 'initialRoI',
752 'RoIs' : f'{name}RoIs',
753 'RoITool': CompFactory.ViewCreatorInitialROITool(),
754 'mergeUsingFeature': False}
755 args.update(**inputMakerArgs)
756 self.inputMakerAlg = CompFactory.InputMakerForRoI(**args)
757