ATLAS Offline Software
Functions
python.EGammaToolsConfig Namespace Reference

Functions

def PhotonsDirectionToolCfg (flags, name, **kwargs)
 
def EGSelectionToolWrapperCfg (flags, name, **kwargs)
 
def EGElectronLikelihoodToolWrapperCfg (flags, name, **kwargs)
 
def EGPhotonCleaningWrapperCfg (flags, name, **kwargs)
 
def EGCrackVetoCleaningToolCfg (flags, name, **kwargs)
 
def EGElectronAmbiguityToolCfg (flags, name, **kwargs)
 
def BkgElectronClassificationCfg (flags, name, **kwargs)
 
def ElectronMergerCfg (flags, name, **kwargs)
 
def PhotonVertexSelectionWrapperCfg (flags, name="PhotonVertexSelectionWrapper", **kwargs)
 
def PhotonVertexSelectionWrapperKernelCfg (flags, name="PhotonVertexSelectionWrapperKernel", **kwargs)
 

Function Documentation

◆ BkgElectronClassificationCfg()

def python.EGammaToolsConfig.BkgElectronClassificationCfg (   flags,
  name,
**  kwargs 
)
Configure the background electron classification tool

Definition at line 69 of file EGammaToolsConfig.py.

69 def BkgElectronClassificationCfg(flags, name, **kwargs):
70  """Configure the background electron classification tool"""
71  acc = ComponentAccumulator()
72  BkgElectronClassification = (
73  CompFactory.DerivationFramework.BkgElectronClassification
74  )
75  acc.addPublicTool(BkgElectronClassification(name, **kwargs), primary=True)
76  return acc
77 
78 
79 # Standard + LRT electron collection merger

◆ EGCrackVetoCleaningToolCfg()

def python.EGammaToolsConfig.EGCrackVetoCleaningToolCfg (   flags,
  name,
**  kwargs 
)
Configure the crack veto cleaning tool

Definition at line 51 of file EGammaToolsConfig.py.

51 def EGCrackVetoCleaningToolCfg(flags, name, **kwargs):
52  """Configure the crack veto cleaning tool"""
53  acc = ComponentAccumulator()
54  EGCrackVetoCleaningTool = CompFactory.DerivationFramework.EGCrackVetoCleaningTool
55  acc.addPublicTool(EGCrackVetoCleaningTool(name, **kwargs), primary=True)
56  return acc
57 
58 
59 # Electron ambiguity tool

◆ EGElectronAmbiguityToolCfg()

def python.EGammaToolsConfig.EGElectronAmbiguityToolCfg (   flags,
  name,
**  kwargs 
)
Configure the electron ambiguity tool

Definition at line 60 of file EGammaToolsConfig.py.

60 def EGElectronAmbiguityToolCfg(flags, name, **kwargs):
61  """Configure the electron ambiguity tool"""
62  acc = ComponentAccumulator()
63  EGElectronAmbiguityTool = CompFactory.DerivationFramework.EGElectronAmbiguityTool
64  acc.addPublicTool(EGElectronAmbiguityTool(name, **kwargs), primary=True)
65  return acc
66 
67 
68 # Background electron classification tool

◆ EGElectronLikelihoodToolWrapperCfg()

def python.EGammaToolsConfig.EGElectronLikelihoodToolWrapperCfg (   flags,
  name,
**  kwargs 
)
Configure the electron likelihood tool wrapper

Definition at line 31 of file EGammaToolsConfig.py.

31 def EGElectronLikelihoodToolWrapperCfg(flags, name, **kwargs):
32  """Configure the electron likelihood tool wrapper"""
33  acc = ComponentAccumulator()
34  EGElectronLikelihoodToolWrapper = (
35  CompFactory.DerivationFramework.EGElectronLikelihoodToolWrapper
36  )
37  acc.addPublicTool(EGElectronLikelihoodToolWrapper(name, **kwargs), primary=True)
38  return acc
39 
40 
41 # Photon cleaning tool wrapper

◆ EGPhotonCleaningWrapperCfg()

def python.EGammaToolsConfig.EGPhotonCleaningWrapperCfg (   flags,
  name,
**  kwargs 
)
Configure the photon cleaning tool wrapper

Definition at line 42 of file EGammaToolsConfig.py.

42 def EGPhotonCleaningWrapperCfg(flags, name, **kwargs):
43  """Configure the photon cleaning tool wrapper"""
44  acc = ComponentAccumulator()
45  EGPhotonCleaningWrapper = CompFactory.DerivationFramework.EGPhotonCleaningWrapper
46  acc.addPublicTool(EGPhotonCleaningWrapper(name, **kwargs), primary=True)
47  return acc
48 
49 
50 # Crack veto cleaning tool

◆ EGSelectionToolWrapperCfg()

def python.EGammaToolsConfig.EGSelectionToolWrapperCfg (   flags,
  name,
**  kwargs 
)
Configure the E-gamma selection tool wrapper

Definition at line 22 of file EGammaToolsConfig.py.

22 def EGSelectionToolWrapperCfg(flags, name, **kwargs):
23  """Configure the E-gamma selection tool wrapper"""
24  acc = ComponentAccumulator()
25  EGSelectionToolWrapper = CompFactory.DerivationFramework.EGSelectionToolWrapper
26  acc.addPublicTool(EGSelectionToolWrapper(name, **kwargs), primary=True)
27  return acc
28 
29 
30 # Electron likelihood tool wrapper

