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

Constructor & Destructor Documentation

◆ __init__()

def python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ (   self)

Definition at line 947 of file ElectronAnalysisConfig.py.

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

Member Function Documentation

◆ instanceName()

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

Definition at line 965 of file ElectronAnalysisConfig.py.

965  def instanceName (self) :
966  """Return the instance name for this block"""
967  return self.containerName
968 

◆ makeAlgs()

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

Definition at line 969 of file ElectronAnalysisConfig.py.

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