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

Functions

 L1CalojFEXDecoratorCfg (flags, name="jFexTower2SCellDecorator", jTowersReadKey="L1_jFexDataTowers", ExtraInfo=False, SCMasking=True)
 L1CaloGTowerDecoratorCfg (flags, name, gTowersReadKey='L1_gFexDataTowers')
 addEDM (edmType, edmName)

Variables

 parser
 type
 int
 default
 help
 nargs
 required
 choices
 True
 args = parser.parse_args()
 log = logging.getLogger('L1CaloFEXAlgosConfig')
 algLogLevel = getattr(Constants,args.outputLevel)
 flags = initConfigFlags()
 triggerConfig
 OutputLevel
 MaxEvents
 Files
 NumThreads
 NumConcurrentEvents
 AtlasVersion
 s = args.filesInput[0].replace('*','').replace('.data','')
 AODFileName
 EDMVersion
 doLVL1
 enableL1CaloPhase1
 acc = MainServicesCfg(flags)
list decoderTools = []
list outputEDM = []
list maybeMissingRobs = []
 jFexTool = acc.popToolsAndMerge(jFexRoiByteStreamToolCfg(flags, 'jFexBSDecoder'))
 inputjFexTool = acc.popToolsAndMerge(jFexInputByteStreamToolCfg(flags, 'jFexInputBSDecoder'))
 jFEX input Data
 eFexTool = acc.popToolsAndMerge(eFexByteStreamToolCfg(flags, 'eFexBSDecoder', TOBs=True, xTOBs=False, decodeInputs=False))
 decoderAlg
 sequenceName
 gFexTool = acc.popToolsAndMerge(gFexByteStreamToolCfg(flags, 'gFexBSDecoder'))
 inputgFexTool = acc.popToolsAndMerge(gFexInputByteStreamToolCfg(flags, 'gFexInputBSDecoder'))
 gFEX input Data
 DecoratorAlgo = L1CalojFEXDecoratorCfg(flags, ExtraInfo = True)
 gTowerDecoratorAlgo = L1CaloGTowerDecoratorCfg(flags, 'gFexTower2SCellDecorator')
 PropagateInput

Function Documentation

◆ addEDM()

L1CaloFEXAlgosConfig.addEDM ( edmType,
edmName )

Definition at line 104 of file L1CaloFEXAlgosConfig.py.

104 def addEDM(edmType, edmName):
105 auxType = edmType.replace('Container','AuxContainer')
106 return [f'{edmType}#{edmName}',
107 f'{auxType}#{edmName}Aux.']
108

◆ L1CaloGTowerDecoratorCfg()

L1CaloFEXAlgosConfig.L1CaloGTowerDecoratorCfg ( flags,
name,
gTowersReadKey = 'L1_gFexDataTowers' )

Definition at line 25 of file L1CaloFEXAlgosConfig.py.

25def L1CaloGTowerDecoratorCfg(flags, name, gTowersReadKey = 'L1_gFexDataTowers'):
26
27 acc=ComponentAccumulator()
28 acc.addEventAlgo( CompFactory.LVL1.gFexTower2SCellDecorator(name, gTowersReadKey=gTowersReadKey) )
29
30 return acc
31
32
33

◆ L1CalojFEXDecoratorCfg()

L1CaloFEXAlgosConfig.L1CalojFEXDecoratorCfg ( flags,
name = "jFexTower2SCellDecorator",
jTowersReadKey = "L1_jFexDataTowers",
ExtraInfo = False,
SCMasking = True )

Definition at line 12 of file L1CaloFEXAlgosConfig.py.

