ATLAS Offline Software
Functions
python.CaloTowerMakerConfig Namespace Reference

Functions

def CaloTowerMakerCfg (flags)
 

Function Documentation

◆ CaloTowerMakerCfg()

def python.CaloTowerMakerConfig.CaloTowerMakerCfg (   flags)
specifies CaloCell-> CaloTower for all calorimeters  
    @warning this is not standalone fragment, it needs calo cells (or entire calo reco to be prepared)


Definition at line 7 of file CaloTowerMakerConfig.py.

7 def CaloTowerMakerCfg(flags):
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)
10  """
11  acc = ComponentAccumulator()
12 
13  lar = CompFactory.LArTowerBuilderTool(IncludedCalos= [ "LAREM","LARHEC" ])
14  fcal = CompFactory.LArFCalTowerBuilderTool(MinimumEt = 0 * Units.MeV)
15 
16  tile = CompFactory.TileTowerBuilderTool(CellContainerName = 'AllCalo',
17  IncludedCalos = ['TILE'])
18 
19  builder = CompFactory.CaloTowerAlgorithm("CaloCombinedTowerBuilder",
20  TowerBuilderTools = [lar, fcal, tile],
21  NumberOfPhiTowers=64,
22  NumberOfEtaTowers=100,
23  EtaMin=-5.0,
24  EtaMax=5.0,
25  TowerContainerName = "CombinedTower" )
26 
27  acc.addEventAlgo(builder, primary=True)
28 
29  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.CaloTowerMakerConfig.CaloTowerMakerCfg
def CaloTowerMakerCfg(flags)
Definition: CaloTowerMakerConfig.py:7