ATLAS Offline Software
Functions
python.EGammaIsoConfig Namespace Reference

Functions

def makeEGammaCommonIsoCfg (ConfigFlags)
 

Function Documentation

◆ makeEGammaCommonIsoCfg()

def python.EGammaIsoConfig.makeEGammaCommonIsoCfg (   ConfigFlags)

Definition at line 20 of file EGammaIsoConfig.py.

20 def makeEGammaCommonIsoCfg(ConfigFlags):
21  acc = ComponentAccumulator()
22 
23  addIsoVar = ""
24  densityList = []
25  densityDict = {}
26  for inT in ["CSSK"]:
27  acc.merge(IsolationSteeringDerivCfg(ConfigFlags, inType="EMPFlow" + inT))
28 
29  for eta in ["Central", "Forward"]:
30  # I do not understand why this is needed
31  densityDict.update(
32  {
33  "NeutralParticle"
34  + inT
35  + "FlowIso"
36  + eta
37  + "EventShape": "xAOD::EventShape",
38  "NeutralParticle"
39  + inT
40  + "FlowIso"
41  + eta
42  + "EventShapeAux": "xAOD::EventShapeAuxInfo",
43  }
44  )
45  densityList += [
46  "NeutralParticle" + inT + "FlowIso" + eta + "EventShape.Density"
47  ]
48 
49  suff = "" if len(inT) == 0 else "_" + inT
50  addIsoVar += (
51  f".neflowisol20{suff}.neflowisol30{suff}.neflowisol40{suff}"
52  + f".neflowisolcoreConeEnergyCorrection{suff}"
53  + f".neflowisolcoreConeSCEnergyCorrection{suff}"
54  )
55 
56  return addIsoVar, densityList, densityDict, acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.EGammaIsoConfig.makeEGammaCommonIsoCfg
def makeEGammaCommonIsoCfg(ConfigFlags)
Definition: EGammaIsoConfig.py:20
IsolationSteeringDerivConfig.IsolationSteeringDerivCfg
def IsolationSteeringDerivCfg(flags, name='IsolationSteeringDeriv', inType='EMPFlow')
Definition: IsolationSteeringDerivConfig.py:11