12def L1CalojFEXDecoratorCfg(flags, name="jFexTower2SCellDecorator", jTowersReadKey="L1_jFexDataTowers", ExtraInfo = False, SCMasking = True):
13
14 acc=ComponentAccumulator()
15
16 decorator = CompFactory.LVL1.jFexTower2SCellDecorator(name)
17 decorator.SCell = flags.Trigger.L1.L1CaloSuperCellContainerName
18 decorator.jTowersReadKey = jTowersReadKey
19 decorator.ExtraInfo = ExtraInfo
20 decorator.SCellMasking = SCMasking
21 acc.addEventAlgo(decorator)
22
23 return acc
24

Variable Documentation

◆ acc

L1CaloFEXAlgosConfig.acc = MainServicesCfg(flags)

Definition at line 90 of file L1CaloFEXAlgosConfig.py.

◆ algLogLevel

L1CaloFEXAlgosConfig.algLogLevel = getattr(Constants,args.outputLevel)

Definition at line 55 of file L1CaloFEXAlgosConfig.py.

◆ AODFileName

L1CaloFEXAlgosConfig.AODFileName

Definition at line 73 of file L1CaloFEXAlgosConfig.py.

◆ args

L1CaloFEXAlgosConfig.args = parser.parse_args()

Definition at line 48 of file L1CaloFEXAlgosConfig.py.

◆ AtlasVersion

L1CaloFEXAlgosConfig.AtlasVersion

Definition at line 69 of file L1CaloFEXAlgosConfig.py.

◆ choices

L1CaloFEXAlgosConfig.choices

Definition at line 46 of file L1CaloFEXAlgosConfig.py.

◆ decoderAlg

L1CaloFEXAlgosConfig.decoderAlg
Initial value:
1= CompFactory.L1TriggerByteStreamDecoderAlg(name="L1TriggerByteStreamDecoder",
2 DecoderTools=decoderTools, OutputLevel=algLogLevel, MaybeMissingROBs=maybeMissingRobs)

Definition at line 150 of file L1CaloFEXAlgosConfig.py.

◆ decoderTools

list L1CaloFEXAlgosConfig.decoderTools = []

Definition at line 100 of file L1CaloFEXAlgosConfig.py.

◆ DecoratorAlgo

L1CaloFEXAlgosConfig.DecoratorAlgo = L1CalojFEXDecoratorCfg(flags, ExtraInfo = True)

Definition at line 190 of file L1CaloFEXAlgosConfig.py.

◆ default

L1CaloFEXAlgosConfig.default

Definition at line 44 of file L1CaloFEXAlgosConfig.py.

◆ doLVL1

L1CaloFEXAlgosConfig.doLVL1

Definition at line 78 of file L1CaloFEXAlgosConfig.py.

◆ EDMVersion

L1CaloFEXAlgosConfig.EDMVersion

Definition at line 77 of file L1CaloFEXAlgosConfig.py.

◆ eFexTool

L1CaloFEXAlgosConfig.eFexTool = acc.popToolsAndMerge(eFexByteStreamToolCfg(flags, 'eFexBSDecoder', TOBs=True, xTOBs=False, decodeInputs=False))

Definition at line 139 of file L1CaloFEXAlgosConfig.py.

◆ enableL1CaloPhase1

L1CaloFEXAlgosConfig.enableL1CaloPhase1

Definition at line 79 of file L1CaloFEXAlgosConfig.py.

◆ Files

L1CaloFEXAlgosConfig.Files

Definition at line 63 of file L1CaloFEXAlgosConfig.py.

◆ flags

L1CaloFEXAlgosConfig.flags = initConfigFlags()

Definition at line 57 of file L1CaloFEXAlgosConfig.py.

◆ gFexTool

L1CaloFEXAlgosConfig.gFexTool = acc.popToolsAndMerge(gFexByteStreamToolCfg(flags, 'gFexBSDecoder'))

Definition at line 159 of file L1CaloFEXAlgosConfig.py.

◆ gTowerDecoratorAlgo

L1CaloFEXAlgosConfig.gTowerDecoratorAlgo = L1CaloGTowerDecoratorCfg(flags, 'gFexTower2SCellDecorator')

