ATLAS Offline Software
Functions
python.SCT_RawDataByteStreamCnvConfig Namespace Reference

Functions

def SCT_RodDecoderCfg (flags, prefix="InDet", suffix="", **kwargs)
 
def SCTRawDataProviderToolCfg (flags, prefix="InDet", suffix="", **kwargs)
 
def SCTRawDataProviderCfg (flags, prefix="InDet", suffix="", **kwargs)
 
def TrigSCTRawDataProviderCfg (flags, suffix, RoIs)
 
def SCTEventFlagWriterCfg (flags, prefix="InDet", suffix="", **kwargs)
 

Function Documentation

◆ SCT_RodDecoderCfg()

def python.SCT_RawDataByteStreamCnvConfig.SCT_RodDecoderCfg (   flags,
  prefix = "InDet",
  suffix = "",
**  kwargs 
)

Definition at line 12 of file SCT_RawDataByteStreamCnvConfig.py.

12 def SCT_RodDecoderCfg(flags, prefix="InDet", suffix="", **kwargs):
13  acc = ComponentAccumulator()
14  acc.merge(SCT_ReadoutGeometryCfg(flags))
15  kwargs.setdefault("SCT_CablingTool", acc.popToolsAndMerge(SCT_CablingToolCfg(flags)))
16  kwargs.setdefault("ConfigTool", acc.popToolsAndMerge(SCT_ConfigurationConditionsToolCfg(flags)))
17  acc.setPrivateTools(CompFactory.SCT_RodDecoder(name=prefix+"SCTRodDecoder"+suffix,
18  **kwargs))
19  return acc
20 
21 

◆ SCTEventFlagWriterCfg()

def python.SCT_RawDataByteStreamCnvConfig.SCTEventFlagWriterCfg (   flags,
  prefix = "InDet",
  suffix = "",
**  kwargs 
)

Definition at line 69 of file SCT_RawDataByteStreamCnvConfig.py.

69 def SCTEventFlagWriterCfg(flags, prefix="InDet", suffix="", **kwargs):
70  acc = ComponentAccumulator()
71  if flags.Overlay.ByteStream:
72  kwargs.setdefault("xAODEventInfoKey", f"{flags.Overlay.BkgPrefix}EventInfo")
73  acc.addEventAlgo(CompFactory.SCTEventFlagWriter(name=prefix+"SCTEventFlagWriter"+suffix,
74  **kwargs))
75  return acc

◆ SCTRawDataProviderCfg()

def python.SCT_RawDataByteStreamCnvConfig.SCTRawDataProviderCfg (   flags,
  prefix = "InDet",
  suffix = "",
**  kwargs 
)
Configures the main algorithm for SCT raw data decoding 

Definition at line 30 of file SCT_RawDataByteStreamCnvConfig.py.

30 def SCTRawDataProviderCfg(flags, prefix="InDet", suffix="", **kwargs):
31  """ Configures the main algorithm for SCT raw data decoding """
32  acc = ComponentAccumulator()
33  kwargs.setdefault("ProviderTool", acc.popToolsAndMerge(SCTRawDataProviderToolCfg(flags, prefix, suffix)))
34 
35  if flags.Overlay.ByteStream:
36  kwargs.setdefault("RDOKey", f"{flags.Overlay.BkgPrefix}SCT_RDOs")
37  kwargs.setdefault("LVL1IDKey", f"{flags.Overlay.BkgPrefix}SCT_LVL1ID")
38  kwargs.setdefault("BCIDKey", f"{flags.Overlay.BkgPrefix}SCT_BCID")
39 
40  acc.addEventAlgo(CompFactory.SCTRawDataProvider(name=prefix+"SCTRawDataProvider"+suffix,
41  **kwargs))
42  return acc
43 
44 

◆ SCTRawDataProviderToolCfg()

def python.SCT_RawDataByteStreamCnvConfig.SCTRawDataProviderToolCfg (   flags,
  prefix = "InDet",
  suffix = "",
**  kwargs 
)

Definition at line 22 of file SCT_RawDataByteStreamCnvConfig.py.

