ATLAS Offline Software
Functions
python.SiSpacePointFormationConfig Namespace Reference

Functions

ComponentAccumulator InDetToXAODSpacePointConversionCfg (flags, str name="InDetToXAODSpacePointConversion", **kwargs)
 
def InDetSiElementPropertiesTableCondAlgCfg (flags, name="InDetSiElementPropertiesTableCondAlg", **kwargs)
 
def ITkSiElementPropertiesTableCondAlgCfg (flags, name="ITkSiElementPropertiesTableCondAlg", **kwargs)
 
def SiSpacePointMakerToolCfg (flags, name="InDetSiSpacePointMakerTool", **kwargs)
 
def ITkSiSpacePointMakerToolCfg (flags, name="ITkSiSpacePointMakerTool", **kwargs)
 
def InDetSiTrackerSpacePointFinderCfg (flags, name="InDetSiTrackerSpacePointFinder", **kwargs)
 
def TrigSiTrackerSpacePointFinderCfg (flags, name="InDetTrigSiTrackerSpacePointFinder", **kwargs)
 
def ITkSiTrackerSpacePointFinderCfg (flags, name="ITkSiTrackerSpacePointFinder", **kwargs)
 
def ITkPixelSiTrackerSpacePointFinderCfg (flags, name="ITkPixelSiTrackerSpacePointFinder", **kwargs)
 
def ITkStripSiTrackerSpacePointFinderCfg (flags, name="ITkStripSiTrackerSpacePointFinder", **kwargs)
 
def ITkFastSiTrackerSpacePointFinderCfg (flags)
 
def ITkTrigSiTrackerSpacePointFinderCfg (flags, name="ITkTrigSiTrackerSpacePointFinder", signature="", **kwargs)
 

Function Documentation

◆ InDetSiElementPropertiesTableCondAlgCfg()

def python.SiSpacePointFormationConfig.InDetSiElementPropertiesTableCondAlgCfg (   flags,
  name = "InDetSiElementPropertiesTableCondAlg",
**  kwargs 
)

Definition at line 17 of file SiSpacePointFormationConfig.py.

18  flags, name="InDetSiElementPropertiesTableCondAlg", **kwargs):
19  # For SCT DetectorElementCollection used
20  from SCT_GeoModel.SCT_GeoModelConfig import SCT_ReadoutGeometryCfg
21  acc = SCT_ReadoutGeometryCfg(flags)
22 
23  acc.addCondAlgo(
24  CompFactory.InDet.SiElementPropertiesTableCondAlg(name, **kwargs))
25  return acc
26 
27 

◆ InDetSiTrackerSpacePointFinderCfg()

def python.SiSpacePointFormationConfig.InDetSiTrackerSpacePointFinderCfg (   flags,
  name = "InDetSiTrackerSpacePointFinder",
**  kwargs 
)

Definition at line 62 of file SiSpacePointFormationConfig.py.

