ATLAS Offline Software
Functions | Variables
python.egammaCaloToolsConfig Namespace Reference

Functions

def CaloFillRectangularClusterCfg (flags, **kwargs)
 
def egammaCheckEnergyDepositToolcfg (flags, name="egammaCheckEnergyDepositTool", **kwargs)
 
def egammaCaloClusterSelectorGSFCfg (flags, name="caloClusterGSFSelector", **kwargs)
 
def egammaCaloClusterSelectorCfg (flags, name="caloClusterROISelector", **kwargs)
 
def egammaHadCaloClusterSelectorCfg (flags, name="caloClusterHadROISelector", **kwargs)
 

Variables

string __doc__
 
 flags = initConfigFlags()
 
 Files
 
 cfg = ComponentAccumulator()
 
 mlog = logging.getLogger("egammaCaloToolsConfigTest")
 
 nestLevel
 
 printDefaults
 
 f = open("egtracktools.pkl", "wb")
 

Function Documentation

◆ CaloFillRectangularClusterCfg()

def python.egammaCaloToolsConfig.CaloFillRectangularClusterCfg (   flags,
**  kwargs 
)

Definition at line 12 of file egammaCaloToolsConfig.py.

12 def CaloFillRectangularClusterCfg(flags, **kwargs):
13  result = ComponentAccumulator()
14 
15  kwargs.setdefault("eta_size", 5)
16  kwargs.setdefault("phi_size", 7)
17  kwargs.setdefault("cells_name", flags.Egamma.Keys.Input.CaloCells)
18 
19  result.setPrivateTools(CompFactory.CaloFillRectangularCluster(**kwargs))
20  return result
21 
22 

◆ egammaCaloClusterSelectorCfg()

def python.egammaCaloToolsConfig.egammaCaloClusterSelectorCfg (   flags,
  name = "caloClusterROISelector",
**  kwargs 
)

Definition at line 53 of file egammaCaloToolsConfig.py.

53 def egammaCaloClusterSelectorCfg(flags, name="caloClusterROISelector", **kwargs):
54  result = ComponentAccumulator()
55 
56  if "egammaCheckEnergyDepositTool" not in kwargs:
57  if not flags.Egamma.doLowMu:
58  kwargs["egammaCheckEnergyDepositTool"] = result.popToolsAndMerge(
60  )
61  kwargs.setdefault("EMEtCut", 2250.0 if not flags.Egamma.doLowMu else 300.0)
62  kwargs.setdefault("EMEtSplittingFraction", 0.7)
63  kwargs.setdefault("EMFCut", 0.7)
64  kwargs.setdefault("RetaCut", 0.65 if not flags.Egamma.doLowMu else 0.0)
65  kwargs.setdefault("HadLeakCut", 0.15)
66  result.setPrivateTools(CompFactory.egammaCaloClusterSelector(name, **kwargs))
67  return result
68 
69 

◆ egammaCaloClusterSelectorGSFCfg()

def python.egammaCaloToolsConfig.egammaCaloClusterSelectorGSFCfg (   flags,
  name = "caloClusterGSFSelector",
**  kwargs 
)

Definition at line 36 of file egammaCaloToolsConfig.py.

36 def egammaCaloClusterSelectorGSFCfg(flags, name="caloClusterGSFSelector", **kwargs):
37  result = ComponentAccumulator()
38 
39  if "egammaCheckEnergyDepositTool" not in kwargs:
40  if not flags.Egamma.doLowMu:
41  kwargs["egammaCheckEnergyDepositTool"] = result.popToolsAndMerge(
43  )
44 
45  kwargs.setdefault("EMEtCut", 2250.0 if not flags.Egamma.doLowMu else 300.0)
46  kwargs.setdefault("EMEtSplittingFraction", 0.7)
47  kwargs.setdefault("EMFCut", 0.5)
48  kwargs.setdefault("CellContainerName", flags.Egamma.Keys.Input.CaloCells)
49  result.setPrivateTools(CompFactory.egammaCaloClusterSelector(name, **kwargs))
50  return result
51 
52 

