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 942 of file ElectronAnalysisConfig.py.

Constructor & Destructor Documentation

◆ __init__()

def python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ (   self)

Definition at line 943 of file ElectronAnalysisConfig.py.

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

Member Function Documentation

◆ instanceName()

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

Definition at line 961 of file ElectronAnalysisConfig.py.

961  def instanceName (self) :
962  """Return the instance name for this block"""
963  return self.containerName
964 

◆ makeAlgs()

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

Definition at line 965 of file ElectronAnalysisConfig.py.

965  def makeAlgs (self, config) :
966 
967  if config.isPhyslite() :
968  raise(RuntimeError("Electron LRT merging is not available in Physlite mode"))
969 
970  alg = config.createAlgorithm( "CP::ElectronLRTMergingAlg", "ElectronLRTMergingAlg" )
971  alg.PromptElectronLocation = self.inputElectrons
972  alg.LRTElectronLocation = self.inputLRTElectrons
973  alg.OutputCollectionName = self.containerName
974  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