ATLAS Offline Software
Functions | Variables
python.Lvl1SimulationConfig Namespace Reference

Functions

def Lvl1SimulationCfg (flags, seqName=None)
 this function sets up the top L1 simulation sequence More...
 

Variables

 flags
 
 Files
 
 MaxEvents
 
 NumThreads
 
 triggerMenuSetup
 
 GlobalTag
 
 doHLT
 
 acc
 
 withDetails
 
 True
 
 summariseProps
 
 printDefaults
 

Function Documentation

◆ Lvl1SimulationCfg()

def python.Lvl1SimulationConfig.Lvl1SimulationCfg (   flags,
  seqName = None 
)

this function sets up the top L1 simulation sequence

it covers the two cases of running L1 in the MC simulation and for rerunning on data

Definition at line 8 of file Lvl1SimulationConfig.py.

8 def Lvl1SimulationCfg(flags, seqName = None):
9  from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
10  from AthenaCommon.CFElements import parOR
11  if seqName:
12  acc = ComponentAccumulator(sequence=parOR(seqName))
13  else:
14  acc = ComponentAccumulator()
15 
16  from AthenaCommon.CFElements import seqAND
17  acc.addSequence(seqAND('L1SimSeq'))
18 
19  if flags.Trigger.enableL1CaloLegacy:
20  acc.addSequence(seqAND('L1CaloLegacySimSeq'), parentName='L1SimSeq')
21  from TrigT1CaloSim.TrigT1CaloSimRun2Config import L1CaloLegacySimCfg
22  acc.merge(L1CaloLegacySimCfg(flags), sequenceName='L1CaloLegacySimSeq')
23 
24  acc.addSequence(seqAND('L1CaloSimSeq'), parentName='L1SimSeq')
25 
26  if flags.Trigger.enableL1CaloPhase1:
27  from L1CaloFEXSim.L1CaloFEXSimCfg import L1CaloFEXSimCfg
28  acc.merge(L1CaloFEXSimCfg(flags), sequenceName = 'L1CaloSimSeq')
29 
30 
31  if flags.Trigger.enableL1MuonPhase1:
32  acc.addSequence(seqAND('L1MuonSimSeq'), parentName='L1SimSeq')
33  from TriggerJobOpts.Lvl1MuonSimulationConfig import Lvl1MuonSimulationCfg
34  acc.merge(Lvl1MuonSimulationCfg(flags), sequenceName='L1MuonSimSeq')
35 
36  if flags.Trigger.L1.doTopo:
37  acc.addSequence(seqAND('L1TopoSimSeq'), parentName='L1SimSeq')
38  from L1TopoSimulation.L1TopoSimulationConfig import L1TopoSimulationCfg
39  acc.merge(L1TopoSimulationCfg(flags), sequenceName='L1TopoSimSeq')
40 
41  if flags.Trigger.L1.doGlobal:
42  globalSimSeqName = 'L0GlobalSimSeq'
43  acc.addSequence(parOR(globalSimSeqName), parentName='L1SimSeq')
44  from GlobalSimulation.GlobalL1TopoSimulation import GlobalL1TopoSimulationCfg
45  acc.merge(GlobalL1TopoSimulationCfg(flags), sequenceName=globalSimSeqName)
46 
47  if flags.Trigger.doZDC:
48  acc.addSequence(seqAND('L1ZDCSimSeq'),parentName='L1SimSeq')
49  from TrigT1ZDC.TrigT1ZDCConfig import L1ZDCSimCfg
50  acc.merge(L1ZDCSimCfg(flags), sequenceName = 'L1ZDCSimSeq')
51 
52  if flags.Trigger.doTRT:
53  acc.addSequence(seqAND('L1TRTSimSeq'),parentName='L1SimSeq')
54  from TrigT1TRT.TrigT1TRTConfig import L1TRTSimCfg
55  acc.merge(L1TRTSimCfg(flags), sequenceName = 'L1TRTSimSeq')
56 
57 
58  acc.addSequence(seqAND('L1CTPSimSeq'), parentName='L1SimSeq')
59  from TrigT1CTP.CTPSimulationConfig import CTPSimulationCfg
60  acc.merge(CTPSimulationCfg(flags), sequenceName="L1CTPSimSeq")
61 
62 
63  return acc
64 

