ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
TrigGepPerf
python
GepClusterTimingAlgConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaConfiguration.ComponentFactory
import
CompFactory
4
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
5
6
7
def
CaloCellsHandlerToolCfg
(flags):
8
cfg = ComponentAccumulator()
9
cfg.setPrivateTools(CompFactory.CaloCellsHandlerTool())
10
return
cfg
11
12
13
def
GepClusterTimingAlgCfg
(flags,
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
GepClusterTimingAlgConfig.GepClusterTimingAlgCfg
GepClusterTimingAlgCfg(flags, name='GepClusterTimingAlg', inCaloClustersKey='CaloTopoClusters', outCaloClustersKey='Clusters420Timing', lambdaCalDivide=317, qualityCut=0.02, timeCutLargeQ=5, timeCutSmallQ=15, maxEtaForCut=5.0, OutputLevel=None)
Definition
GepClusterTimingAlgConfig.py:22
GepClusterTimingAlgConfig.CaloCellsHandlerToolCfg
CaloCellsHandlerToolCfg(flags)
Definition
GepClusterTimingAlgConfig.py:7
Generated on
for ATLAS Offline Software by
1.17.0