15 kwargs.setdefault(
'name',
'TileTopoClusterAlg')
16 kwargs.setdefault(
'ClustersOutputName',
'TileTopoCluster')
18 from TileGeoModel.TileGMConfig
import TileGMCfg
21 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
24 from CaloTools.CaloNoiseCondAlgConfig
import CaloNoiseCondAlgCfg
29 from AthenaConfiguration.ComponentFactory
import CompFactory
30 topoClusterMaker = CompFactory.CaloTopoClusterMaker()
31 topoClusterMaker.CellsName =
'AllCalo'
32 topoClusterMaker.CalorimeterNames = [
'TILE']
35 topoClusterMaker.SeedSamplingNames = [
'TileBar0',
'TileBar1',
'TileBar2',
36 'TileExt0',
'TileExt1',
'TileExt2',
37 'TileGap1',
'TileGap2',
'TileGap3']
39 topoClusterMaker.NeighborOption =
'super3D'
40 topoClusterMaker.RestrictHECIWandFCalNeighbors =
False
41 topoClusterMaker.CellThresholdOnEorAbsEinSigma = 0.0
42 topoClusterMaker.NeighborThresholdOnEorAbsEinSigma = 2.0
43 topoClusterMaker.SeedThresholdOnEorAbsEinSigma = 4.0
45 topoClusterMaker.SeedCutsInAbsE =
True
46 topoClusterMaker.ClusterCutsInAbsEt =
True
47 topoClusterMaker.ClusterEtorAbsEtCut = 0.0 * MeV
48 topoClusterMaker.TwoGaussianNoise = flags.Calo.TopoCluster.doTwoGaussianNoise
50 kwargs[
'ClusterMakerTools'] = [topoClusterMaker]
53 topoClusterSpliter = CompFactory.CaloTopoClusterSplitter()
54 topoClusterSpliter.SamplingNames = [
'TileBar0',
'TileBar1',
'TileBar2',
55 'TileExt0',
'TileExt1',
'TileExt2' ,
56 'TileGap1',
'TileGap2',
'TileGap3']
58 topoClusterSpliter.ShareBorderCells =
True
59 topoClusterSpliter.RestrictHECIWandFCalNeighbors =
False
61 kwargs[
'ClusterMakerTools'] += [topoClusterSpliter]
64 clsuterMomentsMaker = CompFactory.CaloClusterMomentsMaker()
65 clsuterMomentsMaker.MaxAxisAngle = 30 * deg
66 clsuterMomentsMaker.MomentsNames = [
'FIRST_PHI'
102 kwargs[
'ClusterCorrectionTools'] = [clsuterMomentsMaker]
104 acc.addEventAlgo(CompFactory.CaloClusterMaker(**kwargs), primary =
True)