ATLAS Offline Software
Loading...
Searching...
No Matches
Egamma1_OnlineMapNbhoodConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentFactory import CompFactory
4from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5
6from AthenaCommon.Logging import logging
7logger = logging.getLogger(__name__)
8from AthenaCommon.Constants import DEBUG
9logger.setLevel(DEBUG)
10
12 flags,
13 name='Egamma1_OnlineMapNbhood',
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 cfg = ComponentAccumulator()
20
21 alg = CompFactory.GlobalSim.Egamma1_OnlineMapNbhood(name,**kwargs)
22
23
24 alg.roiAlgTool.etMin = 5000.
25 alg.roiAlgTool.etaMin = 0.0
26 alg.roiAlgTool.etaMax = 5.0
27
28 cfg.addEventAlgo(alg)
29
30 return cfg
31
Egamma1_OnlineMapNbhoodCfg(flags, name='Egamma1_OnlineMapNbhood', **kwargs)