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