3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
5 from AthenaCommon
import SystemOfUnits
as Units
8 """ specifies CaloCell-> CaloTower for all calorimeters
9 @warning this is not standalone fragment, it needs calo cells (or entire calo reco to be prepared)
13 lar = CompFactory.LArTowerBuilderTool(IncludedCalos= [
"LAREM",
"LARHEC" ])
14 fcal = CompFactory.LArFCalTowerBuilderTool(MinimumEt = 0 * Units.MeV)
16 tile = CompFactory.TileTowerBuilderTool(CellContainerName =
'AllCalo',
17 IncludedCalos = [
'TILE'])
19 builder = CompFactory.CaloTowerAlgorithm(
"CaloCombinedTowerBuilder",
20 TowerBuilderTools = [lar, fcal, tile],
22 NumberOfEtaTowers=100,
25 TowerContainerName =
"CombinedTower" )
27 acc.addEventAlgo(builder, primary=
True)