ATLAS Offline Software
Loading...
Searching...
No Matches
EMShowerBuilderConfig Namespace Reference

Functions

 EMShowerBuilderCfg (flags, name='EMShowerBuilder', **kwargs)

Variables

 flags = initConfigFlags()
 Files
 cfg = ComponentAccumulator()
 mlog = logging.getLogger("EMShowerBuilderConfigTest")
 nestLevel
 printDefaults
 f = open("emshowerbuilder.pkl", "wb")

Detailed Description

Configuration for EMShowerBuilder 

Function Documentation

◆ EMShowerBuilderCfg()

EMShowerBuilderConfig.EMShowerBuilderCfg ( flags,
name = 'EMShowerBuilder',
** kwargs )

Definition at line 12 of file EMShowerBuilderConfig.py.

12def EMShowerBuilderCfg(flags, name='EMShowerBuilder', **kwargs):
13
14 mlog = logging.getLogger(name)
15 mlog.debug('Start configuration')
16
17 acc = ComponentAccumulator()
18 egammaIso, egammaShowerShape = CompFactory.getComps(
19 "egammaIso", "egammaShowerShape",)
20 kwargs.setdefault("CellsName", flags.Egamma.Keys.Input.CaloCells)
21 kwargs.setdefault(
22 "CaloNums", [SUBCALO.LAREM, SUBCALO.LARHEC, SUBCALO.TILE])
23 kwargs.setdefault("ShowerShapeTool", egammaShowerShape())
24 kwargs.setdefault("HadronicLeakageTool", egammaIso())
25
26 tool = CompFactory.EMShowerBuilder(name, **kwargs)
27
28 acc.setPrivateTools(tool)
29 return acc
30
31
{Tool to estimate the hadronic energy behind the electromagnetic cluster, the
Definition egammaIso.h:16

Variable Documentation

◆ cfg

EMShowerBuilderConfig.cfg = ComponentAccumulator()

Definition at line 43 of file EMShowerBuilderConfig.py.

◆ f

EMShowerBuilderConfig.f = open("emshowerbuilder.pkl", "wb")

Definition at line 51 of file EMShowerBuilderConfig.py.

◆ Files

EMShowerBuilderConfig.Files

Definition at line 38 of file EMShowerBuilderConfig.py.

◆ flags

EMShowerBuilderConfig.flags = initConfigFlags()

Definition at line 37 of file EMShowerBuilderConfig.py.

◆ mlog

EMShowerBuilderConfig.mlog = logging.getLogger("EMShowerBuilderConfigTest")

Definition at line 44 of file EMShowerBuilderConfig.py.

◆ nestLevel

EMShowerBuilderConfig.nestLevel

Definition at line 48 of file EMShowerBuilderConfig.py.

◆ printDefaults

EMShowerBuilderConfig.printDefaults

Definition at line 49 of file EMShowerBuilderConfig.py.