ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
MenuComponents.InEventRecoCA Class Reference
Inheritance diagram for MenuComponents.InEventRecoCA:
Collaboration diagram for MenuComponents.InEventRecoCA:

Public Member Functions

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

Public Attributes

 name
 
 recoSeq
 
 inputMakerAlg
 

Detailed Description

Class to handle in-event reco 

Definition at line 825 of file MenuComponents.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 827 of file MenuComponents.py.

827  def __init__(self, name, inputMaker=None, **inputMakerArgs):
828  super( InEventRecoCA, self ).__init__()
829  self.name = name
830  self.recoSeq = None
831 
832  if inputMaker:
833  assert len(inputMakerArgs) == 0, "No support for explicitly passed input maker and and input maker arguments at the same time"
834  self.inputMakerAlg = inputMaker
835  else:
836  assert 'name' not in inputMakerArgs, "The name of input maker is predefined by the name of sequence"
837  args = {'name': "IM"+name,
838  'RoIsLink' : 'initialRoI',
839  'RoIs' : f'{name}RoIs',
840  'RoITool': CompFactory.ViewCreatorInitialROITool(),
841  'mergeUsingFeature': False}
842  args.update(**inputMakerArgs)
843  self.inputMakerAlg = CompFactory.InputMakerForRoI(**args)
844 

Member Function Documentation

◆ addRecoAlgo()

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

Definition at line 855 of file MenuComponents.py.

855  def addRecoAlgo( self, algo ):
856  """ Place algorithm in the correct reconstruction sequence """
857  self.addRecoSequence()
858  return self.addEventAlgo( algo, sequenceName=self.recoSeq.name )
859 

◆ addRecoSequence()

def MenuComponents.InEventRecoCA.addRecoSequence (   self)

Definition at line 845 of file MenuComponents.py.

845  def addRecoSequence(self):
846  if self.recoSeq is None:
847  self.recoSeq = parOR( self.name )
848  self.addSequence( self.recoSeq )
849 

◆ inputMaker()

def MenuComponents.InEventRecoCA.inputMaker (   self)

Definition at line 860 of file MenuComponents.py.

860  def inputMaker( self ):
861  return self.inputMakerAlg
862 
863 
864 

◆ mergeReco()

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

Definition at line 850 of file MenuComponents.py.

850  def mergeReco( self, ca ):
851  """ Merged CA moving reconstruction algorithms into the right sequence """
852  self.addRecoSequence()
853  return self.merge( ca, sequenceName=self.recoSeq.name )
854 

Member Data Documentation

◆ inputMakerAlg

MenuComponents.InEventRecoCA.inputMakerAlg

Definition at line 834 of file MenuComponents.py.

◆ name

MenuComponents.InEventRecoCA.name

Definition at line 829 of file MenuComponents.py.

◆ recoSeq

MenuComponents.InEventRecoCA.recoSeq

Definition at line 830 of file MenuComponents.py.


The documentation for this class was generated from the following file:
python.JetAnalysisCommon.parOR
parOR
Definition: JetAnalysisCommon.py:271
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18