63  flags, name="InDetSiTrackerSpacePointFinder", **kwargs):
64  # For SCT DetectorElementCollection used
65  from SCT_GeoModel.SCT_GeoModelConfig import SCT_ReadoutGeometryCfg
66  acc = SCT_ReadoutGeometryCfg(flags)
67 
68  from BeamSpotConditions.BeamSpotConditionsConfig import BeamSpotCondAlgCfg
69  acc.merge(BeamSpotCondAlgCfg(flags))
71 
72  kwargs.setdefault("SiSpacePointMakerTool", acc.popToolsAndMerge(
74  kwargs.setdefault("PixelsClustersName", 'PixelClusters')
75  kwargs.setdefault("SCT_ClustersName", 'SCT_Clusters')
76  kwargs.setdefault("SpacePointsPixelName", 'PixelSpacePoints')
77  kwargs.setdefault("SpacePointsSCTName", 'SCT_SpacePoints')
78  kwargs.setdefault("SpacePointsOverlapName", 'OverlapSpacePoints')
79  kwargs.setdefault("ProcessPixels", flags.Detector.EnablePixel)
80  kwargs.setdefault("ProcessSCTs", flags.Detector.EnableSCT)
81  kwargs.setdefault("ProcessOverlaps", flags.Detector.EnableSCT)
82 
83  if flags.Beam.Type is BeamType.Cosmics:
84  kwargs.setdefault("ProcessOverlaps", False)
85  kwargs.setdefault("OverrideBeamSpot", True)
86  kwargs.setdefault("VertexZ", 0)
87  kwargs.setdefault("VertexX", 0)
88  kwargs.setdefault("VertexY", 99999999)
89  kwargs.setdefault("OverlapLimitOpposite", 5)
90 
91  acc.addEventAlgo(
92  CompFactory.InDet.SiTrackerSpacePointFinder(name, **kwargs))
93  return acc
94 
95 

◆ InDetToXAODSpacePointConversionCfg()

ComponentAccumulator python.SiSpacePointFormationConfig.InDetToXAODSpacePointConversionCfg (   flags,
str   name = "InDetToXAODSpacePointConversion",
**  kwargs 
)

Definition at line 8 of file SiSpacePointFormationConfig.py.

9  name: str = "InDetToXAODSpacePointConversion",
10  **kwargs) -> ComponentAccumulator:
11  acc = ComponentAccumulator()
12  kwargs.setdefault('ProcessPixel', flags.Detector.EnableITkPixel)
13  kwargs.setdefault('ProcessStrip', flags.Detector.EnableITkStrip and not flags.Tracking.doITkFastTracking)
14  acc.addEventAlgo( CompFactory.InDet.InDetToXAODSpacePointConversion(name, **kwargs) )
15  return acc
16 

◆ ITkFastSiTrackerSpacePointFinderCfg()

def python.SiSpacePointFormationConfig.ITkFastSiTrackerSpacePointFinderCfg (   flags)

Definition at line 174 of file SiSpacePointFormationConfig.py.

176  if flags.Tracking.doLargeD0:
177  acc.merge(ITkStripSiTrackerSpacePointFinderCfg(flags))
178  return acc
179 
180 

◆ ITkPixelSiTrackerSpacePointFinderCfg()

def python.SiSpacePointFormationConfig.ITkPixelSiTrackerSpacePointFinderCfg (   flags,
  name = "ITkPixelSiTrackerSpacePointFinder",
**  kwargs 
)

Definition at line 161 of file SiSpacePointFormationConfig.py.

162  flags, name="ITkPixelSiTrackerSpacePointFinder", **kwargs):
163  kwargs.setdefault("ProcessSCTs", False)
164  kwargs.setdefault("ProcessOverlaps", False)
165  return ITkSiTrackerSpacePointFinderCfg(flags, name, **kwargs)
166 
167 

◆ ITkSiElementPropertiesTableCondAlgCfg()

def python.SiSpacePointFormationConfig.ITkSiElementPropertiesTableCondAlgCfg (   flags,
  name = "ITkSiElementPropertiesTableCondAlg",
**  kwargs 
)

Definition at line 28 of file SiSpacePointFormationConfig.py.

29  flags, name="ITkSiElementPropertiesTableCondAlg", **kwargs):
30  # For strip DetectorElementCollection used
31  from StripGeoModelXml.ITkStripGeoModelConfig import (
32  ITkStripReadoutGeometryCfg)
33  acc = ITkStripReadoutGeometryCfg(flags)
34 
35  kwargs.setdefault("ReadKey", "ITkStripDetectorElementCollection")
36  kwargs.setdefault("WriteKey", "ITkStripElementPropertiesTable")
37 
38  acc.addCondAlgo(
39  CompFactory.InDet.SiElementPropertiesTableCondAlg(name, **kwargs))
40  return acc
41 
42 

