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 | List of all members
python.ElectronAnalysisConfig.ElectronLRTMergedConfig Class Reference
Inheritance diagram for python.ElectronAnalysisConfig.ElectronLRTMergedConfig:
Collaboration diagram for python.ElectronAnalysisConfig.ElectronLRTMergedConfig:

Public Member Functions

def __init__ (self)
 
def makeAlgs (self, config)
 

Detailed Description

Definition at line 797 of file ElectronAnalysisConfig.py.

Constructor & Destructor Documentation

◆ __init__()

def python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ (   self)

Definition at line 798 of file ElectronAnalysisConfig.py.

798  def __init__ (self) :
799  super (ElectronLRTMergedConfig, self).__init__ ()
800  self.addOption (
801  'inputElectrons', 'Electrons', type=str,
802  noneAction='error',
803  info="the name of the input electron container."
804  )
805  self.addOption (
806  'inputLRTElectrons', 'LRTElectrons', type=str,
807  noneAction='error',
808  info="the name of the input LRT electron container."
809  )
810  self.addOption (
811  'containerName', 'Electrons_LRTMerged', type=str,
812  noneAction='error',
813  info="the name of the output container after LRT merging."
814  )
815 
816 

Member Function Documentation

◆ makeAlgs()

def python.ElectronAnalysisConfig.ElectronLRTMergedConfig.makeAlgs (   self,
  config 
)

Definition at line 817 of file ElectronAnalysisConfig.py.

817  def makeAlgs (self, config) :
818 
819  if config.isPhyslite() :
820  raise(RuntimeError("Electron LRT merging is not available in Physlite mode"))
821 
822  alg = config.createAlgorithm( "CP::ElectronLRTMergingAlg", "ElectronLRTMergingAlg" + self.containerName )
823  alg.PromptElectronLocation = self.inputElectrons
824  alg.LRTElectronLocation = self.inputLRTElectrons
825  alg.OutputCollectionName = self.containerName
826  alg.CreateViewCollection = False

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