ATLAS Offline Software
Loading...
Searching...
No Matches
GepClusterTimingAlgConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentFactory import CompFactory
4from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5
6
8 cfg = ComponentAccumulator()
9 cfg.setPrivateTools(CompFactory.CaloCellsHandlerTool())
10 return cfg
11
12
14 name='GepClusterTimingAlg',
15 inCaloClustersKey='CaloTopoClusters',
16 outCaloClustersKey='Clusters420Timing',
17 lambdaCalDivide=317,
18 qualityCut=0.02,
19 timeCutLargeQ=5,
20 timeCutSmallQ=15,
21 maxEtaForCut=5.0,
22 OutputLevel=None):
23
24 cfg = ComponentAccumulator()
25
26 alg = CompFactory.GepClusterTimingAlg(
27 name=name,
28 inCaloClustersKey=inCaloClustersKey,
29 outCaloClustersKey=outCaloClustersKey,
30 lambdaCalDivide=lambdaCalDivide,
31 qualityCut=qualityCut,
32 timeCutLargeQ=timeCutLargeQ,
33 timeCutSmallQ=timeCutSmallQ,
34 maxEtaForCut=maxEtaForCut
35 )
36
37 if OutputLevel is not None:
38 alg.OutputLevel = OutputLevel
39
40 cfg.addEventAlgo(alg)
41 return cfg
42
43
GepClusterTimingAlgCfg(flags, name='GepClusterTimingAlg', inCaloClustersKey='CaloTopoClusters', outCaloClustersKey='Clusters420Timing', lambdaCalDivide=317, qualityCut=0.02, timeCutLargeQ=5, timeCutSmallQ=15, maxEtaForCut=5.0, OutputLevel=None)