ATLAS Offline Software
Functions | Variables
FexEmulatedTowersConfig Namespace Reference

Functions

def gFexEmulatedTowersCfg (flags, name="L1_gFexEmulatedTowers", writeKey="L1_gFexEmulatedTowers")
 
def jFexEmulatedTowersCfg (flags, name="jFexEmulatedTowerMaker", writeKey="L1_jFexEmulatedTowers", SCin="", OfflineCaloCell="")
 
def eFexEmulatedTowersCfg (flags, name, writeKey="L1_eFexEmulatedTowers")
 
def addEDM (edmType, edmName)
 

Variables

 parser
 
 prog
 
 description
 
 type
 
 int
 
 default
 
 help
 
 nargs
 
 required
 
 choices
 
 True
 
 args
 
 log
 
 algLogLevel
 
 flags
 
 triggerConfig
 
 OutputLevel
 
 MaxEvents
 
 Files
 
 NumThreads
 
 NumConcurrentEvents
 
 AtlasVersion
 
 s
 
 AODFileName
 
 EDMVersion
 
 doLVL1
 
 enableL1CaloPhase1
 
 acc
 
 decoderTools
 
 outputEDM
 
 maybeMissingRobs
 
 inputjFexTool
 
 inputeFexTool
 
 TOBs
 
 False
 
 xTOBs
 
 decodeInputs
 
 decoderAlg
 
 name
 
 DecoderTools
 
 MaybeMissingROBs
 
 sequenceName
 
 ItemList
 
 PropagateInput
 

Function Documentation

◆ addEDM()

def FexEmulatedTowersConfig.addEDM (   edmType,
  edmName 
)

Definition at line 130 of file FexEmulatedTowersConfig.py.

130  def addEDM(edmType, edmName):
131  auxType = edmType.replace('Container','AuxContainer')
132  return [f'{edmType}#{edmName}',
133  f'{auxType}#{edmName}Aux.']
134 
135 

◆ eFexEmulatedTowersCfg()

def FexEmulatedTowersConfig.eFexEmulatedTowersCfg (   flags,
  name,
  writeKey = "L1_eFexEmulatedTowers" 
)
Config for emulating eFex input data from LATOME readout

Definition at line 46 of file FexEmulatedTowersConfig.py.

46 def eFexEmulatedTowersCfg(flags, name, writeKey = "L1_eFexEmulatedTowers"):
47  """
48  Config for emulating eFex input data from LATOME readout
49  """
51 
52  emulator = CompFactory.LVL1.eFexTowerBuilder(name,ApplyMasking=not flags.Input.isMC)
53  emulator.eFexContainerWriteKey = writeKey
54  acc.addEventAlgo(emulator)
55 
56  return acc
57 
58 

◆ gFexEmulatedTowersCfg()

def FexEmulatedTowersConfig.gFexEmulatedTowersCfg (   flags,
  name = "L1_gFexEmulatedTowers",
  writeKey = "L1_gFexEmulatedTowers" 
)
Config for emulating gFex input data from LATOME readout

Definition at line 9 of file FexEmulatedTowersConfig.py.

9 def gFexEmulatedTowersCfg(flags, name="L1_gFexEmulatedTowers", writeKey="L1_gFexEmulatedTowers"):
10  """
11  Config for emulating gFex input data from LATOME readout
12  """
14 
15  acc.addEventAlgo( CompFactory.LVL1.gFexTowerBuilder(name=name,
16  SCell=flags.Trigger.L1.L1CaloSuperCellContainerName,
17  gTowersWriteKey = writeKey,
18  isDATA = not flags.Input.isMC,
19  gFEX2SCmapping = "Run3L1CaloSimulation/L1CaloFEXAlgos/gFEX/gCaloTowers_to_scells_v1.txt",
20  gFEX2Tilemapping = "Run3L1CaloSimulation/L1CaloFEXAlgos/gFEX/gCaloTowers_to_tile_v1.txt",
21  gFexFiberTowerMapping = "Run3L1CaloSimulation/L1CaloFEXAlgos/gFEX/gFex_gCaloTowerMap_weighted_v1.txt") )
22  return acc
23 

◆ jFexEmulatedTowersCfg()