◆ ITkSiSpacePointMakerToolCfg()

def python.SiSpacePointFormationConfig.ITkSiSpacePointMakerToolCfg (   flags,
  name = "ITkSiSpacePointMakerTool",
**  kwargs 
)

Definition at line 53 of file SiSpacePointFormationConfig.py.

54  flags, name="ITkSiSpacePointMakerTool", **kwargs):
55  acc = ComponentAccumulator()
56  kwargs.setdefault("SCTGapParameter", 0.0015)
57  acc.setPrivateTools(
58  CompFactory.InDet.SiSpacePointMakerTool(name, **kwargs))
59  return acc
60 
61 

◆ ITkSiTrackerSpacePointFinderCfg()

def python.SiSpacePointFormationConfig.ITkSiTrackerSpacePointFinderCfg (   flags,
  name = "ITkSiTrackerSpacePointFinder",
**  kwargs 
)

Definition at line 124 of file SiSpacePointFormationConfig.py.

125  flags, name="ITkSiTrackerSpacePointFinder", **kwargs):
126  # For strip DetectorElementCollection used
127  from StripGeoModelXml.ITkStripGeoModelConfig import (
128  ITkStripReadoutGeometryCfg)
129  acc = ITkStripReadoutGeometryCfg(flags)
130 
131  from BeamSpotConditions.BeamSpotConditionsConfig import BeamSpotCondAlgCfg
132  acc.merge(BeamSpotCondAlgCfg(flags))
133  acc.merge(ITkSiElementPropertiesTableCondAlgCfg(flags))
134 
135  kwargs.setdefault("SiSpacePointMakerTool", acc.popToolsAndMerge(
137  kwargs.setdefault("PixelsClustersName", 'ITkPixelClusters')
138  kwargs.setdefault("SCT_ClustersName", 'ITkStripClusters')
139  kwargs.setdefault("SCTPropertiesKey", "ITkStripElementPropertiesTable")
140  kwargs.setdefault("SCTDetEleCollKey", "ITkStripDetectorElementCollection")
141  kwargs.setdefault("SpacePointsPixelName", 'ITkPixelSpacePoints')
142  kwargs.setdefault("SpacePointsSCTName", 'ITkStripSpacePoints')
143  kwargs.setdefault("SpacePointsOverlapName", 'ITkOverlapSpacePoints')
144  kwargs.setdefault("ProcessPixels", flags.Detector.EnableITkPixel)
145  kwargs.setdefault("ProcessSCTs", flags.Detector.EnableITkStrip)
146  kwargs.setdefault("ProcessOverlaps", flags.Detector.EnableITkStrip)
147 
148  if flags.Beam.Type is BeamType.Cosmics:
149  kwargs.setdefault("ProcessOverlaps", False)
150  kwargs.setdefault("OverrideBeamSpot", True)
151  kwargs.setdefault("VertexZ", 0)
152  kwargs.setdefault("VertexX", 0)
153  kwargs.setdefault("VertexY", 99999999)
154  kwargs.setdefault("OverlapLimitOpposite", 5)
155 
156  acc.addEventAlgo(
157  CompFactory.InDet.SiTrackerSpacePointFinder(name, **kwargs))
158  return acc
159 
160 

◆ ITkStripSiTrackerSpacePointFinderCfg()

def python.SiSpacePointFormationConfig.ITkStripSiTrackerSpacePointFinderCfg (   flags,
  name = "ITkStripSiTrackerSpacePointFinder",
**  kwargs 
)

Definition at line 168 of file SiSpacePointFormationConfig.py.

169  flags, name="ITkStripSiTrackerSpacePointFinder", **kwargs):
170  kwargs.setdefault("ProcessPixels", False)
171  return ITkSiTrackerSpacePointFinderCfg(flags, name, **kwargs)
172 
173 

◆ ITkTrigSiTrackerSpacePointFinderCfg()

def python.SiSpacePointFormationConfig.ITkTrigSiTrackerSpacePointFinderCfg (   flags,
  name = "ITkTrigSiTrackerSpacePointFinder",
  signature = "",
**  kwargs 
)

Definition at line 181 of file SiSpacePointFormationConfig.py.

182  flags, name="ITkTrigSiTrackerSpacePointFinder", signature="", **kwargs):
183  kwargs.setdefault("PixelsClustersName", "ITkTrigPixelClusters")
184  kwargs.setdefault("SCT_ClustersName", "ITkTrigStripClusters")
185  kwargs.setdefault("SpacePointsPixelName", "ITkPixelTrigSpacePoints")
186  kwargs.setdefault("SpacePointsSCTName", "ITkStripTrigSpacePoints")
187  return ITkSiTrackerSpacePointFinderCfg(flags, name+signature, **kwargs)

