ATLAS Offline Software
Functions
python.TrkSpacePointAnalysisConfig Namespace Reference

Functions

def TrkSpacePointAnalisysBaseCfg (flags, name, **kwargs)
 
def ITkPixelSpacePointAnalysisCfg (flags, name="ITkPixelSpacePointAnalysis", **kwargs)
 
def ITkStripSpacePointAnalysisCfg (flags, name="ITkStripSpacePointAnalysis", **kwargs)
 
def SpacePointAnalysisCfg (flags)
 

Function Documentation

◆ ITkPixelSpacePointAnalysisCfg()

def python.TrkSpacePointAnalysisConfig.ITkPixelSpacePointAnalysisCfg (   flags,
  name = "ITkPixelSpacePointAnalysis",
**  kwargs 
)

Definition at line 15 of file TrkSpacePointAnalysisConfig.py.

15 def ITkPixelSpacePointAnalysisCfg(flags, name="ITkPixelSpacePointAnalysis", **kwargs):
16  result = TrkSpacePointAnalisysBaseCfg(flags, name, **kwargs)
17 
18  from PixelGeoModelXml.ITkPixelGeoModelConfig import ITkPixelReadoutGeometryCfg
19  result.merge(ITkPixelReadoutGeometryCfg(flags))
20 
21  kwargs.setdefault("NtupleFileName", f"/{name}/")
22  kwargs.setdefault("HistPath", f"/{name}/")
23  kwargs.setdefault("InputKey", "ITkPixelSpacePoints")
24  kwargs.setdefault("UsePixel", True)
25  kwargs.setdefault("UseOverlap", False)
26 
27  result.addEventAlgo(CompFactory.SpacePointAnalysis(name, **kwargs))
28  return result
29 
30 

◆ ITkStripSpacePointAnalysisCfg()

def python.TrkSpacePointAnalysisConfig.ITkStripSpacePointAnalysisCfg (   flags,
  name = "ITkStripSpacePointAnalysis",
**  kwargs 
)

Definition at line 31 of file TrkSpacePointAnalysisConfig.py.

31 def ITkStripSpacePointAnalysisCfg(flags, name="ITkStripSpacePointAnalysis", **kwargs):
32  result = TrkSpacePointAnalisysBaseCfg(flags, name, **kwargs)
33 
34  from StripGeoModelXml.ITkStripGeoModelConfig import ITkStripReadoutGeometryCfg
35  result.merge(ITkStripReadoutGeometryCfg(flags))
36 
37  kwargs.setdefault("NtupleFileName", f"/{name}/")
38  kwargs.setdefault("HistPath", f"/{name}/")
39  kwargs.setdefault("InputKey", "ITkStripSpacePoints")
40  kwargs.setdefault("UsePixel", False)
41  kwargs.setdefault("InputOverlapKey", "ITkOverlapSpacePoints")
42  kwargs.setdefault("UsePixel", False)
43  kwargs.setdefault("UseOverlap", True)
44 
45  result.addEventAlgo(CompFactory.SpacePointAnalysis(name, **kwargs))
46  return result
47 
48 

◆ SpacePointAnalysisCfg()

def python.TrkSpacePointAnalysisConfig.SpacePointAnalysisCfg (   flags)

Definition at line 49 of file TrkSpacePointAnalysisConfig.py.

49 def SpacePointAnalysisCfg(flags):
50  acc = ComponentAccumulator()
51 
52  if flags.Detector.EnableITkPixel:
53  acc.merge(ITkPixelSpacePointAnalysisCfg(flags))
54 
55  if flags.Detector.EnableITkStrip:
56  acc.merge(ITkStripSpacePointAnalysisCfg(flags))
57 
58  return acc

◆ TrkSpacePointAnalisysBaseCfg()

def python.TrkSpacePointAnalysisConfig.TrkSpacePointAnalisysBaseCfg (   flags,
  name,
**  kwargs 
)

Definition at line 7 of file TrkSpacePointAnalysisConfig.py.

7 def TrkSpacePointAnalisysBaseCfg(flags, name, **kwargs):
8  result = ComponentAccumulator()
9  histsvc = CompFactory.THistSvc(name="THistSvc",
10  Output=[ f"{name} DATAFILE='{name}.root' OPT='RECREATE'" ])
11  result.addService(histsvc)
12  return result
13 
14 
python.TrkSpacePointAnalysisConfig.ITkStripSpacePointAnalysisCfg
def ITkStripSpacePointAnalysisCfg(flags, name="ITkStripSpacePointAnalysis", **kwargs)
Definition: TrkSpacePointAnalysisConfig.py:31
python.TrkSpacePointAnalysisConfig.TrkSpacePointAnalisysBaseCfg
def TrkSpacePointAnalisysBaseCfg(flags, name, **kwargs)
Definition: TrkSpacePointAnalysisConfig.py:7
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ITkStripGeoModelConfig.ITkStripReadoutGeometryCfg
def ITkStripReadoutGeometryCfg(flags)
Definition: ITkStripGeoModelConfig.py:39
ITkPixelGeoModelConfig.ITkPixelReadoutGeometryCfg
def ITkPixelReadoutGeometryCfg(flags)
Definition: ITkPixelGeoModelConfig.py:39
python.TrkSpacePointAnalysisConfig.ITkPixelSpacePointAnalysisCfg
def ITkPixelSpacePointAnalysisCfg(flags, name="ITkPixelSpacePointAnalysis", **kwargs)
Definition: TrkSpacePointAnalysisConfig.py:15
python.TrkSpacePointAnalysisConfig.SpacePointAnalysisCfg
def SpacePointAnalysisCfg(flags)
Definition: TrkSpacePointAnalysisConfig.py:49