ATLAS Offline Software
Loading...
Searching...
No Matches
Egamma1_LArStrip_Fex_RowAwareConfig Namespace Reference

Functions

 Egamma1_LArStrip_Fex_RowAwareCfg (flags, name='Egamma1_LArStrip_Fex_RowAware', **kwargs)

Variables

 logger = logging.getLogger(__name__)

Function Documentation

◆ Egamma1_LArStrip_Fex_RowAwareCfg()

Egamma1_LArStrip_Fex_RowAwareConfig.Egamma1_LArStrip_Fex_RowAwareCfg ( flags,
name = 'Egamma1_LArStrip_Fex_RowAware',
** kwargs )

Definition at line 11 of file Egamma1_LArStrip_Fex_RowAwareConfig.py.

14 **kwargs):
15
16 # NB. If you want to set properties on the caloCellProducer do something like:
17 # ..,caloCellProducer=CompFactory.GlobalSim.EMB1CellsFromCaloCells(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

Variable Documentation

◆ logger

Egamma1_LArStrip_Fex_RowAwareConfig.logger = logging.getLogger(__name__)

Definition at line 7 of file Egamma1_LArStrip_Fex_RowAwareConfig.py.