TBCluster.etaCluster = 2.79 TBCluster.phiCluster = 2.49 if not doSimpleNoiseTool: TBCluster.noiseToolName = theCaloNoiseTool.getFullName() else: TBCluster.noiseToolName = SimpleNoiseTool.getFullName() from CaloRec.CaloRecConf import CaloClusterMomentsMaker Moments = CaloClusterMomentsMaker("Moments") Moments.MaxAxisAngle = 30 * deg Moments.MomentsNames = [ "FIRST_PHI", "FIRST_ETA", "SECOND_R", "SECOND_LAMBDA", "DELTA_PHI", "DELTA_THETA", "DELTA_ALPHA", "CENTER_X", "CENTER_Y", "CENTER_Z", "CENTER_LAMBDA", "LATERAL", "LONGITUDINAL" ] ClusterMaker.ClusterMakerTools = [TBCluster.getFullName()] ClusterMaker.ClusterCorrectionTools = [Moments.getFullName()] ClusterMaker += TBCluster ClusterMaker += Moments topSequence += ClusterMaker if doMakeElecCluster: EMClusterMaker = CaloClusterMaker("EMClusterMaker") EMClusterMaker.ClustersOutputName = "EMTBClusters" from TBRec.TBRecConf import TBClusterMaker EMTBCluster = TBClusterMaker("EMTBCluster") EMTBCluster.samplingNames = H6Samplings EMTBCluster.coneCuts = [0.10, 0.10, 0.00, 0.00, 0.00, 0.10, 0.00, 0.00] EMTBCluster.seedCut = 4.0 EMTBCluster.cellCut = -999. EMTBCluster.deltaR = 0.02 EMTBCluster.maxIterations = 4
TopoMomentsForTaus.MaxAxisAngle = 30 * deg TopoMomentsForTaus.MomentsNames = [ "FIRST_PHI", "FIRST_ETA", "SECOND_R", "SECOND_LAMBDA", "DELTA_PHI", "DELTA_THETA", "DELTA_ALPHA", "CENTER_X", "CENTER_Y", "CENTER_Z", "CENTER_LAMBDA", "LATERAL", "LONGITUDINAL", "FIRST_ENG_DENS", "ENG_FRAC_EM", "ENG_FRAC_MAX", "ENG_FRAC_CORE", "FIRST_ENG_DENS", "SECOND_ENG_DENS" ] CaloTopoForTausMaker = CaloClusterMaker("CaloTopoForTausMaker") CaloTopoForTausMaker.ClustersOutputName = "EMTopoForTaus" CaloTopoForTausMaker.ClusterMakerTools = [ TopoClusterForTaus.getFullName(), TopoSplitterForTaus.getFullName() ] CaloTopoForTausMaker.ClusterCorrectionTools = [ TopoMomentsForTaus.getFullName() ] CaloTopoForTausMaker += TopoClusterForTaus CaloTopoForTausMaker += TopoSplitterForTaus CaloTopoForTausMaker += TopoMomentsForTaus CaloCell2TopoClusterForTausMapper = CaloCell2ClusterMapper( "CaloCell2TopoClusterForTausMapper") CaloCell2TopoClusterForTausMapper.ClustersName = "EMTopoForTaus" CaloCell2TopoClusterForTausMapper.MapOutputName = "CaloCell2TopoClusterForTaus" topSequence += CaloTopoForTausMaker topSequence += CaloCell2TopoClusterForTausMapper
# the following options are not set, since these are the default # values # # NeighborOption = "super3D", # NumberOfCellsCut = 4, # EnergyCut = 500*MeV, # cluster maker TileTopoCluster = CaloClusterMaker("TileTopoCluster") TileTopoCluster.ClustersOutputName = "TileTopoCluster" TileTopoCluster.ClusterMakerTools = [ TileTopoMaker.getFullName(), TileTopoSplitter.getFullName() ] TileTopoCluster.ClusterCorrectionTools = [TileTopoMoments.getFullName()] TileTopoCluster += TileTopoMaker TileTopoCluster += TileTopoSplitter TileTopoCluster += TileTopoMoments if Rel17Style: if jobproperties.CaloTopoClusterFlags.lockTopoClusterSamplingEnergies( ) or jobproperties.CaloTopoClusterFlags.lockTopoClusterSamplingVariables(): TileTopoCluster.ClusterCorrectionTools += [LockVariables.getFullName()] TileTopoCluster += LockVariables if jobproperties.CaloTopoClusterFlags.doTopoClusterLocalCalib(): TileTopoCluster.ClusterCorrectionTools += [ LocalCalib.getFullName(), OOCCalib.getFullName(),