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

Functions

 LArCellPreparationAlgCfg (flags, name='LArCellPreparationAlg', **kwargs)

Function Documentation

◆ LArCellPreparationAlgCfg()

LArCellPreparationAlgConfig.LArCellPreparationAlgCfg ( flags,
name = 'LArCellPreparationAlg',
** kwargs )

Definition at line 6 of file LArCellPreparationAlgConfig.py.

9 **kwargs):
10
11 cfg = ComponentAccumulator()
12
13 # this alg needs totalNoise conditions ... configure the condalg for that:
14 from CaloTools.CaloNoiseCondAlgConfig import CaloNoiseCondAlgCfg
15 cfg.merge(CaloNoiseCondAlgCfg(flags,"totalNoise"))
16 kwargs.setdefault("caloCells", "AllCalo" if flags.Input.isMC else "SeedLessFS")
17 alg = CompFactory.GlobalSim.LArCellPreparationAlg(name,**kwargs)
18
19 if alg.caloCells == "SeedLessFS":
20 # ensure we are producing this cell collection ...
21 from TrigCaloRec.TrigCaloRecConfig import hltCaloCellSeedlessMakerCfg
22 cfg.merge(hltCaloCellSeedlessMakerCfg(flags, roisKey=''))
23
24 cfg.addEventAlgo(alg)
25
26 return cfg