ATLAS Offline Software
Functions | Variables
EMShowerBuilderConfig Namespace Reference

Functions

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

Variables

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

Function Documentation

◆ EMShowerBuilderCfg()

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

Definition at line 12 of file EMShowerBuilderConfig.py.

12 def 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 

Variable Documentation

◆ __doc__

string EMShowerBuilderConfig.__doc__ = "Configuration for EMShowerBuilder"
private

Definition at line 3 of file EMShowerBuilderConfig.py.

◆ 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.

egammaIso
{Tool to estimate the hadronic energy behind the electromagnetic cluster, the
Definition: egammaIso.h:16
egammaShowerShape
@
Definition: egammaShowerShape.h:35
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
EMShowerBuilderConfig.EMShowerBuilderCfg
def EMShowerBuilderCfg(flags, name='EMShowerBuilder', **kwargs)
Definition: EMShowerBuilderConfig.py:12