Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 834 of file MenuComponents.py.

Constructor & Destructor Documentation

◆ __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__()
838  self.name = name
839  self.recoSeq = None
840 
841  if inputMaker:
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
844  else:
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)
853 

Member Function Documentation

◆ 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 )
868 

◆ 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 )
858 

◆ inputMaker()

def MenuComponents.InEventRecoCA.inputMaker (   self)

Definition at line 869 of file MenuComponents.py.

869  def inputMaker( self ):
870  return self.inputMakerAlg
871 
872 
873 

◆ 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 )
863 

Member Data Documentation

◆ inputMakerAlg

MenuComponents.InEventRecoCA.inputMakerAlg

Definition at line 843 of file MenuComponents.py.

◆ name

MenuComponents.InEventRecoCA.name

Definition at line 838 of file MenuComponents.py.

◆ recoSeq

MenuComponents.InEventRecoCA.recoSeq

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