ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Global
GlobalSimulation
python
GlobalSimulationConfig.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
4
from
GlobalSimulation.GlobalSimAlgCfg_local
import
GlobalSimulationAlgCfg
5
from
GlobalSimulation.LArCellPreparationAlgConfig
import
LArCellPreparationAlgCfg
6
from
GlobalSimulation.Egamma1_OnlineMapNbhoodConfig
import
Egamma1_OnlineMapNbhoodCfg
7
from
PathResolver
import
PathResolver
8
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
9
from
TriggerJobOpts.TriggerHistSvcConfig
import
TriggerHistSvcConfig
10
11
def
GlobalSimulationCfg
(flags, algLogLevel=None):
12
13
cfg = ComponentAccumulator()
14
15
if
algLogLevel
is
None
:
16
algLogLevel = flags.Exec.OutputLevel
17
18
cfg.merge(LArCellPreparationAlgCfg(
19
flags,
20
numberOfEnergyBits=6,
21
valueLeastSignificantBit=40,
22
valueGainFactor=4,
23
GlobalLArCellsKey=
"GlobalLArCells"
,
24
CaloCellsKey=
"SeedLessFS"
,
25
OutputLevel=algLogLevel
26
))
27
28
cfg.merge(Egamma1_OnlineMapNbhoodCfg(flags, OutputLevel=algLogLevel))
29
30
cfg_fn =
PathResolver.FindCalibFile
(
"GlobalSimulation/globalSim_AllChainsCfg.xml"
)
31
cfg.merge(GlobalSimulationAlgCfg(flags, fn=cfg_fn, dump=
False
, OutputLevel=algLogLevel))
32
33
cfg.merge(TriggerHistSvcConfig(flags))
34
35
return
cfg
PathResolver::FindCalibFile
static std::string FindCalibFile(const std::string &logical_file_name)
Definition
PathResolver.h:63
GlobalSimulationConfig.GlobalSimulationCfg
GlobalSimulationCfg(flags, algLogLevel=None)
Definition
GlobalSimulationConfig.py:11
Generated on
for ATLAS Offline Software by
1.17.0