15 OutputLevel=None):
16
17 cfg = ComponentAccumulator()
18
19 alg = CompFactory.GepCellsHandlerAlg(
20 name,
21 outputGepCellsKey=outputGepCellsKey,
22 GEPEnergyEncodingScheme = GEPEnergyEncodingScheme,
23 HardwareStyleEnergyEncoding = HardwareStyleEnergyEncoding,
24 TruncationOfOverflowingFEBs = TruncationOfOverflowingFEBs,
25 NoiseThreshold = NoiseThreshold,
26 WriteAllCells = WriteAllCells
27 )
28
29 if OutputLevel is not None:
30 alg.OutputLevel = OutputLevel
31
32 cfg.addEventAlgo(alg)
33 return cfg
34