Class to handle in-event reco
Definition at line 825 of file MenuComponents.py.
◆ __init__()
def MenuComponents.InEventRecoCA.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
inputMaker = None , |
|
|
** |
inputMakerArgs |
|
) |
| |
Definition at line 827 of file MenuComponents.py.
827 def __init__(self, name, inputMaker=None, **inputMakerArgs):
828 super( InEventRecoCA, self ).
__init__()
833 assert len(inputMakerArgs) == 0,
"No support for explicitly passed input maker and and input maker arguments at the same time"
834 self.inputMakerAlg = inputMaker
836 assert 'name' not in inputMakerArgs,
"The name of input maker is predefined by the name of sequence"
837 args = {
'name':
"IM"+name,
838 'RoIsLink' :
'initialRoI',
839 'RoIs' : f
'{name}RoIs',
840 'RoITool': CompFactory.ViewCreatorInitialROITool(),
841 'mergeUsingFeature':
False}
842 args.update(**inputMakerArgs)
843 self.inputMakerAlg = CompFactory.InputMakerForRoI(**args)
◆ addRecoAlgo()
def MenuComponents.InEventRecoCA.addRecoAlgo |
( |
|
self, |
|
|
|
algo |
|
) |
| |
Place algorithm in the correct reconstruction sequence
Definition at line 855 of file MenuComponents.py.
855 def addRecoAlgo( self, algo ):
856 """ Place algorithm in the correct reconstruction sequence """
857 self.addRecoSequence()
858 return self.addEventAlgo( algo, sequenceName=self.recoSeq.name )
◆ addRecoSequence()
def MenuComponents.InEventRecoCA.addRecoSequence |
( |
|
self | ) |
|
Definition at line 845 of file MenuComponents.py.
845 def addRecoSequence(self):
846 if self.recoSeq
is None:
847 self.recoSeq =
parOR( self.name )
848 self.addSequence( self.recoSeq )
◆ inputMaker()
def MenuComponents.InEventRecoCA.inputMaker |
( |
|
self | ) |
|
Definition at line 860 of file MenuComponents.py.
860 def inputMaker( self ):
861 return self.inputMakerAlg
◆ mergeReco()
def MenuComponents.InEventRecoCA.mergeReco |
( |
|
self, |
|
|
|
ca |
|
) |
| |
Merged CA moving reconstruction algorithms into the right sequence
Definition at line 850 of file MenuComponents.py.
850 def mergeReco( self, ca ):
851 """ Merged CA moving reconstruction algorithms into the right sequence """
852 self.addRecoSequence()
853 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: