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