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

Functions

 L1TopoPhase1ByteStreamToolCfg (flags, name, writeBS=False)
 L1TopoRDOCollectionBSCnvCfg (flags)
 L1TopoRawDataContainerBSCnvCfg (flags)
 L1TopoByteStreamCfg (flags)

Variables

 flags = initConfigFlags()
 OutputLevel
 Files
 acc = MainServicesCfg(flags)

Detailed Description

Functions creating ComponentAccumulator with ByteStream converters for L1Topo objects

Function Documentation

◆ L1TopoByteStreamCfg()

L1TopoByteStreamConfig.L1TopoByteStreamCfg ( flags)

Definition at line 40 of file L1TopoByteStreamConfig.py.

40def L1TopoByteStreamCfg(flags):
41 acc = ComponentAccumulator()
42 acc.merge(L1TopoRDOCollectionBSCnvCfg(flags))
43 acc.merge(L1TopoRawDataContainerBSCnvCfg(flags))
44 return acc
45
46

◆ L1TopoPhase1ByteStreamToolCfg()

L1TopoByteStreamConfig.L1TopoPhase1ByteStreamToolCfg ( flags,
name,
writeBS = False )

Definition at line 9 of file L1TopoByteStreamConfig.py.

9def L1TopoPhase1ByteStreamToolCfg(flags, name, writeBS=False):
10 from libpyeformat_helper import SourceIdentifier, SubDetector
11 from AthenaConfiguration.ComponentFactory import CompFactory
12
13 acc = ComponentAccumulator()
14 tool = CompFactory.L1TopoPhase1ByteStreamTool(name)
15 moduleids = [0x1800]
16 tool.ROBIDs = [int(SourceIdentifier(SubDetector.TDAQ_CALO_TOPO_PROC, moduleid)) for moduleid in moduleids]
17
18 if writeBS:
19 tool.L1TopoPhase1RAWDataReadContainer = "L1_Phase1L1TopoRAWData"
20 tool.L1TopoPhase1RAWDataWriteContainer = ""
21 else:
22 tool.L1TopoPhase1RAWDataReadContainer = ""
23 tool.L1TopoPhase1RAWDataWriteContainer = "L1_Phase1L1TopoRAWData"
24
25 acc.setPrivateTools(tool)
26 return acc
27

◆ L1TopoRawDataContainerBSCnvCfg()

L1TopoByteStreamConfig.L1TopoRawDataContainerBSCnvCfg ( flags)

Definition at line 34 of file L1TopoByteStreamConfig.py.

34def L1TopoRawDataContainerBSCnvCfg(flags):
35 typeNamesToDecode = ["xAOD::L1TopoRawDataContainer/L1TopoRawData",
36 "xAOD::L1TopoRawDataAuxContainer/L1TopoRawDataAux."]
37 return ByteStreamReadCfg(flags, typeNamesToDecode)
38
39

◆ L1TopoRDOCollectionBSCnvCfg()

L1TopoByteStreamConfig.L1TopoRDOCollectionBSCnvCfg ( flags)

Definition at line 28 of file L1TopoByteStreamConfig.py.

28def L1TopoRDOCollectionBSCnvCfg(flags):
29 typeNamesToDecode = ["L1TopoRDOCollection/L1TopoRDOCollection",
30 "SG::AuxVectorBase/L1TopoRDOCollection"]
31 return ByteStreamReadCfg(flags, typeNamesToDecode)
32
33

Variable Documentation

◆ acc

L1TopoByteStreamConfig.acc = MainServicesCfg(flags)

Definition at line 60 of file L1TopoByteStreamConfig.py.

◆ Files

L1TopoByteStreamConfig.Files

Definition at line 57 of file L1TopoByteStreamConfig.py.

◆ flags

L1TopoByteStreamConfig.flags = initConfigFlags()

Definition at line 55 of file L1TopoByteStreamConfig.py.

◆ OutputLevel

L1TopoByteStreamConfig.OutputLevel

Definition at line 56 of file L1TopoByteStreamConfig.py.