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

Functions

 mistimedAlg (flags, myflags)

Variables

 flags = initConfigFlags()
 Files
 triggerConfig
 MaxEvents
 AtlasVersion
 EDMVersion
 doCTP
 enableL1CaloPhase1
 GlobalTag
 parser = flags.getArgumentParser()
 default
 help
 nargs
 requiredNamed = parser.add_argument_group('Required named arguments')
 None
 required
 args
 unknown_args
 return_unknown
 runNumber = args.runNumber
 systemVersion = args.systemVersion
 streamName = args.streamName
 dataTag = args.dataTag
 Execute
 ErrorMode
 HISTFileName
 sysAcc = MainServicesCfg(flags)
bool ionsTag = True if dataTag.endswith("_hi") else False
dict myflags = {}
 withDetails
 True
 summariseProps
 status = sysAcc.run()

Function Documentation

◆ mistimedAlg()

MistimedStreamPhI_runStandalone.mistimedAlg ( flags,
myflags )

Definition at line 6 of file MistimedStreamPhI_runStandalone.py.

6def mistimedAlg(flags, myflags):
7
8 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
9
10 acc = ComponentAccumulator()
11
12 type_names = [
13 # ===== CPM ================================================================
14 "xAOD::CPMTowerContainer/CPMTowers",
15 "xAOD::CPMTowerAuxContainer/CPMTowersAux.",
16 # ===== PPM ============================================================
17 "xAOD::TriggerTowerContainer/xAODTriggerTowers",
18 "xAOD::TriggerTowerAuxContainer/xAODTriggerTowersAux.",
19 # ===== JETELEMENT =========================================================
20 "xAOD::JetElementContainer/JetElements",
21 "xAOD::JetElementAuxContainer/JetElementsAux.",
22 # ====== CTP ============================================================
23 "CTP_RDO/CTP_RDO"
24 ]
25
26 from ByteStreamCnvSvc.ByteStreamConfig import ByteStreamReadCfg
27 acc.merge(ByteStreamReadCfg(flags, type_names=type_names))
28
29 from TrigT1ResultByteStream.TrigT1ResultByteStreamConfig import L1TriggerByteStreamDecoderCfg
30 acc.merge(L1TriggerByteStreamDecoderCfg(flags))
31
32 from TriggerJobOpts.TriggerRecoConfig import TriggerRecoCfg
33 acc.merge(TriggerRecoCfg(flags))
34
35 #Decoder eFex TOBs
36 from L1CaloFEXByteStream.L1CaloFEXByteStreamConfig import eFexByteStreamToolCfg
37 acc.popToolsAndMerge(eFexByteStreamToolCfg(flags, 'eFexBSDecoder', xTOBs=True, multiSlice=True))
38
39 #Decoder gFex TOBs
40 from L1CaloFEXByteStream.L1CaloFEXByteStreamConfig import gFexByteStreamToolCfg
41 acc.popToolsAndMerge(gFexByteStreamToolCfg(flags, 'gFexBSDecoder'))
42
43 #Decoder jFex TOBs
44 from L1CaloFEXByteStream.L1CaloFEXByteStreamConfig import jFexRoiByteStreamToolCfg
45 acc.popToolsAndMerge(jFexRoiByteStreamToolCfg(flags, 'jFexBSDecoder'))
46
47 #Decodes LATOME into SCell container
48 from L1CaloFEXSim.L1CaloFEXSimCfg import ReadSCellFromByteStreamCfg
49 acc.merge(ReadSCellFromByteStreamCfg(flags))
50
51 #Decorator jFex towers
52 from L1CaloFEXAlgos.L1CaloFEXAlgosConfig import L1CalojFEXDecoratorCfg
53 acc.merge(L1CalojFEXDecoratorCfg(flags,ExtraInfo = False))
54
55 #jFex emulated towers
56 from L1CaloFEXAlgos.FexEmulatedTowersConfig import jFexEmulatedTowersCfg
57 acc.merge(jFexEmulatedTowersCfg(flags,"jFexEmulatedTowerMaker", "L1_jFexEmulatedTowers"))
58
59 #mistimed algorithm
60 from TrigT1CaloMonitoring.MistimedStreamMonitorAlgorithm import MistimedStreamMonitorConfig
61 MistimedStreamMonitorCfg = MistimedStreamMonitorConfig(flags, myflags)
62 acc.merge(MistimedStreamMonitorCfg)
63
64 MistimedStreamMonitorCfg.OutputLevel = 1 # 1/2 INFO/DEBUG
65
66 # Return our accumulator
67 return acc
68
69# ===============================================================
70# __main__
71# ===============================================================

Variable Documentation

◆ args

MistimedStreamPhI_runStandalone.args

Definition at line 98 of file MistimedStreamPhI_runStandalone.py.

◆ AtlasVersion

MistimedStreamPhI_runStandalone.AtlasVersion

Definition at line 80 of file MistimedStreamPhI_runStandalone.py.

