ATLAS Offline Software
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 instanceName (self)
 
def makeAlgs (self, config)
 

Detailed Description

Definition at line 938 of file ElectronAnalysisConfig.py.

Constructor & Destructor Documentation

◆ __init__()

def python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ (   self)

Definition at line 939 of file ElectronAnalysisConfig.py.

939  def __init__ (self) :
940  super (ElectronLRTMergedConfig, self).__init__ ()
941  self.addOption (
942  'inputElectrons', 'Electrons', type=str,
943  noneAction='error',
944  info="the name of the input electron container."
945  )
946  self.addOption (
947  'inputLRTElectrons', 'LRTElectrons', type=str,
948  noneAction='error',
949  info="the name of the input LRT electron container."
950  )
951  self.addOption (
952  'containerName', 'Electrons_LRTMerged', type=str,
953  noneAction='error',
954  info="the name of the output container after LRT merging."
955  )
956 

Member Function Documentation

◆ instanceName()

def python.ElectronAnalysisConfig.ElectronLRTMergedConfig.instanceName (   self)
Return the instance name for this block

Definition at line 957 of file ElectronAnalysisConfig.py.

957  def instanceName (self) :
958  """Return the instance name for this block"""
959  return self.containerName
960 

◆ makeAlgs()

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

Definition at line 961 of file ElectronAnalysisConfig.py.

961  def makeAlgs (self, config) :
962 
963  if config.isPhyslite() :
964  raise(RuntimeError("Electron LRT merging is not available in Physlite mode"))
965 
966  alg = config.createAlgorithm( "CP::ElectronLRTMergingAlg", "ElectronLRTMergingAlg" )
967  alg.PromptElectronLocation = self.inputElectrons
968  alg.LRTElectronLocation = self.inputLRTElectrons
969  alg.OutputCollectionName = self.containerName
970  alg.CreateViewCollection = False

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