ATLAS Offline Software
Functions | Variables
EMClusterToolConfig Namespace Reference

Functions

def EMClusterToolCfg (flags, name='EMClusterTool', **kwargs)
 

Variables

string __doc__ = "Configuration for EMClusterTool"
 
 flags = initConfigFlags()
 
 Files
 
 cfg = ComponentAccumulator()
 
 mlog = logging.getLogger("EMClusterToolConfigTest")
 
 nestLevel
 
 printDefaults
 
 f = open("emclustertool.pkl", "wb")
 

Function Documentation

◆ EMClusterToolCfg()

def EMClusterToolConfig.EMClusterToolCfg (   flags,
  name = 'EMClusterTool',
**  kwargs 
)

Definition at line 13 of file EMClusterToolConfig.py.

13 def EMClusterToolCfg(flags, name='EMClusterTool', **kwargs):
14 
15  mlog = logging.getLogger(name)
16  mlog.debug('Start configuration')
17 
18  acc = ComponentAccumulator()
19 
20  if "MVACalibSvc" not in kwargs:
21  mvacal = egammaMVASvcCfg(flags)
22  kwargs["MVACalibSvc"] = acc.getPrimaryAndMerge(mvacal)
23  kwargs.setdefault("OutputClusterContainerName",
24  flags.Egamma.Keys.Output.CaloClusters)
25 
26  tool = CompFactory.EMClusterTool(name, **kwargs)
27 
28  acc.setPrivateTools(tool)
29  return acc
30 
31 

Variable Documentation

◆ __doc__

string EMClusterToolConfig.__doc__ = "Configuration for EMClusterTool"
private

Definition at line 3 of file EMClusterToolConfig.py.

◆ cfg

EMClusterToolConfig.cfg = ComponentAccumulator()

Definition at line 43 of file EMClusterToolConfig.py.

◆ f

EMClusterToolConfig.f = open("emclustertool.pkl", "wb")

Definition at line 51 of file EMClusterToolConfig.py.

◆ Files

EMClusterToolConfig.Files

Definition at line 38 of file EMClusterToolConfig.py.

◆ flags

EMClusterToolConfig.flags = initConfigFlags()

Definition at line 37 of file EMClusterToolConfig.py.

◆ mlog

EMClusterToolConfig.mlog = logging.getLogger("EMClusterToolConfigTest")

Definition at line 44 of file EMClusterToolConfig.py.

◆ nestLevel

EMClusterToolConfig.nestLevel

Definition at line 48 of file EMClusterToolConfig.py.

◆ printDefaults

EMClusterToolConfig.printDefaults

Definition at line 49 of file EMClusterToolConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.egammaMVACalibConfig.egammaMVASvcCfg
def egammaMVASvcCfg(flags, name="egammaMVASvc", **kwargs)
Definition: egammaMVACalibConfig.py:15
EMClusterToolConfig.EMClusterToolCfg
def EMClusterToolCfg(flags, name='EMClusterTool', **kwargs)
Definition: EMClusterToolConfig.py:13