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

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 751 of file MenuComponents.py.

751  def __init__(self, name, inputMaker=None, **inputMakerArgs):
752  super( InEventRecoCA, self ).__init__()
753  self.name = name
754  self.recoSeq = None
755 
756  if inputMaker:
757  assert len(inputMakerArgs) == 0, "No support for explicitly passed input maker and and input maker arguments at the same time"
758  self.inputMakerAlg = inputMaker
759  else:
760  assert 'name' not in inputMakerArgs, "The name of input maker is predefined by the name of sequence"
761  args = {'name': "IM"+name,
762  'RoIsLink' : 'initialRoI',
763  'RoIs' : f'{name}RoIs',
764  'RoITool': CompFactory.ViewCreatorInitialROITool(),
765  'mergeUsingFeature': False}
766  args.update(**inputMakerArgs)
767  self.inputMakerAlg = CompFactory.InputMakerForRoI(**args)
768 

Member Function Documentation

◆ addRecoAlgo()

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

Definition at line 779 of file MenuComponents.py.

779  def addRecoAlgo( self, algo ):
780  """ Place algorithm in the correct reconstruction sequence """
781  self.addRecoSequence()
782  return self.addEventAlgo( algo, sequenceName=self.recoSeq.name )
783 

◆ addRecoSequence()

def MenuComponents.InEventRecoCA.addRecoSequence (   self)

Definition at line 769 of file MenuComponents.py.

769  def addRecoSequence(self):
770  if self.recoSeq is None:
771  self.recoSeq = parOR( self.name )
772  self.addSequence( self.recoSeq )
773 

◆ inputMaker()

def MenuComponents.InEventRecoCA.inputMaker (   self)

Definition at line 784 of file MenuComponents.py.

784  def inputMaker( self ):
785  return self.inputMakerAlg
786 
787 
788 

◆ mergeReco()

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

Definition at line 774 of file MenuComponents.py.

774  def mergeReco( self, ca ):
775  """ Merged CA moving reconstruction algorithms into the right sequence """
776  self.addRecoSequence()
777  return self.merge( ca, sequenceName=self.recoSeq.name )
778 

Member Data Documentation

◆ inputMakerAlg

MenuComponents.InEventRecoCA.inputMakerAlg

Definition at line 758 of file MenuComponents.py.

◆ name

MenuComponents.InEventRecoCA.name

Definition at line 753 of file MenuComponents.py.

◆ recoSeq

MenuComponents.InEventRecoCA.recoSeq

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