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

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 816 of file MenuComponents.py.

816  def __init__(self, name, inputMaker=None, **inputMakerArgs):
817  super( InEventRecoCA, self ).__init__()
818  self.name = name
819  self.recoSeq = None
820 
821  if inputMaker:
822  assert len(inputMakerArgs) == 0, "No support for explicitly passed input maker and and input maker arguments at the same time"
823  self.inputMakerAlg = inputMaker
824  else:
825  assert 'name' not in inputMakerArgs, "The name of input maker is predefined by the name of sequence"
826  args = {'name': "IM"+name,
827  'RoIsLink' : 'initialRoI',
828  'RoIs' : f'{name}RoIs',
829  'RoITool': CompFactory.ViewCreatorInitialROITool(),
830  'mergeUsingFeature': False}
831  args.update(**inputMakerArgs)
832  self.inputMakerAlg = CompFactory.InputMakerForRoI(**args)
833 

Member Function Documentation

◆ addRecoAlgo()

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

Definition at line 844 of file MenuComponents.py.

844  def addRecoAlgo( self, algo ):
845  """ Place algorithm in the correct reconstruction sequence """
846  self.addRecoSequence()
847  return self.addEventAlgo( algo, sequenceName=self.recoSeq.name )
848 

◆ addRecoSequence()

def MenuComponents.InEventRecoCA.addRecoSequence (   self)

Definition at line 834 of file MenuComponents.py.

834  def addRecoSequence(self):
835  if self.recoSeq is None:
836  self.recoSeq = parOR( self.name )
837  self.addSequence( self.recoSeq )
838 

◆ inputMaker()

def MenuComponents.InEventRecoCA.inputMaker (   self)

Definition at line 849 of file MenuComponents.py.

849  def inputMaker( self ):
850  return self.inputMakerAlg
851 
852 
853 

◆ mergeReco()

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

Definition at line 839 of file MenuComponents.py.

839  def mergeReco( self, ca ):
840  """ Merged CA moving reconstruction algorithms into the right sequence """
841  self.addRecoSequence()
842  return self.merge( ca, sequenceName=self.recoSeq.name )
843 

Member Data Documentation

◆ inputMakerAlg

MenuComponents.InEventRecoCA.inputMakerAlg

Definition at line 823 of file MenuComponents.py.

◆ name

MenuComponents.InEventRecoCA.name

Definition at line 818 of file MenuComponents.py.

◆ recoSeq

MenuComponents.InEventRecoCA.recoSeq

Definition at line 819 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