Class to handle in-event reco
Definition at line 749 of file MenuComponents.py.
◆ __init__()
def MenuComponents.InEventRecoCA.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
inputMaker = None , |
|
|
** |
inputMakerArgs |
|
) |
| |
Definition at line 751 of file MenuComponents.py.
751 def __init__(self, name, inputMaker=None, **inputMakerArgs):
752 super( InEventRecoCA, self ).
__init__()
757 assert len(inputMakerArgs) == 0,
"No support for explicitly passed input maker and and input maker arguments at the same time"
758 self.inputMakerAlg = inputMaker
760 assert 'name' not in inputMakerArgs,
"The name of input maker is predefined by the name of sequence"
761 args = {
'name':
"IM"+name,
762 'RoIsLink' :
'initialRoI',
763 'RoIs' : f
'{name}RoIs',
764 'RoITool': CompFactory.ViewCreatorInitialROITool(),
765 'mergeUsingFeature':
False}
766 args.update(**inputMakerArgs)
767 self.inputMakerAlg = CompFactory.InputMakerForRoI(**args)
◆ addRecoAlgo()
def MenuComponents.InEventRecoCA.addRecoAlgo |
( |
|
self, |
|
|
|
algo |
|
) |
| |
Place algorithm in the correct reconstruction sequence
Definition at line 779 of file MenuComponents.py.
779 def addRecoAlgo( self, algo ):
780 """ Place algorithm in the correct reconstruction sequence """
781 self.addRecoSequence()
782 return self.addEventAlgo( algo, sequenceName=self.recoSeq.name )
◆ addRecoSequence()
def MenuComponents.InEventRecoCA.addRecoSequence |
( |
|
self | ) |
|
Definition at line 769 of file MenuComponents.py.
769 def addRecoSequence(self):
770 if self.recoSeq
is None:
771 self.recoSeq =
parOR( self.name )
772 self.addSequence( self.recoSeq )
◆ inputMaker()
def MenuComponents.InEventRecoCA.inputMaker |
( |
|
self | ) |
|
Definition at line 784 of file MenuComponents.py.
784 def inputMaker( self ):
785 return self.inputMakerAlg
◆ mergeReco()
def MenuComponents.InEventRecoCA.mergeReco |
( |
|
self, |
|
|
|
ca |
|
) |
| |
Merged CA moving reconstruction algorithms into the right sequence
Definition at line 774 of file MenuComponents.py.
774 def mergeReco( self, ca ):
775 """ Merged CA moving reconstruction algorithms into the right sequence """
776 self.addRecoSequence()
777 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: