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

Constructor & Destructor Documentation

◆ __init__()

def 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()

def 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()

def 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()

def MenuComponents.InEventRecoCA.inputMaker (   self)

Definition at line 773 of file MenuComponents.py.

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

◆ mergeReco()

def 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

Definition at line 747 of file MenuComponents.py.

◆ name

MenuComponents.InEventRecoCA.name

Definition at line 742 of file MenuComponents.py.

◆ recoSeq

MenuComponents.InEventRecoCA.recoSeq

Definition at line 743 of file MenuComponents.py.


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