def FexEmulatedTowersConfig.jFexEmulatedTowersCfg (   flags,
  name = "jFexEmulatedTowerMaker",
  writeKey = "L1_jFexEmulatedTowers",
  SCin = "",
  OfflineCaloCell = "" 
)
Config for emulating jFex input data from LATOME readout
Supply SCin to build from non-standard SCell container
Supply OfflineCaloCell e.g. AllCalo to add offline cell energy decoration

Definition at line 24 of file FexEmulatedTowersConfig.py.

24 def jFexEmulatedTowersCfg(flags, name="jFexEmulatedTowerMaker", writeKey="L1_jFexEmulatedTowers", SCin="", OfflineCaloCell=""):
25  """
26  Config for emulating jFex input data from LATOME readout
27  Supply SCin to build from non-standard SCell container
28  Supply OfflineCaloCell e.g. AllCalo to add offline cell energy decoration
29  """
31 
32  emulator = CompFactory.LVL1.jFexEmulatedTowers(name)
33  emulator.SCell = flags.Trigger.L1.L1CaloSuperCellContainerName if not SCin else SCin
34  emulator.jTowersWriteKey = writeKey
35  emulator.isDATA = not flags.Input.isMC
36  # only set the necessary containers, tools, decorations for non empty OfflineCaloCell
37  emulator.CaloCell = OfflineCaloCell
38  emulator.CaloSuperCellIDTool = "CaloSuperCellIDTool" if OfflineCaloCell else ""
39  emulator.TileOfflineETKey = "CaloCellETByLayer" if (OfflineCaloCell and not flags.Input.isMC) else ""
40  emulator.CaloCellSumEtdecorKey = "CaloCellSumEt" if OfflineCaloCell else ""
41 
42  acc.addEventAlgo(emulator)
43 
44  return acc
45 

Variable Documentation

◆ acc

FexEmulatedTowersConfig.acc

Definition at line 115 of file FexEmulatedTowersConfig.py.

◆ algLogLevel

FexEmulatedTowersConfig.algLogLevel

Definition at line 80 of file FexEmulatedTowersConfig.py.

◆ AODFileName

FexEmulatedTowersConfig.AODFileName

Definition at line 98 of file FexEmulatedTowersConfig.py.

◆ args

FexEmulatedTowersConfig.args

Definition at line 73 of file FexEmulatedTowersConfig.py.

◆ AtlasVersion

FexEmulatedTowersConfig.AtlasVersion

Definition at line 94 of file FexEmulatedTowersConfig.py.

◆ choices

FexEmulatedTowersConfig.choices

Definition at line 71 of file FexEmulatedTowersConfig.py.

◆ decodeInputs

FexEmulatedTowersConfig.decodeInputs

Definition at line 175 of file FexEmulatedTowersConfig.py.

◆ decoderAlg

FexEmulatedTowersConfig.decoderAlg

Definition at line 184 of file FexEmulatedTowersConfig.py.

◆ decoderTools

FexEmulatedTowersConfig.decoderTools

Definition at line 126 of file FexEmulatedTowersConfig.py.

◆ DecoderTools

FexEmulatedTowersConfig.DecoderTools

Definition at line 185 of file FexEmulatedTowersConfig.py.

◆ default

FexEmulatedTowersConfig.default

Definition at line 69 of file FexEmulatedTowersConfig.py.

◆ description

FexEmulatedTowersConfig.description

Definition at line 67 of file FexEmulatedTowersConfig.py.

◆ doLVL1

FexEmulatedTowersConfig.doLVL1

Definition at line 103 of file FexEmulatedTowersConfig.py.

◆ EDMVersion

FexEmulatedTowersConfig.EDMVersion

Definition at line 102 of file FexEmulatedTowersConfig.py.

◆ enableL1CaloPhase1

FexEmulatedTowersConfig.enableL1CaloPhase1

Definition at line 104 of file FexEmulatedTowersConfig.py.

◆ False

FexEmulatedTowersConfig.False

Definition at line 175 of file FexEmulatedTowersConfig.py.

◆ Files

FexEmulatedTowersConfig.Files

Definition at line 88 of file FexEmulatedTowersConfig.py.

◆ flags

FexEmulatedTowersConfig.flags

Definition at line 82 of file FexEmulatedTowersConfig.py.

◆ help

FexEmulatedTowersConfig.help

Definition at line 69 of file FexEmulatedTowersConfig.py.

◆ inputeFexTool

FexEmulatedTowersConfig.inputeFexTool