Definition at line 203 of file L1CaloFEXAlgosConfig.py.

◆ help

L1CaloFEXAlgosConfig.help

Definition at line 44 of file L1CaloFEXAlgosConfig.py.

◆ inputgFexTool

L1CaloFEXAlgosConfig.inputgFexTool = acc.popToolsAndMerge(gFexInputByteStreamToolCfg(flags, 'gFexInputBSDecoder'))

gFEX input Data

Definition at line 167 of file L1CaloFEXAlgosConfig.py.

◆ inputjFexTool

L1CaloFEXAlgosConfig.inputjFexTool = acc.popToolsAndMerge(jFexInputByteStreamToolCfg(flags, 'jFexInputBSDecoder'))

jFEX input Data

Definition at line 125 of file L1CaloFEXAlgosConfig.py.

◆ int

L1CaloFEXAlgosConfig.int

Definition at line 44 of file L1CaloFEXAlgosConfig.py.

◆ jFexTool

L1CaloFEXAlgosConfig.jFexTool = acc.popToolsAndMerge(jFexRoiByteStreamToolCfg(flags, 'jFexBSDecoder'))

Definition at line 114 of file L1CaloFEXAlgosConfig.py.

◆ log

L1CaloFEXAlgosConfig.log = logging.getLogger('L1CaloFEXAlgosConfig')

Definition at line 51 of file L1CaloFEXAlgosConfig.py.

◆ MaxEvents

L1CaloFEXAlgosConfig.MaxEvents

Definition at line 62 of file L1CaloFEXAlgosConfig.py.

◆ maybeMissingRobs

list L1CaloFEXAlgosConfig.maybeMissingRobs = []

Definition at line 102 of file L1CaloFEXAlgosConfig.py.

◆ nargs

L1CaloFEXAlgosConfig.nargs

Definition at line 45 of file L1CaloFEXAlgosConfig.py.

◆ NumConcurrentEvents

L1CaloFEXAlgosConfig.NumConcurrentEvents

Definition at line 65 of file L1CaloFEXAlgosConfig.py.

◆ NumThreads

L1CaloFEXAlgosConfig.NumThreads

Definition at line 64 of file L1CaloFEXAlgosConfig.py.

◆ outputEDM

list L1CaloFEXAlgosConfig.outputEDM = []

Definition at line 101 of file L1CaloFEXAlgosConfig.py.

◆ OutputLevel

L1CaloFEXAlgosConfig.OutputLevel

Definition at line 61 of file L1CaloFEXAlgosConfig.py.

◆ parser

L1CaloFEXAlgosConfig.parser
Initial value:
1= argparse.ArgumentParser(prog='python -m L1CaloFEXAlgos.L1CaloFEXAlgosConfig',
2 description=)

Definition at line 41 of file L1CaloFEXAlgosConfig.py.

◆ PropagateInput

L1CaloFEXAlgosConfig.PropagateInput

Definition at line 212 of file L1CaloFEXAlgosConfig.py.

◆ required

L1CaloFEXAlgosConfig.required

Definition at line 45 of file L1CaloFEXAlgosConfig.py.

◆ s

L1CaloFEXAlgosConfig.s = args.filesInput[0].replace('*','').replace('.data','')

Definition at line 72 of file L1CaloFEXAlgosConfig.py.

◆ sequenceName

L1CaloFEXAlgosConfig.sequenceName

Definition at line 152 of file L1CaloFEXAlgosConfig.py.

◆ triggerConfig

L1CaloFEXAlgosConfig.triggerConfig

Definition at line 59 of file L1CaloFEXAlgosConfig.py.

◆ True

L1CaloFEXAlgosConfig.True

Definition at line 47 of file L1CaloFEXAlgosConfig.py.

◆ type

L1CaloFEXAlgosConfig.type

Definition at line 44 of file L1CaloFEXAlgosConfig.py.