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

Functions

 ActsEgammaSelectedTrackCopyCfg (flags, name="ActsEgammaSelectedTrackCopy", **kwargs)

Variables

 flags = initConfigFlags()
 Files
 acc = MainServicesCfg(flags)
 mlog = logging.getLogger("ActsEgammaSelectedTrackCopyConfigTest")
 nestLevel
 printDefaults

Detailed Description

 Instantiate ActsEgammaSelectedTrackCopy with default configuration

Function Documentation

◆ ActsEgammaSelectedTrackCopyCfg()

ActsEgammaSelectedTrackCopyCfg ( flags,
name = "ActsEgammaSelectedTrackCopy",
** kwargs )

Definition at line 11 of file ActsEgammaSelectedTrackCopyConfig.py.

11def ActsEgammaSelectedTrackCopyCfg(flags, name="ActsEgammaSelectedTrackCopy", **kwargs):
12 acc = ComponentAccumulator()
13
14 assert flags.Acts.TrackingGeometry.UseBlueprint, "Must use ACTS Gen3 geometry"
15 assert flags.Detector.GeometryCalo, "Calorimeter must be enabled"
16
17 # I guess it makes sense to enforce ITk here, though technical one can run this with
18 # Calo geometry only...
19 assert flags.Detector.GeometryITk
20
21 if "egammaCaloClusterSelector" not in kwargs:
22 from egammaCaloTools.egammaCaloToolsConfig import (
23 egammaCaloClusterSelectorGSFCfg,
24 )
25
26 kwargs["egammaCaloClusterSelector"] = acc.popToolsAndMerge(
27 egammaCaloClusterSelectorGSFCfg(flags)
28 )
29
30 if 'ExtrapolationTool' not in kwargs:
31 from ActsConfig.ActsGeometryConfig import ActsExtrapolationToolCfg
32 kwargs.setdefault(
33 "ExtrapolationTool",
34 acc.popToolsAndMerge(ActsExtrapolationToolCfg(flags, MaxSteps=10000)),
35 ) # PrivateToolHandle
36
37 kwargs.setdefault("ClusterContainerName",
38 flags.Egamma.Keys.Internal.EgammaTopoClusters)
39 kwargs.setdefault("TrackParticleContainerName",
40 flags.Egamma.Keys.Input.TrackParticles)
41 kwargs.setdefault("OutputTrkPartContainerName",
42 flags.Egamma.Keys.Output.TrkPartContainerName)
43
44 kwargs.setdefault(
45 "ExtraInputs",
46 [
47 (
48 "InDetDD::SiDetectorElementCollection",
49 "ConditionStore+ITkPixelDetectorElementCollection",
50 ),
51 (
52 "InDetDD::SiDetectorElementCollection",
53 "ConditionStore+ITkStripDetectorElementCollection",
54 ),
55 ],
56 )
57
58 actsEgseltrkcpAlg = CompFactory.ActsEgammaSelectedTrackCopy(name, **kwargs)
59
60 acc.addEventAlgo(actsEgseltrkcpAlg)
61 return acc
62
63

Variable Documentation

◆ acc

ActsEgammaSelectedTrackCopyConfig.acc = MainServicesCfg(flags)

Definition at line 73 of file ActsEgammaSelectedTrackCopyConfig.py.

◆ Files

ActsEgammaSelectedTrackCopyConfig.Files

Definition at line 70 of file ActsEgammaSelectedTrackCopyConfig.py.

◆ flags

ActsEgammaSelectedTrackCopyConfig.flags = initConfigFlags()

Definition at line 69 of file ActsEgammaSelectedTrackCopyConfig.py.

◆ mlog

ActsEgammaSelectedTrackCopyConfig.mlog = logging.getLogger("ActsEgammaSelectedTrackCopyConfigTest")

Definition at line 75 of file ActsEgammaSelectedTrackCopyConfig.py.

◆ nestLevel

ActsEgammaSelectedTrackCopyConfig.nestLevel

Definition at line 80 of file ActsEgammaSelectedTrackCopyConfig.py.

◆ printDefaults

ActsEgammaSelectedTrackCopyConfig.printDefaults

Definition at line 81 of file ActsEgammaSelectedTrackCopyConfig.py.