ATLAS Offline Software
Public Member Functions | List of all members
python.PhotonExtraVariablesConfig.PhotonExtraVariablesBlock Class Reference
Inheritance diagram for python.PhotonExtraVariablesConfig.PhotonExtraVariablesBlock:
Collaboration diagram for python.PhotonExtraVariablesConfig.PhotonExtraVariablesBlock:

Public Member Functions

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

Detailed Description

a ConfigBlock for additional photon output variables
Decorates the output photons with the conversion type and calorimeter eta
and writes them to the output. Useful e.g. for photon-fake studies.

Definition at line 5 of file PhotonExtraVariablesConfig.py.

Constructor & Destructor Documentation

◆ __init__()

def python.PhotonExtraVariablesConfig.PhotonExtraVariablesBlock.__init__ (   self)

Definition at line 10 of file PhotonExtraVariablesConfig.py.

10  def __init__(self):
11  super(PhotonExtraVariablesBlock, self).__init__()
12  self.addOption('containerName', None, type=str, info='the input photon container')
13 

Member Function Documentation

◆ makeAlgs()

def python.PhotonExtraVariablesConfig.PhotonExtraVariablesBlock.makeAlgs (   self,
  config 
)

Definition at line 14 of file PhotonExtraVariablesConfig.py.

14  def makeAlgs(self, config):
15 
16  alg = config.createAlgorithm('CP::PhotonExtraVariablesAlg', 'PhotonExtraVariables' + self.containerName)
17  alg.photons = config.readName(self.containerName)
18  alg.affectingSystematicsFilter = '.*'
19 
20  config.addOutputVar(self.containerName, 'conversionType_%SYS%', 'conversionType', noSys=True)
21  config.addOutputVar(self.containerName, 'caloEta2_%SYS%', 'caloEta2', 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