◆ ElectronMergerCfg()

def python.EGammaToolsConfig.ElectronMergerCfg (   flags,
  name,
**  kwargs 
)
Configure the track particle merger tool

Definition at line 80 of file EGammaToolsConfig.py.

80 def ElectronMergerCfg(flags, name, **kwargs):
81  """Configure the track particle merger tool"""
82  acc = ComponentAccumulator()
83  ElectronMerger = CompFactory.DerivationFramework.ElectronMergerTool
84  acc.addPublicTool(ElectronMerger(name, **kwargs), primary=True)
85  return acc
86 
87 

◆ PhotonsDirectionToolCfg()

def python.EGammaToolsConfig.PhotonsDirectionToolCfg (   flags,
  name,
**  kwargs 
)
Configure the PhotonsDirectionTool

Definition at line 13 of file EGammaToolsConfig.py.

13 def PhotonsDirectionToolCfg(flags, name, **kwargs):
14  """Configure the PhotonsDirectionTool"""
15  acc = ComponentAccumulator()
16  PhotonsDirectionTool = CompFactory.DerivationFramework.PhotonsDirectionTool
17  acc.addPublicTool(PhotonsDirectionTool(name, **kwargs), primary=True)
18  return acc
19 
20 
21 # E-gamma selection tool wrapper

◆ PhotonVertexSelectionWrapperCfg()

def python.EGammaToolsConfig.PhotonVertexSelectionWrapperCfg (   flags,
  name = "PhotonVertexSelectionWrapper",
**  kwargs 
)

Definition at line 88 of file EGammaToolsConfig.py.

89  flags, name="PhotonVertexSelectionWrapper", **kwargs):
90  acc = ComponentAccumulator()
91 
92  if "PhotonPointingTool" not in kwargs:
93  from PhotonVertexSelection.PhotonVertexSelectionConfig import (
94  PhotonPointingToolCfg)
95  kwargs.setdefault("PhotonPointingTool", acc.popToolsAndMerge(
96  PhotonPointingToolCfg(flags)))
97 
98  acc.setPrivateTools(
99  CompFactory.DerivationFramework.PhotonVertexSelectionWrapper(
100  name, **kwargs))
101  return acc
102 
103 

◆ PhotonVertexSelectionWrapperKernelCfg()

def python.EGammaToolsConfig.PhotonVertexSelectionWrapperKernelCfg (   flags,
  name = "PhotonVertexSelectionWrapperKernel",
**  kwargs 
)

Definition at line 104 of file EGammaToolsConfig.py.

105  flags, name="PhotonVertexSelectionWrapperKernel", **kwargs):
106  acc = ComponentAccumulator()
107 
108  augmentationTools = [
109  acc.addPublicTool(acc.popToolsAndMerge(PhotonVertexSelectionWrapperCfg(flags)))
110  ]
111  kwargs.setdefault("AugmentationTools", augmentationTools)
112 
113  acc.addEventAlgo(
114  CompFactory.DerivationFramework.DerivationKernel(name, **kwargs))
115  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.EGammaToolsConfig.EGSelectionToolWrapperCfg
def EGSelectionToolWrapperCfg(flags, name, **kwargs)
Definition: EGammaToolsConfig.py:22
python.EGammaToolsConfig.ElectronMergerCfg
def ElectronMergerCfg(flags, name, **kwargs)
Definition: EGammaToolsConfig.py:80
PhotonVertexSelectionConfig.PhotonPointingToolCfg
def PhotonPointingToolCfg(flags, name="PhotonPointingTool", **kwargs)
Definition: PhotonVertexSelectionConfig.py:7
python.EGammaToolsConfig.EGElectronAmbiguityToolCfg
def EGElectronAmbiguityToolCfg(flags, name, **kwargs)
Definition: EGammaToolsConfig.py:60
python.EGammaToolsConfig.EGPhotonCleaningWrapperCfg
def EGPhotonCleaningWrapperCfg(flags, name, **kwargs)
Definition: EGammaToolsConfig.py:42
python.EGammaToolsConfig.EGElectronLikelihoodToolWrapperCfg
def EGElectronLikelihoodToolWrapperCfg(flags, name, **kwargs)
Definition: EGammaToolsConfig.py:31
python.EGammaToolsConfig.BkgElectronClassificationCfg
def BkgElectronClassificationCfg(flags, name, **kwargs)
Definition: EGammaToolsConfig.py:69
python.EGammaToolsConfig.PhotonVertexSelectionWrapperCfg
def PhotonVertexSelectionWrapperCfg(flags, name="PhotonVertexSelectionWrapper", **kwargs)
Definition: EGammaToolsConfig.py:88
python.EGammaToolsConfig.PhotonsDirectionToolCfg
def PhotonsDirectionToolCfg(flags, name, **kwargs)
Definition: EGammaToolsConfig.py:13
python.EGammaToolsConfig.EGCrackVetoCleaningToolCfg
def EGCrackVetoCleaningToolCfg(flags, name, **kwargs)
Definition: EGammaToolsConfig.py:51
python.EGammaToolsConfig.PhotonVertexSelectionWrapperKernelCfg
def PhotonVertexSelectionWrapperKernelCfg(flags, name="PhotonVertexSelectionWrapperKernel", **kwargs)
Definition: EGammaToolsConfig.py:104