ATLAS Offline Software
Functions | Variables
L1TopoByteStreamConfig Namespace Reference

Functions

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

Variables

 flags
 
 OutputLevel
 
 Files
 
 acc
 

Function Documentation

◆ L1TopoByteStreamCfg()

def L1TopoByteStreamConfig.L1TopoByteStreamCfg (   flags)

Definition at line 40 of file L1TopoByteStreamConfig.py.

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

◆ L1TopoPhase1ByteStreamToolCfg()

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

Definition at line 9 of file L1TopoByteStreamConfig.py.

9 def 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()

def L1TopoByteStreamConfig.L1TopoRawDataContainerBSCnvCfg (   flags)

Definition at line 34 of file L1TopoByteStreamConfig.py.

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

◆ L1TopoRDOCollectionBSCnvCfg()

def L1TopoByteStreamConfig.L1TopoRDOCollectionBSCnvCfg (   flags)

Definition at line 28 of file L1TopoByteStreamConfig.py.

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

Variable Documentation

◆ acc

L1TopoByteStreamConfig.acc

Definition at line 60 of file L1TopoByteStreamConfig.py.

◆ Files

L1TopoByteStreamConfig.Files

Definition at line 57 of file L1TopoByteStreamConfig.py.

◆ flags

L1TopoByteStreamConfig.flags

Definition at line 55 of file L1TopoByteStreamConfig.py.

◆ OutputLevel

L1TopoByteStreamConfig.OutputLevel

Definition at line 56 of file L1TopoByteStreamConfig.py.

L1TopoByteStreamConfig.L1TopoPhase1ByteStreamToolCfg
def L1TopoPhase1ByteStreamToolCfg(flags, name, writeBS=False)
Definition: L1TopoByteStreamConfig.py:9
L1TopoByteStreamConfig.L1TopoByteStreamCfg
def L1TopoByteStreamCfg(flags)
Definition: L1TopoByteStreamConfig.py:40
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24
python.ByteStreamConfig.ByteStreamReadCfg
def ByteStreamReadCfg(flags, type_names=None)
Definition: Event/ByteStreamCnvSvc/python/ByteStreamConfig.py:25
L1TopoByteStreamConfig.L1TopoRawDataContainerBSCnvCfg
def L1TopoRawDataContainerBSCnvCfg(flags)
Definition: L1TopoByteStreamConfig.py:34
L1TopoByteStreamConfig.L1TopoRDOCollectionBSCnvCfg
def L1TopoRDOCollectionBSCnvCfg(flags)
Definition: L1TopoByteStreamConfig.py:28