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
ParticleLevelMissingETConfig.ParticleLevelMissingETBlock Class Reference
Inheritance diagram for ParticleLevelMissingETConfig.ParticleLevelMissingETBlock:
Collaboration diagram for ParticleLevelMissingETConfig.ParticleLevelMissingETBlock:

Public Member Functions

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

Detailed Description

ConfigBlock for particle-level truth missing transverse energy

Definition at line 6 of file ParticleLevelMissingETConfig.py.

Constructor & Destructor Documentation

◆ __init__()

def ParticleLevelMissingETConfig.ParticleLevelMissingETBlock.__init__ (   self)

Definition at line 9 of file ParticleLevelMissingETConfig.py.

9  def __init__(self):
10  super(ParticleLevelMissingETBlock, self).__init__()
11  self.addOption('containerName', 'MET_Truth', type=str,
12  info='the name of the input truth MET container')
13  self.addOption('outputContainerName', 'TruthMET', type=str,
14  info='the name of the output MET container')
15  # Always skip on data
16  self.setOptionValue('skipOnData', True)
17 

Member Function Documentation

◆ makeAlgs()

def ParticleLevelMissingETConfig.ParticleLevelMissingETBlock.makeAlgs (   self,
  config 
)

Definition at line 18 of file ParticleLevelMissingETConfig.py.

18  def makeAlgs(self, config):
19  # decorate the energy and phi so we can save them later
20  alg = config.createAlgorithm( 'CP::ParticleLevelMissingETAlg',
21  'ParticleLevelMissingET' + self.containerName,
22  reentrant=True )
23  alg.met = self.containerName
24 
25  config.setSourceName (self.outputContainerName, self.containerName, isMet=True)
26  if config.wantCopy (self.outputContainerName):
27  alg = config.createAlgorithm( 'CP::AsgShallowCopyAlg', 'TruthMissingETShallowCopyAlg' )
28  alg.input = config.readName (self.outputContainerName)
29  alg.output = config.copyName (self.outputContainerName)
30 
31  config.addOutputVar (self.outputContainerName, 'met', 'met', noSys=True)
32  config.addOutputVar (self.outputContainerName, 'phi', 'phi', noSys=True)

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