Variable Documentation

◆ acc

python.Lvl1SimulationConfig.acc

Definition at line 80 of file Lvl1SimulationConfig.py.

◆ doHLT

python.Lvl1SimulationConfig.doHLT

Definition at line 75 of file Lvl1SimulationConfig.py.

◆ Files

python.Lvl1SimulationConfig.Files

Definition at line 70 of file Lvl1SimulationConfig.py.

◆ flags

python.Lvl1SimulationConfig.flags

Definition at line 69 of file Lvl1SimulationConfig.py.

◆ GlobalTag

python.Lvl1SimulationConfig.GlobalTag

Definition at line 74 of file Lvl1SimulationConfig.py.

◆ MaxEvents

python.Lvl1SimulationConfig.MaxEvents

Definition at line 71 of file Lvl1SimulationConfig.py.

◆ NumThreads

python.Lvl1SimulationConfig.NumThreads

Definition at line 72 of file Lvl1SimulationConfig.py.

◆ printDefaults

python.Lvl1SimulationConfig.printDefaults

Definition at line 90 of file Lvl1SimulationConfig.py.

◆ summariseProps

python.Lvl1SimulationConfig.summariseProps

Definition at line 90 of file Lvl1SimulationConfig.py.

◆ triggerMenuSetup

python.Lvl1SimulationConfig.triggerMenuSetup

Definition at line 73 of file Lvl1SimulationConfig.py.

◆ True

python.Lvl1SimulationConfig.True

Definition at line 90 of file Lvl1SimulationConfig.py.

◆ withDetails

python.Lvl1SimulationConfig.withDetails

Definition at line 90 of file Lvl1SimulationConfig.py.

TrigT1ZDCConfig.L1ZDCSimCfg
def L1ZDCSimCfg(flags)
this function sets up the L1 simulation sequence with the ZDC it covers the case of rerunning the L1 ...
Definition: TrigT1ZDCConfig.py:6
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
L1TopoSimulationConfig.L1TopoSimulationCfg
def L1TopoSimulationCfg(flags, doMonitoring=True, readMuCTPI=False, name="L1TopoSimulation")
Definition: L1TopoSimulationConfig.py:46
python.Lvl1SimulationConfig.Lvl1SimulationCfg
def Lvl1SimulationCfg(flags, seqName=None)
this function sets up the top L1 simulation sequence
Definition: Lvl1SimulationConfig.py:8
python.CFElements.seqAND
def seqAND(name, subs=[])
Definition: CFElements.py:25
TrigT1CaloSimRun2Config.L1CaloLegacySimCfg
def L1CaloLegacySimCfg(flags)
Definition: TrigT1CaloSimRun2Config.py:74
python.JetAnalysisCommon.parOR
parOR
Definition: JetAnalysisCommon.py:271
TrigT1TRTConfig.L1TRTSimCfg
def L1TRTSimCfg(flags, name="TrigT1TRT")
Definition: TrigT1TRTConfig.py:7
python.Lvl1MuonSimulationConfig.Lvl1MuonSimulationCfg
def Lvl1MuonSimulationCfg(flags)
Definition: Lvl1MuonSimulationConfig.py:397
python.CTPSimulationConfig.CTPSimulationCfg
def CTPSimulationCfg(flags)
Definition: CTPSimulationConfig.py:6
L1CaloFEXSimCfg
Definition: L1CaloFEXSimCfg.py:1
GlobalL1TopoSimulation.GlobalL1TopoSimulationCfg
def GlobalL1TopoSimulationCfg(flags, algLogLevel=None)
Definition: GlobalL1TopoSimulation.py:18