◆ egammaCheckEnergyDepositToolcfg()

def python.egammaCaloToolsConfig.egammaCheckEnergyDepositToolcfg (   flags,
  name = "egammaCheckEnergyDepositTool",
**  kwargs 
)

Definition at line 23 of file egammaCaloToolsConfig.py.

24  flags, name="egammaCheckEnergyDepositTool", **kwargs
25 ):
26  result = ComponentAccumulator()
27  kwargs.setdefault("ThrE2min", 50)
28  kwargs.setdefault("ThrF0max", 0.9)
29  kwargs.setdefault("ThrF1max", 0.9)
30  kwargs.setdefault("ThrF2max", 0.999)
31  kwargs.setdefault("ThrF3max", 0.8)
32  result.setPrivateTools(CompFactory.egammaCheckEnergyDepositTool(name, **kwargs))
33  return result
34 
35 

◆ egammaHadCaloClusterSelectorCfg()

def python.egammaCaloToolsConfig.egammaHadCaloClusterSelectorCfg (   flags,
  name = "caloClusterHadROISelector",
**  kwargs 
)

Definition at line 70 of file egammaCaloToolsConfig.py.

71  flags, name="caloClusterHadROISelector", **kwargs
72 ):
73  result = ComponentAccumulator()
74  kwargs.setdefault("egammaCheckEnergyDepositTool", "")
75  kwargs.setdefault("ClusterEtCut", 150e3)
76  result.setPrivateTools(CompFactory.egammaCaloClusterSelector(name, **kwargs))
77  return result
78 
79 

Variable Documentation

◆ __doc__

string python.egammaCaloToolsConfig.__doc__
private
Initial value:
1 = """
2 Tool configuration to instantiate
3 all egammaCaloTools with default configuration.
4 """

Definition at line 3 of file egammaCaloToolsConfig.py.

◆ cfg

python.egammaCaloToolsConfig.cfg = ComponentAccumulator()

Definition at line 91 of file egammaCaloToolsConfig.py.

◆ f

python.egammaCaloToolsConfig.f = open("egtracktools.pkl", "wb")

Definition at line 114 of file egammaCaloToolsConfig.py.

◆ Files

python.egammaCaloToolsConfig.Files

Definition at line 86 of file egammaCaloToolsConfig.py.

◆ flags

python.egammaCaloToolsConfig.flags = initConfigFlags()

Definition at line 85 of file egammaCaloToolsConfig.py.

◆ mlog

python.egammaCaloToolsConfig.mlog = logging.getLogger("egammaCaloToolsConfigTest")

Definition at line 92 of file egammaCaloToolsConfig.py.

◆ nestLevel

python.egammaCaloToolsConfig.nestLevel

Definition at line 97 of file egammaCaloToolsConfig.py.

◆ printDefaults

python.egammaCaloToolsConfig.printDefaults

Definition at line 98 of file egammaCaloToolsConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.egammaCaloToolsConfig.egammaHadCaloClusterSelectorCfg
def egammaHadCaloClusterSelectorCfg(flags, name="caloClusterHadROISelector", **kwargs)
Definition: egammaCaloToolsConfig.py:70
python.egammaCaloToolsConfig.CaloFillRectangularClusterCfg
def CaloFillRectangularClusterCfg(flags, **kwargs)
Definition: egammaCaloToolsConfig.py:12
python.egammaCaloToolsConfig.egammaCheckEnergyDepositToolcfg
def egammaCheckEnergyDepositToolcfg(flags, name="egammaCheckEnergyDepositTool", **kwargs)
Definition: egammaCaloToolsConfig.py:23
python.egammaCaloToolsConfig.egammaCaloClusterSelectorGSFCfg
def egammaCaloClusterSelectorGSFCfg(flags, name="caloClusterGSFSelector", **kwargs)
Definition: egammaCaloToolsConfig.py:36
python.egammaCaloToolsConfig.egammaCaloClusterSelectorCfg
def egammaCaloClusterSelectorCfg(flags, name="caloClusterROISelector", **kwargs)
Definition: egammaCaloToolsConfig.py:53