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 738 of file MenuComponents.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 740 of file MenuComponents.py.

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

Member Function Documentation

◆ addRecoAlgo()

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

Definition at line 768 of file MenuComponents.py.

768 def addRecoAlgo( self, algo ):
769 """ Place algorithm in the correct reconstruction sequence """
770 self.addRecoSequence()
771 return self.addEventAlgo( algo, sequenceName=self.recoSeq.name )
772

◆ addRecoSequence()

MenuComponents.InEventRecoCA.addRecoSequence ( self)

Definition at line 758 of file MenuComponents.py.

758 def addRecoSequence(self):
759 if self.recoSeq is None:
760 self.recoSeq = parOR( self.name )
761 self.addSequence( self.recoSeq )
762

◆ inputMaker()

MenuComponents.InEventRecoCA.inputMaker ( self)

Definition at line 773 of file MenuComponents.py.

773 def inputMaker( self ):
774 return self.inputMakerAlg
775
776
777

◆ mergeReco()

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

Definition at line 763 of file MenuComponents.py.

763 def mergeReco( self, ca ):
764 """ Merged CA moving reconstruction algorithms into the right sequence """
765 self.addRecoSequence()
766 return self.merge( ca, sequenceName=self.recoSeq.name )
767

Member Data Documentation

◆ inputMakerAlg

MenuComponents.InEventRecoCA.inputMakerAlg = inputMaker

Definition at line 747 of file MenuComponents.py.

◆ name

MenuComponents.InEventRecoCA.name = name

Definition at line 742 of file MenuComponents.py.

◆ recoSeq

MenuComponents.InEventRecoCA.recoSeq = None

Definition at line 743 of file MenuComponents.py.


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