ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
Global
GlobalSimulation
python
Egamma1_LArStrip_Fex_RowAwareConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaConfiguration.ComponentFactory
import
CompFactory
4
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
5
6
from
AthenaCommon.Logging
import
logging
7
logger = logging.getLogger(__name__)
8
from
AthenaCommon.Constants
import
DEBUG
9
logger.setLevel(DEBUG)
10
11
def
Egamma1_LArStrip_Fex_RowAwareCfg
(
12
flags,
13
name='Egamma1_LArStrip_Fex_RowAware',
14
**kwargs):
15
16
# NB. If you want to set properties on the caloCellProducer do something like:
17
# ..,caloCellProducer=CompFactory.GlobalSim.EMBE1CellsFromCaloCells(makeCaloCellContainerChecks=True),..
18
19
20
cfg = ComponentAccumulator()
21
22
# this alg needs totalNoise conditions ... configure the condalg for that:
23
from
CaloTools.CaloNoiseCondAlgConfig
import
CaloNoiseCondAlgCfg
24
cfg.merge(CaloNoiseCondAlgCfg(flags,
"totalNoise"
))
25
26
alg = CompFactory.GlobalSim.Egamma1_LArStrip_Fex_RowAware(name,**kwargs)
27
28
if
flags.Input.isMC:
29
alg.caloCellProducer.caloCells =
"AllCalo"
30
else
:
31
alg.caloCellProducer.caloCells =
"SeedLessFS"
32
# ensure we are producing this cell collection ...
33
from
TrigCaloRec.TrigCaloRecConfig
import
hltCaloCellSeedlessMakerCfg
34
cfg.merge(hltCaloCellSeedlessMakerCfg(flags, roisKey=
''
))
35
36
37
cfg.addEventAlgo(alg)
38
39
return
cfg
40
Constants
Egamma1_LArStrip_Fex_RowAwareConfig.Egamma1_LArStrip_Fex_RowAwareCfg
Egamma1_LArStrip_Fex_RowAwareCfg(flags, name='Egamma1_LArStrip_Fex_RowAware', **kwargs)
Definition
Egamma1_LArStrip_Fex_RowAwareConfig.py:14
Generated on
for ATLAS Offline Software by
1.17.0