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