Class to handle in-event reco
Definition at line 738 of file MenuComponents.py.
◆ __init__()
def MenuComponents.InEventRecoCA.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
inputMaker = None , |
|
|
** |
inputMakerArgs |
|
) |
| |
Definition at line 740 of file MenuComponents.py.
740 def __init__(self, name, inputMaker=None, **inputMakerArgs):
741 super( InEventRecoCA, self ).
__init__()
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
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)
◆ addRecoAlgo()
def MenuComponents.InEventRecoCA.addRecoAlgo |
( |
|
self, |
|
|
|
algo |
|
) |
| |
Place algorithm in the correct reconstruction sequence
Definition at line 768 of file MenuComponents.py.
768 def addRecoAlgo( self, algo ):
769 """ Place algorithm in the correct reconstruction sequence """
770 self.addRecoSequence()
771 return self.addEventAlgo( algo, sequenceName=self.recoSeq.name )
◆ addRecoSequence()
def MenuComponents.InEventRecoCA.addRecoSequence |
( |
|
self | ) |
|
Definition at line 758 of file MenuComponents.py.
758 def addRecoSequence(self):
759 if self.recoSeq
is None:
760 self.recoSeq =
parOR( self.name )
761 self.addSequence( self.recoSeq )
◆ inputMaker()
def MenuComponents.InEventRecoCA.inputMaker |
( |
|
self | ) |
|
Definition at line 773 of file MenuComponents.py.
773 def inputMaker( self ):
774 return self.inputMakerAlg
◆ mergeReco()
def MenuComponents.InEventRecoCA.mergeReco |
( |
|
self, |
|
|
|
ca |
|
) |
| |
Merged CA moving reconstruction algorithms into the right sequence
Definition at line 763 of file MenuComponents.py.
763 def mergeReco( self, ca ):
764 """ Merged CA moving reconstruction algorithms into the right sequence """
765 self.addRecoSequence()
766 return self.merge( ca, sequenceName=self.recoSeq.name )
◆ inputMakerAlg
MenuComponents.InEventRecoCA.inputMakerAlg |
◆ name
MenuComponents.InEventRecoCA.name |
◆ recoSeq
MenuComponents.InEventRecoCA.recoSeq |
The documentation for this class was generated from the following file: