ATLAS Offline Software
Functions | Variables
egammaRecBuilderConfig Namespace Reference

Functions

def egammaRecBuilderCfg (flags, name='egammaRecBuilder', sequenceName=None, **kwargs)
 

Variables

string __doc__
 
 flags = initConfigFlags()
 
 Files
 
 acc = MainServicesCfg(flags)
 
 mlog = logging.getLogger("egammaRecBuilderConfigTest")
 
 nestLevel
 
 printDefaults
 

Function Documentation

◆ egammaRecBuilderCfg()

def egammaRecBuilderConfig.egammaRecBuilderCfg (   flags,
  name = 'egammaRecBuilder',
  sequenceName = None,
**  kwargs 
)

Definition at line 14 of file egammaRecBuilderConfig.py.

15  flags,
16  name='egammaRecBuilder',
17  sequenceName = None,
18  **kwargs):
19 
20  seqkw = {'sequence': sequenceName} if sequenceName else {}
21  acc = ComponentAccumulator (**seqkw)
22 
23  kwargs.setdefault("doTrackMatching", flags.Egamma.doTracking)
24  kwargs.setdefault("doConversions", flags.Egamma.doConversionBuilding)
25 
26  if "TrackMatchBuilderTool" not in kwargs:
27  emtrkmatch = EMTrackMatchBuilderCfg(flags)
28  kwargs["TrackMatchBuilderTool"] = acc.popToolsAndMerge(emtrkmatch)
29 
30  if "ConversionBuilderTool" not in kwargs:
31  emcnv = EMConversionBuilderCfg(flags)
32  kwargs["ConversionBuilderTool"] = acc.popToolsAndMerge(emcnv)
33 
34  kwargs.setdefault(
35  "egammaRecContainer",
36  flags.Egamma.Keys.Internal.EgammaRecs)
37  kwargs.setdefault(
38  "InputClusterContainerName",
39  flags.Egamma.Keys.Internal.EgammaTopoClusters)
40 
41  egrecAlg = CompFactory.egammaRecBuilder(name, **kwargs)
42 
43  acc.addEventAlgo(egrecAlg)
44  return acc
45 
46 

Variable Documentation

◆ __doc__

string egammaRecBuilderConfig.__doc__
private
Initial value:
1 = """
2  Instantiate egammaRecBuilder with default configuration
3  """

Definition at line 3 of file egammaRecBuilderConfig.py.

◆ acc

egammaRecBuilderConfig.acc = MainServicesCfg(flags)

Definition at line 56 of file egammaRecBuilderConfig.py.

◆ Files

egammaRecBuilderConfig.Files

Definition at line 53 of file egammaRecBuilderConfig.py.

◆ flags

egammaRecBuilderConfig.flags = initConfigFlags()

Definition at line 52 of file egammaRecBuilderConfig.py.

◆ mlog

egammaRecBuilderConfig.mlog = logging.getLogger("egammaRecBuilderConfigTest")

Definition at line 58 of file egammaRecBuilderConfig.py.

◆ nestLevel

egammaRecBuilderConfig.nestLevel

Definition at line 62 of file egammaRecBuilderConfig.py.

◆ printDefaults

egammaRecBuilderConfig.printDefaults

Definition at line 63 of file egammaRecBuilderConfig.py.

EMConversionBuilderConfig.EMConversionBuilderCfg
def EMConversionBuilderCfg(flags, name='EMConversionBuilder', **kwargs)
Definition: EMConversionBuilderConfig.py:11
EMTrackMatchBuilderConfig.EMTrackMatchBuilderCfg
def EMTrackMatchBuilderCfg(flags, name='EMTrackMatchBuilder', **kwargs)
Definition: EMTrackMatchBuilderConfig.py:13
egammaRecBuilderConfig.egammaRecBuilderCfg
def egammaRecBuilderCfg(flags, name='egammaRecBuilder', sequenceName=None, **kwargs)
Definition: egammaRecBuilderConfig.py:14