◆ SiSpacePointMakerToolCfg()

def python.SiSpacePointFormationConfig.SiSpacePointMakerToolCfg (   flags,
  name = "InDetSiSpacePointMakerTool",
**  kwargs 
)

Definition at line 43 of file SiSpacePointFormationConfig.py.

44  flags, name="InDetSiSpacePointMakerTool", **kwargs):
45  acc = ComponentAccumulator()
46  if flags.Beam.Type is BeamType.Cosmics or flags.Tracking.doBeamGas:
47  kwargs.setdefault("StripLengthTolerance", 0.05)
48  acc.setPrivateTools(
49  CompFactory.InDet.SiSpacePointMakerTool(name, **kwargs))
50  return acc
51 
52 

◆ TrigSiTrackerSpacePointFinderCfg()

def python.SiSpacePointFormationConfig.TrigSiTrackerSpacePointFinderCfg (   flags,
  name = "InDetTrigSiTrackerSpacePointFinder",
**  kwargs 
)

Definition at line 96 of file SiSpacePointFormationConfig.py.

97  flags, name="InDetTrigSiTrackerSpacePointFinder", **kwargs):
98  # For SCT DetectorElementCollection used
99  from SCT_GeoModel.SCT_GeoModelConfig import SCT_ReadoutGeometryCfg
100  acc = SCT_ReadoutGeometryCfg(flags)
101 
102  from BeamSpotConditions.BeamSpotConditionsConfig import BeamSpotCondAlgCfg
103  acc.merge(BeamSpotCondAlgCfg(flags))
105 
106  kwargs.setdefault("SiSpacePointMakerTool", acc.popToolsAndMerge(
107  SiSpacePointMakerToolCfg(flags)))
108  kwargs.setdefault("PixelsClustersName", 'PixelTrigClusters')
109  kwargs.setdefault("SCT_ClustersName", 'SCT_TrigClusters')
110  kwargs.setdefault("SpacePointsPixelName", 'PixelTrigSpacePoints')
111  kwargs.setdefault("SpacePointsSCTName", 'SCT_TrigSpacePoints')
112  kwargs.setdefault("SpacePointsOverlapName", 'OverlapSpacePoints')
113  kwargs.setdefault("ProcessPixels", flags.Detector.EnablePixel)
114  kwargs.setdefault("ProcessSCTs", flags.Detector.EnableSCT)
115  kwargs.setdefault("ProcessOverlaps", flags.Detector.EnableSCT)
116  kwargs.setdefault("SpacePointCacheSCT", flags.Trigger.InDetTracking.SpacePointCacheSCT)
117  kwargs.setdefault("SpacePointCachePix", flags.Trigger.InDetTracking.SpacePointCachePix)
118 
119  acc.addEventAlgo(
120  CompFactory.InDet.SiTrackerSpacePointFinder(name, **kwargs))
121  return acc
122 
123 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.SiSpacePointFormationConfig.InDetSiTrackerSpacePointFinderCfg
def InDetSiTrackerSpacePointFinderCfg(flags, name="InDetSiTrackerSpacePointFinder", **kwargs)
Definition: SiSpacePointFormationConfig.py:62
python.BeamSpotConditionsConfig.BeamSpotCondAlgCfg
def BeamSpotCondAlgCfg(flags, name="BeamSpotCondAlg", **kwargs)
Definition: BeamSpotConditionsConfig.py:7
python.SiSpacePointFormationConfig.ITkFastSiTrackerSpacePointFinderCfg
def ITkFastSiTrackerSpacePointFinderCfg(flags)
Definition: SiSpacePointFormationConfig.py:174
python.SiSpacePointFormationConfig.ITkStripSiTrackerSpacePointFinderCfg
def ITkStripSiTrackerSpacePointFinderCfg(flags, name="ITkStripSiTrackerSpacePointFinder", **kwargs)
Definition: SiSpacePointFormationConfig.py:168
python.SiSpacePointFormationConfig.InDetToXAODSpacePointConversionCfg
ComponentAccumulator InDetToXAODSpacePointConversionCfg(flags, str name="InDetToXAODSpacePointConversion", **kwargs)
Definition: SiSpacePointFormationConfig.py:8
SCT_GeoModelConfig.SCT_ReadoutGeometryCfg
def SCT_ReadoutGeometryCfg(flags)
Definition: SCT_GeoModelConfig.py:42
python.SiSpacePointFormationConfig.ITkPixelSiTrackerSpacePointFinderCfg
def ITkPixelSiTrackerSpacePointFinderCfg(flags, name="ITkPixelSiTrackerSpacePointFinder", **kwargs)
Definition: SiSpacePointFormationConfig.py:161
python.SiSpacePointFormationConfig.TrigSiTrackerSpacePointFinderCfg
def TrigSiTrackerSpacePointFinderCfg(flags, name="InDetTrigSiTrackerSpacePointFinder", **kwargs)
Definition: SiSpacePointFormationConfig.py:96
python.SiSpacePointFormationConfig.InDetSiElementPropertiesTableCondAlgCfg
def InDetSiElementPropertiesTableCondAlgCfg(flags, name="InDetSiElementPropertiesTableCondAlg", **kwargs)
Definition: SiSpacePointFormationConfig.py:17
python.SiSpacePointFormationConfig.ITkSiSpacePointMakerToolCfg
def ITkSiSpacePointMakerToolCfg(flags, name="ITkSiSpacePointMakerTool", **kwargs)
Definition: SiSpacePointFormationConfig.py:53
ITkStripGeoModelConfig.ITkStripReadoutGeometryCfg
def ITkStripReadoutGeometryCfg(flags, setGeometryAlignable=False, setAlignmentFolderName="/Indet/Align")
Definition: ITkStripGeoModelConfig.py:39
python.SiSpacePointFormationConfig.SiSpacePointMakerToolCfg
def SiSpacePointMakerToolCfg(flags, name="InDetSiSpacePointMakerTool", **kwargs)
Definition: SiSpacePointFormationConfig.py:43
python.SiSpacePointFormationConfig.ITkSiTrackerSpacePointFinderCfg
def ITkSiTrackerSpacePointFinderCfg(flags, name="ITkSiTrackerSpacePointFinder", **kwargs)
Definition: SiSpacePointFormationConfig.py:124
python.SiSpacePointFormationConfig.ITkSiElementPropertiesTableCondAlgCfg
def ITkSiElementPropertiesTableCondAlgCfg(flags, name="ITkSiElementPropertiesTableCondAlg", **kwargs)
Definition: SiSpacePointFormationConfig.py:28
python.SiSpacePointFormationConfig.ITkTrigSiTrackerSpacePointFinderCfg
def ITkTrigSiTrackerSpacePointFinderCfg(flags, name="ITkTrigSiTrackerSpacePointFinder", signature="", **kwargs)
Definition: SiSpacePointFormationConfig.py:181