ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
PFlow
PFlowUtils
python
PFlowCalibHitDecoratorCfg.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
4
from
AthenaConfiguration.ComponentFactory
import
CompFactory
5
6
def
PFlowCalibHitDecoratorCfg
(flags):
7
result=ComponentAccumulator()
8
9
if
flags.Calo.TopoCluster.addCalibrationHitDecoration
is
False
:
10
from
CaloCalibHitRec.CaloCalibHitDecoratorCfg
import
CaloCalibHitDecoratorCfg
11
result.merge(
CaloCalibHitDecoratorCfg
(flags))
12
13
#We use the cell links from topoclusters, so we also need to specify that the algorithm depends on the calorimeter cell container
14
PFlowCalibPFODecoratorAlgorithm = CompFactory.PFlowCalibPFODecoratorAlgorithm(ExtraInputs = {(
'CaloCellContainer'
,
'StoreGateSvc+AllCalo'
)})
15
PFlowCalibPFODecoratorAlgorithm.TruthAttributerTool = CompFactory.CaloCalibClusterTruthAttributerTool(
"PFlowCalibPFOTruthAttributerTool"
)
16
result.addEventAlgo(PFlowCalibPFODecoratorAlgorithm)
17
18
return
result
CaloCalibHitDecoratorCfg
Definition
CaloCalibHitDecoratorCfg.py:1
PFlowCalibHitDecoratorCfg
Definition
PFlowCalibHitDecoratorCfg.py:1
Generated on
for ATLAS Offline Software by
1.17.0