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

Constructor & Destructor Documentation

◆ __init__()

def python.ElectronAnalysisConfig.ElectronLRTMergedConfig.__init__ (   self)

Definition at line 933 of file ElectronAnalysisConfig.py.

933  def __init__ (self) :
934  super (ElectronLRTMergedConfig, self).__init__ ()
935  self.addOption (
936  'inputElectrons', 'Electrons', type=str,
937  noneAction='error',
938  info="the name of the input electron container."
939  )
940  self.addOption (
941  'inputLRTElectrons', 'LRTElectrons', type=str,
942  noneAction='error',
943  info="the name of the input LRT electron container."
944  )
945  self.addOption (
946  'containerName', 'Electrons_LRTMerged', type=str,
947  noneAction='error',
948  info="the name of the output container after LRT merging."
949  )
950 

Member Function Documentation

◆ instanceName()

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

Definition at line 951 of file ElectronAnalysisConfig.py.

951  def instanceName (self) :
952  """Return the instance name for this block"""
953  return self.containerName
954 

◆ makeAlgs()

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

Definition at line 955 of file ElectronAnalysisConfig.py.

955  def makeAlgs (self, config) :
956 
957  if config.isPhyslite() :
958  raise(RuntimeError("Electron LRT merging is not available in Physlite mode"))
959 
960  alg = config.createAlgorithm( "CP::ElectronLRTMergingAlg", "ElectronLRTMergingAlg" )
961  alg.PromptElectronLocation = self.inputElectrons
962  alg.LRTElectronLocation = self.inputLRTElectrons
963  alg.OutputCollectionName = self.containerName
964  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