◆ dataTag

MistimedStreamPhI_runStandalone.dataTag = args.dataTag

Definition at line 104 of file MistimedStreamPhI_runStandalone.py.

◆ default

MistimedStreamPhI_runStandalone.default

Definition at line 88 of file MistimedStreamPhI_runStandalone.py.

◆ doCTP

MistimedStreamPhI_runStandalone.doCTP

Definition at line 82 of file MistimedStreamPhI_runStandalone.py.

◆ EDMVersion

MistimedStreamPhI_runStandalone.EDMVersion

Definition at line 81 of file MistimedStreamPhI_runStandalone.py.

◆ enableL1CaloPhase1

MistimedStreamPhI_runStandalone.enableL1CaloPhase1

Definition at line 83 of file MistimedStreamPhI_runStandalone.py.

◆ ErrorMode

MistimedStreamPhI_runStandalone.ErrorMode

Definition at line 115 of file MistimedStreamPhI_runStandalone.py.

◆ Execute

MistimedStreamPhI_runStandalone.Execute

Definition at line 114 of file MistimedStreamPhI_runStandalone.py.

◆ Files

MistimedStreamPhI_runStandalone.Files

Definition at line 76 of file MistimedStreamPhI_runStandalone.py.

◆ flags

MistimedStreamPhI_runStandalone.flags = initConfigFlags()

Definition at line 75 of file MistimedStreamPhI_runStandalone.py.

◆ GlobalTag

MistimedStreamPhI_runStandalone.GlobalTag

Definition at line 84 of file MistimedStreamPhI_runStandalone.py.

◆ help

MistimedStreamPhI_runStandalone.help

Definition at line 88 of file MistimedStreamPhI_runStandalone.py.

◆ HISTFileName

MistimedStreamPhI_runStandalone.HISTFileName

Definition at line 117 of file MistimedStreamPhI_runStandalone.py.

◆ ionsTag

bool MistimedStreamPhI_runStandalone.ionsTag = True if dataTag.endswith("_hi") else False

Definition at line 125 of file MistimedStreamPhI_runStandalone.py.

◆ MaxEvents

MistimedStreamPhI_runStandalone.MaxEvents

Definition at line 79 of file MistimedStreamPhI_runStandalone.py.

◆ myflags

dict MistimedStreamPhI_runStandalone.myflags = {}

Definition at line 128 of file MistimedStreamPhI_runStandalone.py.

◆ nargs

MistimedStreamPhI_runStandalone.nargs

Definition at line 92 of file MistimedStreamPhI_runStandalone.py.

◆ None

MistimedStreamPhI_runStandalone.None

Definition at line 97 of file MistimedStreamPhI_runStandalone.py.

◆ parser

MistimedStreamPhI_runStandalone.parser = flags.getArgumentParser()

Definition at line 87 of file MistimedStreamPhI_runStandalone.py.

◆ required

MistimedStreamPhI_runStandalone.required

Definition at line 97 of file MistimedStreamPhI_runStandalone.py.

◆ requiredNamed

MistimedStreamPhI_runStandalone.requiredNamed = parser.add_argument_group('Required named arguments')

Definition at line 96 of file MistimedStreamPhI_runStandalone.py.

◆ return_unknown

MistimedStreamPhI_runStandalone.return_unknown

Definition at line 98 of file MistimedStreamPhI_runStandalone.py.

◆ runNumber

MistimedStreamPhI_runStandalone.runNumber = args.runNumber

Definition at line 101 of file MistimedStreamPhI_runStandalone.py.

◆ status

MistimedStreamPhI_runStandalone.status = sysAcc.run()

Definition at line 156 of file MistimedStreamPhI_runStandalone.py.

◆ streamName

MistimedStreamPhI_runStandalone.streamName = args.streamName

Definition at line 103 of file MistimedStreamPhI_runStandalone.py.

◆ summariseProps

MistimedStreamPhI_runStandalone.summariseProps

Definition at line 148 of file MistimedStreamPhI_runStandalone.py.

◆ sysAcc

MistimedStreamPhI_runStandalone.sysAcc = MainServicesCfg(flags)

Definition at line 122 of file MistimedStreamPhI_runStandalone.py.

◆ systemVersion

MistimedStreamPhI_runStandalone.systemVersion = args.systemVersion

Definition at line 102 of file MistimedStreamPhI_runStandalone.py.

◆ triggerConfig

MistimedStreamPhI_runStandalone.triggerConfig

Definition at line 78 of file MistimedStreamPhI_runStandalone.py.

◆ True

MistimedStreamPhI_runStandalone.True

Definition at line 148 of file MistimedStreamPhI_runStandalone.py.

◆ unknown_args

MistimedStreamPhI_runStandalone.unknown_args

Definition at line 98 of file MistimedStreamPhI_runStandalone.py.

◆ withDetails

MistimedStreamPhI_runStandalone.withDetails

Definition at line 148 of file MistimedStreamPhI_runStandalone.py.