ATLAS Offline Software
Loading...
Searching...
No Matches
MenuComponents.InEventRecoCA Class Reference
Inheritance diagram for MenuComponents.InEventRecoCA:
Collaboration diagram for MenuComponents.InEventRecoCA:

Public Member Functions

 __init__ (self, name, inputMaker=None, **inputMakerArgs)
 addRecoSequence (self)
 mergeReco (self, ca)
 addRecoAlgo (self, algo)
 inputMaker (self)

Public Attributes

 name = name
 recoSeq = None
 inputMakerAlg = inputMaker

Detailed Description

Class to handle in-event reco 

Definition at line 730 of file MenuComponents.py.

Constructor & Destructor Documentation

◆ __init__()

MenuComponents.InEventRecoCA.__init__ ( self,
name,
inputMaker = None,
** inputMakerArgs )

Definition at line 732 of file MenuComponents.py.

732 def __init__(self, name, inputMaker=None, **inputMakerArgs):
733 super( InEventRecoCA, self ).__init__()
734 self.name = name
735 self.recoSeq = None
736
737 if inputMaker:
738 assert len(inputMakerArgs) == 0, "No support for explicitly passed input maker and and input maker arguments at the same time"
739 self.inputMakerAlg = inputMaker
740 else:
741 assert 'name' not in inputMakerArgs, "The name of input maker is predefined by the name of sequence"
742 args = {'name': "IM"+name,
743 'RoIsLink' : 'initialRoI',
744 'RoIs' : f'{name}RoIs',
745 'RoITool': CompFactory.ViewCreatorInitialROITool(),
746 'mergeUsingFeature': False}
747 args.update(**inputMakerArgs)
748 self.inputMakerAlg = CompFactory.InputMakerForRoI(**args)
749

Member Function Documentation

◆ addRecoAlgo()

MenuComponents.InEventRecoCA.addRecoAlgo ( self,
algo )
Place algorithm in the correct reconstruction sequence 

Definition at line 760 of file MenuComponents.py.

760 def addRecoAlgo( self, algo ):
761 """ Place algorithm in the correct reconstruction sequence """
762 self.addRecoSequence()
763 return self.addEventAlgo( algo, sequenceName=self.recoSeq.name )
764

◆ addRecoSequence()

MenuComponents.InEventRecoCA.addRecoSequence ( self)

Definition at line 750 of file MenuComponents.py.

750 def addRecoSequence(self):
751 if self.recoSeq is None:
752 self.recoSeq = parOR( self.name )
753 self.addSequence( self.recoSeq )
754

◆ inputMaker()

MenuComponents.InEventRecoCA.inputMaker ( self)

Definition at line 765 of file MenuComponents.py.

765 def inputMaker( self ):
766 return self.inputMakerAlg
767
768
769

◆ mergeReco()

MenuComponents.InEventRecoCA.mergeReco ( self,
ca )
Merged CA moving reconstruction algorithms into the right sequence 

Definition at line 755 of file MenuComponents.py.

755 def mergeReco( self, ca ):
756 """ Merged CA moving reconstruction algorithms into the right sequence """
757 self.addRecoSequence()
758 return self.merge( ca, sequenceName=self.recoSeq.name )
759

Member Data Documentation

◆ inputMakerAlg

MenuComponents.InEventRecoCA.inputMakerAlg = inputMaker

Definition at line 739 of file MenuComponents.py.

◆ name

MenuComponents.InEventRecoCA.name = name

Definition at line 734 of file MenuComponents.py.

◆ recoSeq

MenuComponents.InEventRecoCA.recoSeq = None

Definition at line 735 of file MenuComponents.py.


The documentation for this class was generated from the following file: