ATLAS Offline Software
Functions
PixelRawDataByteStreamCnvConfig Namespace Reference

Functions

def PixelRawDataProviderToolCfg (flags, prefix="", suffix="", storeInDetTimeCollections=True)
 
def PixelRawDataProviderAlgCfg (flags, RDOKey="PixelRDOs", **kwargs)
 
def TrigPixelRawDataProviderAlgCfg (flags, suffix, RoIs, **kwargs)
 

Function Documentation

◆ PixelRawDataProviderAlgCfg()

def PixelRawDataByteStreamCnvConfig.PixelRawDataProviderAlgCfg (   flags,
  RDOKey = "PixelRDOs",
**  kwargs 
)
Main function to configure Pixel raw data decoding 

Definition at line 15 of file PixelRawDataByteStreamCnvConfig.py.

15 def PixelRawDataProviderAlgCfg(flags, RDOKey="PixelRDOs", **kwargs):
16  """ Main function to configure Pixel raw data decoding """
17  acc = PixelCablingCondAlgCfg(flags)
18  acc.merge(PixelHitDiscCnfgAlgCfg(flags))
19 
20  from PixelReadoutGeometry.PixelReadoutGeometryConfig import PixelReadoutManagerCfg
21  acc.merge (PixelReadoutManagerCfg(flags))
22 
23  from RegionSelector.RegSelToolConfig import regSelTool_Pixel_Cfg
24  regSelTool = acc.popToolsAndMerge(regSelTool_Pixel_Cfg(flags))
25  storeInDetTimeCollections = kwargs.pop("StoreInDetTimeCollections",True)
26 
27  prefix = kwargs.pop("prefix","")
28  suffix = kwargs.pop("suffix","")
29  providerTool = acc.popToolsAndMerge(PixelRawDataProviderToolCfg(flags, prefix, suffix, storeInDetTimeCollections))
30  acc.addEventAlgo(CompFactory.PixelRawDataProvider(RDOKey = RDOKey,
31  RegSelTool = regSelTool,
32  ProviderTool = providerTool,
33  **kwargs))
34  return acc
35 
36 

◆ PixelRawDataProviderToolCfg()

def PixelRawDataByteStreamCnvConfig.PixelRawDataProviderToolCfg (   flags,
  prefix = "",
  suffix = "",
  storeInDetTimeCollections = True 
)

Definition at line 9 of file PixelRawDataByteStreamCnvConfig.py.

9 def PixelRawDataProviderToolCfg(flags, prefix="", suffix="", storeInDetTimeCollections=True):
10  acc = ComponentAccumulator()
11  decoder = CompFactory.PixelRodDecoder(CheckDuplicatedPixel = False if "data15" in flags.Input.ProjectName else True)
12  acc.setPrivateTools(CompFactory.PixelRawDataProviderTool(Decoder = decoder, StoreInDetTimeCollections = storeInDetTimeCollections))
13  return acc
14 

◆ TrigPixelRawDataProviderAlgCfg()

def PixelRawDataByteStreamCnvConfig.TrigPixelRawDataProviderAlgCfg (   flags,
  suffix,
  RoIs,
**  kwargs 
)

Definition at line 37 of file PixelRawDataByteStreamCnvConfig.py.

37 def TrigPixelRawDataProviderAlgCfg(flags, suffix, RoIs, **kwargs):
38  kwargs.setdefault('name', 'TrigPixelRawDataProvider'+suffix)
39  kwargs.setdefault('prefix', "Trig")
40  kwargs.setdefault('suffix', suffix)
41  kwargs.setdefault('RoIs', RoIs)
42  kwargs.setdefault('isRoI_Seeded', True)
43  kwargs.setdefault('RDOCacheKey', flags.Trigger.InDetTracking.PixRDOCacheKey)
44  kwargs.setdefault('BSErrorsCacheKey', flags.Trigger.InDetTracking.PixBSErrCacheKey)
45  kwargs.setdefault('StoreInDetTimeCollections', False)
46  return PixelRawDataProviderAlgCfg(flags, **kwargs)
PixelRawDataByteStreamCnvConfig.PixelRawDataProviderAlgCfg
def PixelRawDataProviderAlgCfg(flags, RDOKey="PixelRDOs", **kwargs)
Definition: PixelRawDataByteStreamCnvConfig.py:15
PixelRawDataByteStreamCnvConfig.TrigPixelRawDataProviderAlgCfg
def TrigPixelRawDataProviderAlgCfg(flags, suffix, RoIs, **kwargs)
Definition: PixelRawDataByteStreamCnvConfig.py:37
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
PixelConditionsConfig.PixelCablingCondAlgCfg
def PixelCablingCondAlgCfg(flags, name="PixelCablingCondAlg", **kwargs)
Definition: PixelConditionsConfig.py:109
RegSelToolConfig.regSelTool_Pixel_Cfg
def regSelTool_Pixel_Cfg(flags)
Definition: RegSelToolConfig.py:101
PixelConditionsConfig.PixelHitDiscCnfgAlgCfg
def PixelHitDiscCnfgAlgCfg(flags, name="PixelHitDiscCnfgAlg", **kwargs)
Definition: PixelConditionsConfig.py:269
python.PixelReadoutGeometryConfig.PixelReadoutManagerCfg
def PixelReadoutManagerCfg(flags, name="PixelReadoutManager", **kwargs)
Definition: PixelReadoutGeometryConfig.py:6
PixelRawDataByteStreamCnvConfig.PixelRawDataProviderToolCfg
def PixelRawDataProviderToolCfg(flags, prefix="", suffix="", storeInDetTimeCollections=True)
Definition: PixelRawDataByteStreamCnvConfig.py:9