ATLAS Offline Software
Functions | Variables
egammaSelectedTrackCopyConfig Namespace Reference

Functions

def egammaSelectedTrackCopyCfg (flags, name="egammaSelectedTrackCopy", **kwargs)
 

Variables

string __doc__ = "Instantiate egammaSelectedTrackCopy with default configuration"
 
 flags = initConfigFlags()
 
 Files
 
 acc = MainServicesCfg(flags)
 
 mlog = logging.getLogger("egammaSelectedTrackCopyConfigTest")
 
 nestLevel
 
 printDefaults
 

Function Documentation

◆ egammaSelectedTrackCopyCfg()

def egammaSelectedTrackCopyConfig.egammaSelectedTrackCopyCfg (   flags,
  name = "egammaSelectedTrackCopy",
**  kwargs 
)

Definition at line 10 of file egammaSelectedTrackCopyConfig.py.

10 def egammaSelectedTrackCopyCfg(flags, name="egammaSelectedTrackCopy", **kwargs):
11  acc = ComponentAccumulator()
12 
13  if "egammaCaloClusterSelector" not in kwargs:
14  from egammaCaloTools.egammaCaloToolsConfig import (
15  egammaCaloClusterSelectorGSFCfg,
16  )
17 
18  kwargs["egammaCaloClusterSelector"] = acc.popToolsAndMerge(
20  )
21 
22  if "ExtrapolationTool" not in kwargs:
23  from egammaTrackTools.egammaTrackToolsConfig import (
24  EMExtrapolationToolsCfg,
25  )
26 
27  extraptool = EMExtrapolationToolsCfg(
28  flags, name="EMExtrapolationTools")
29  kwargs["ExtrapolationTool"] = acc.popToolsAndMerge(extraptool)
30 
31  kwargs.setdefault("ClusterContainerName",
32  flags.Egamma.Keys.Internal.EgammaTopoClusters)
33  kwargs.setdefault("TrackParticleContainerName",
34  flags.Egamma.Keys.Input.TrackParticles)
35  kwargs.setdefault("OutputTrkPartContainerName",
36  flags.Egamma.Keys.Output.TrkPartContainerName)
37 
38  if flags.Reco.EnableHGTDExtension:
39  kwargs.setdefault("TrackParticleTimeDecoration",
40  flags.Egamma.Keys.Input.TrackParticles+".time")
41 
42  doFwd = flags.Detector.GeometryITk and flags.Egamma.doForward
43  kwargs.setdefault("doFwdTracks", doFwd)
44  if doFwd:
45  kwargs.setdefault("FwdClusterContainerName",
46  flags.Egamma.Keys.Internal.ForwardTopoClusters)
47 
48  # P->T conversion extra dependencies
49  if flags.Detector.GeometryITk:
50  kwargs.setdefault(
51  "ExtraInputs",
52  [
53  (
54  "InDetDD::SiDetectorElementCollection",
55  "ConditionStore+ITkPixelDetectorElementCollection",
56  ),
57  (
58  "InDetDD::SiDetectorElementCollection",
59  "ConditionStore+ITkStripDetectorElementCollection",
60  ),
61  ],
62  )
63  else:
64  kwargs.setdefault(
65  "ExtraInputs",
66  [
67  (
68  "InDetDD::SiDetectorElementCollection",
69  "ConditionStore+PixelDetectorElementCollection",
70  ),
71  (
72  "InDetDD::SiDetectorElementCollection",
73  "ConditionStore+SCT_DetectorElementCollection",
74  ),
75  ],
76  )
77 
78  egseltrkcpAlg = CompFactory.egammaSelectedTrackCopy(name, **kwargs)
79 
80  acc.addEventAlgo(egseltrkcpAlg)
81  return acc
82 
83 

Variable Documentation

◆ __doc__

string egammaSelectedTrackCopyConfig.__doc__ = "Instantiate egammaSelectedTrackCopy with default configuration"
private

Definition at line 3 of file egammaSelectedTrackCopyConfig.py.

◆ acc

egammaSelectedTrackCopyConfig.acc = MainServicesCfg(flags)

Definition at line 93 of file egammaSelectedTrackCopyConfig.py.

◆ Files

egammaSelectedTrackCopyConfig.Files

Definition at line 90 of file egammaSelectedTrackCopyConfig.py.

◆ flags

egammaSelectedTrackCopyConfig.flags = initConfigFlags()

Definition at line 89 of file egammaSelectedTrackCopyConfig.py.

◆ mlog

egammaSelectedTrackCopyConfig.mlog = logging.getLogger("egammaSelectedTrackCopyConfigTest")

Definition at line 95 of file egammaSelectedTrackCopyConfig.py.

◆ nestLevel

egammaSelectedTrackCopyConfig.nestLevel

Definition at line 100 of file egammaSelectedTrackCopyConfig.py.

◆ printDefaults

egammaSelectedTrackCopyConfig.printDefaults

Definition at line 101 of file egammaSelectedTrackCopyConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
egammaTrackToolsConfig.EMExtrapolationToolsCfg
def EMExtrapolationToolsCfg(flags, **kwargs)
Definition: egammaTrackToolsConfig.py:13
python.egammaCaloToolsConfig.egammaCaloClusterSelectorGSFCfg
def egammaCaloClusterSelectorGSFCfg(flags, name="caloClusterGSFSelector", **kwargs)
Definition: egammaCaloToolsConfig.py:36
egammaSelectedTrackCopyConfig.egammaSelectedTrackCopyCfg
def egammaSelectedTrackCopyCfg(flags, name="egammaSelectedTrackCopy", **kwargs)
Definition: egammaSelectedTrackCopyConfig.py:10