3 __doc__ =
"""CaloRingerKeys.py contains the input and output types used by
4 CaloRinger Algorithm and Tools. It is inpired in egammaKeys.py by Bruno
6 __author__ =
"Werner S. Freund"
9 from egammaRec.egammaKeys
import egammaKeysDict
12 return 'xAOD::RingSetContainer'
15 return 'xAOD::CaloRingsContainer'
18 return 'xAOD::RingSetConfContainer'
21 return 'xAOD::RingSetAuxContainer'
24 return 'xAOD::CaloRingsAuxContainer'
27 return 'xAOD::RingSetConfAuxContainer'
33 Electron = egammaKeysDict.outputs.get (
"Electron" ),
34 Photon = egammaKeysDict.outputs.get (
"Photon" ),
50 outputs = {value[1]: value
for value
in _output_values}
55 _outputMetaData_values = [
61 outputsMetaData = {value[1]: value
for value
in _outputMetaData_values}
70 for i, j
in CaloRingerKeysDict.inputs.items():
71 globals()[
'input%sType'%i] =
lambda x = j[0]:
'%s' % x
72 globals()[
'input%sKey' %i] =
lambda x = j[1]:
'%s' % x
74 for i, j
in CaloRingerKeysDict.outputs.items():
75 globals()[
'output%sType'%i] =
lambda x = j[0]:
'%s' % x
76 globals()[
'output%sKey' %i] =
lambda x = j[1]:
'%s' % x
78 for i, j
in CaloRingerKeysDict.outputsMetaData.items():
79 globals()[
'output%sType'%i] =
lambda x = j[0]:
'%s' % x
80 globals()[
'output%sKey' %i] =
lambda x = j[1]:
'%s' % x