ATLAS Offline Software
Loading...
Searching...
No Matches
GepCellsHandlerAlgConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentFactory import CompFactory
4from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5
6
7def GepCellsHandlerAlgCfg(flags, name='GepCellsHandlerAlg',
8 outputGepCellsKey='GepCells',
9 GEPEnergyEncodingScheme = "6-40-4",
10 HardwareStyleEnergyEncoding = True,
11 TruncationOfOverflowingFEBs = True,
12 WriteAllCells = False,
13 CleanOutputCells = False,
14 OutputLevel=None):
15
16 cfg = ComponentAccumulator()
17
18 alg = CompFactory.GepCellsHandlerAlg(
19 name,
20 outputGepCellsKey=outputGepCellsKey,
21 GEPEnergyEncodingScheme = GEPEnergyEncodingScheme,
22 HardwareStyleEnergyEncoding = HardwareStyleEnergyEncoding,
23 TruncationOfOverflowingFEBs = TruncationOfOverflowingFEBs,
24 WriteAllCells = WriteAllCells
25 )
26
27 if OutputLevel is not None:
28 alg.OutputLevel = OutputLevel
29
30 cfg.addEventAlgo(alg)
31 return cfg
32
GepCellsHandlerAlgCfg(flags, name='GepCellsHandlerAlg', outputGepCellsKey='GepCells', GEPEnergyEncodingScheme="6-40-4", HardwareStyleEnergyEncoding=True, TruncationOfOverflowingFEBs=True, WriteAllCells=False, CleanOutputCells=False, OutputLevel=None)