Definition at line 174 of file FexEmulatedTowersConfig.py.

◆ inputjFexTool

FexEmulatedTowersConfig.inputjFexTool

Definition at line 157 of file FexEmulatedTowersConfig.py.

◆ int

FexEmulatedTowersConfig.int

Definition at line 69 of file FexEmulatedTowersConfig.py.

◆ ItemList

FexEmulatedTowersConfig.ItemList

Definition at line 194 of file FexEmulatedTowersConfig.py.

◆ log

FexEmulatedTowersConfig.log

Definition at line 76 of file FexEmulatedTowersConfig.py.

◆ MaxEvents

FexEmulatedTowersConfig.MaxEvents

Definition at line 87 of file FexEmulatedTowersConfig.py.

◆ maybeMissingRobs

FexEmulatedTowersConfig.maybeMissingRobs

Definition at line 128 of file FexEmulatedTowersConfig.py.

◆ MaybeMissingROBs

FexEmulatedTowersConfig.MaybeMissingROBs

Definition at line 186 of file FexEmulatedTowersConfig.py.

◆ name

FexEmulatedTowersConfig.name

Definition at line 184 of file FexEmulatedTowersConfig.py.

◆ nargs

FexEmulatedTowersConfig.nargs

Definition at line 70 of file FexEmulatedTowersConfig.py.

◆ NumConcurrentEvents

FexEmulatedTowersConfig.NumConcurrentEvents

Definition at line 90 of file FexEmulatedTowersConfig.py.

◆ NumThreads

FexEmulatedTowersConfig.NumThreads

Definition at line 89 of file FexEmulatedTowersConfig.py.

◆ outputEDM

FexEmulatedTowersConfig.outputEDM

Definition at line 127 of file FexEmulatedTowersConfig.py.

◆ OutputLevel

FexEmulatedTowersConfig.OutputLevel

Definition at line 86 of file FexEmulatedTowersConfig.py.

◆ parser

FexEmulatedTowersConfig.parser

Definition at line 66 of file FexEmulatedTowersConfig.py.

◆ prog

FexEmulatedTowersConfig.prog

Definition at line 66 of file FexEmulatedTowersConfig.py.

◆ PropagateInput

FexEmulatedTowersConfig.PropagateInput

Definition at line 196 of file FexEmulatedTowersConfig.py.

◆ required

FexEmulatedTowersConfig.required

Definition at line 70 of file FexEmulatedTowersConfig.py.

◆ s

FexEmulatedTowersConfig.s

Definition at line 97 of file FexEmulatedTowersConfig.py.

◆ sequenceName

FexEmulatedTowersConfig.sequenceName

Definition at line 188 of file FexEmulatedTowersConfig.py.

◆ TOBs

FexEmulatedTowersConfig.TOBs

Definition at line 175 of file FexEmulatedTowersConfig.py.

◆ triggerConfig

FexEmulatedTowersConfig.triggerConfig

Definition at line 84 of file FexEmulatedTowersConfig.py.

◆ True

FexEmulatedTowersConfig.True

Definition at line 71 of file FexEmulatedTowersConfig.py.

◆ type

FexEmulatedTowersConfig.type

Definition at line 69 of file FexEmulatedTowersConfig.py.

◆ xTOBs

FexEmulatedTowersConfig.xTOBs

Definition at line 175 of file FexEmulatedTowersConfig.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:342
FexEmulatedTowersConfig.eFexEmulatedTowersCfg
def eFexEmulatedTowersCfg(flags, name, writeKey="L1_eFexEmulatedTowers")
Definition: FexEmulatedTowersConfig.py:46
FexEmulatedTowersConfig.jFexEmulatedTowersCfg
def jFexEmulatedTowersCfg(flags, name="jFexEmulatedTowerMaker", writeKey="L1_jFexEmulatedTowers", SCin="", OfflineCaloCell="")
Definition: FexEmulatedTowersConfig.py:24
FexEmulatedTowersConfig.addEDM
def addEDM(edmType, edmName)
Definition: FexEmulatedTowersConfig.py:130
FexEmulatedTowersConfig.gFexEmulatedTowersCfg
def gFexEmulatedTowersCfg(flags, name="L1_gFexEmulatedTowers", writeKey="L1_gFexEmulatedTowers")
Definition: FexEmulatedTowersConfig.py:9