8 outputGepCellsKey='GepCells',
9 GEPEnergyEncodingScheme = "6-40-4",
10 HardwareStyleEnergyEncoding = True,
11 TruncationOfOverflowingFEBs = True,
13 WriteAllCells = False,
14 CleanOutputCells = False,
17 cfg = ComponentAccumulator()
19 alg = CompFactory.GepCellsHandlerAlg(
21 outputGepCellsKey=outputGepCellsKey,
22 GEPEnergyEncodingScheme = GEPEnergyEncodingScheme,
23 HardwareStyleEnergyEncoding = HardwareStyleEnergyEncoding,
24 TruncationOfOverflowingFEBs = TruncationOfOverflowingFEBs,
25 NoiseThreshold = NoiseThreshold,
26 WriteAllCells = WriteAllCells
29 if OutputLevel
is not None:
30 alg.OutputLevel = OutputLevel
GepCellsHandlerAlgCfg(flags, name='GepCellsHandlerAlg', outputGepCellsKey='GepCells', GEPEnergyEncodingScheme="6-40-4", HardwareStyleEnergyEncoding=True, TruncationOfOverflowingFEBs=True, NoiseThreshold=2., WriteAllCells=False, CleanOutputCells=False, OutputLevel=None)