8 name='LArCellPreparationAlg',
11 cfg = ComponentAccumulator()
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)
19 if alg.caloCells ==
"SeedLessFS":
21 from TrigCaloRec.TrigCaloRecConfig
import hltCaloCellSeedlessMakerCfg
22 cfg.merge(hltCaloCellSeedlessMakerCfg(flags, roisKey=
''))