22 def SCTRawDataProviderToolCfg(flags, prefix="InDet", suffix="", **kwargs):
23  acc = ComponentAccumulator()
24  kwargs.setdefault("Decoder", acc.popToolsAndMerge(SCT_RodDecoderCfg(flags, prefix=prefix, suffix=suffix)))
25  acc.setPrivateTools(CompFactory.SCTRawDataProviderTool(name=prefix+"SCTRawDataProviderTool"+suffix,
26  **kwargs))
27  return acc
28 
29 

◆ TrigSCTRawDataProviderCfg()

def python.SCT_RawDataByteStreamCnvConfig.TrigSCTRawDataProviderCfg (   flags,
  suffix,
  RoIs 
)
Configures the SCT raw data decoding with trigger args 

Definition at line 45 of file SCT_RawDataByteStreamCnvConfig.py.

45 def TrigSCTRawDataProviderCfg(flags, suffix, RoIs):
46  """ Configures the SCT raw data decoding with trigger args """
47 
48  from RegionSelector.RegSelToolConfig import regSelTool_SCT_Cfg
49 
50  regSelAcc = regSelTool_SCT_Cfg(flags)
51  regSelTools = regSelAcc.popPrivateTools()
52  trigargs = {
53  'prefix' : 'Trig',
54  'suffix' : suffix,
55  'RegSelTool' : regSelTools,
56  'RDOKey' : 'SCT_RDOs',
57  'RoIs' : RoIs,
58  'isRoI_Seeded': True,
59  'RDOCacheKey' : flags.Trigger.InDetTracking.SCTRDOCacheKey,
60  'BSErrCacheKey' : flags.Trigger.InDetTracking.SCTBSErrCacheKey,
61  'StoreInDetTimeCollections' : False,
62  }
63 
64  dataPrepAcc = SCTRawDataProviderCfg(flags, **trigargs)
65  dataPrepAcc.merge(regSelAcc)
66  return dataPrepAcc
67 
68 
python.SCT_RawDataByteStreamCnvConfig.SCTRawDataProviderCfg
def SCTRawDataProviderCfg(flags, prefix="InDet", suffix="", **kwargs)
Definition: SCT_RawDataByteStreamCnvConfig.py:30
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
RegSelToolConfig.regSelTool_SCT_Cfg
def regSelTool_SCT_Cfg(flags)
Definition: RegSelToolConfig.py:106
python.SCT_RawDataByteStreamCnvConfig.TrigSCTRawDataProviderCfg
def TrigSCTRawDataProviderCfg(flags, suffix, RoIs)
Definition: SCT_RawDataByteStreamCnvConfig.py:45
python.SCT_RawDataByteStreamCnvConfig.SCTRawDataProviderToolCfg
def SCTRawDataProviderToolCfg(flags, prefix="InDet", suffix="", **kwargs)
Definition: SCT_RawDataByteStreamCnvConfig.py:22
python.SCT_RawDataByteStreamCnvConfig.SCT_RodDecoderCfg
def SCT_RodDecoderCfg(flags, prefix="InDet", suffix="", **kwargs)
Definition: SCT_RawDataByteStreamCnvConfig.py:12
SCT_GeoModelConfig.SCT_ReadoutGeometryCfg
def SCT_ReadoutGeometryCfg(flags)
Definition: SCT_GeoModelConfig.py:51
python.SCT_CablingConfig.SCT_CablingToolCfg
def SCT_CablingToolCfg(flags, name="SCT_CablingTool")
Definition: SCT_CablingConfig.py:35
python.SCT_ConditionsToolsConfig.SCT_ConfigurationConditionsToolCfg
def SCT_ConfigurationConditionsToolCfg(flags, name="InDetSCT_ConfigurationConditionsTool", **kwargs)
Definition: SCT_ConditionsToolsConfig.py:126
python.SCT_RawDataByteStreamCnvConfig.SCTEventFlagWriterCfg
def SCTEventFlagWriterCfg(flags, prefix="InDet", suffix="", **kwargs)
Definition: SCT_RawDataByteStreamCnvConfig.py:69