Exemple #1
0
TileTopoSplitter.RestrictHECIWandFCalNeighbors = False
#
# 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 += [
Exemple #2
0
TopoMomentsForTaus = CaloClusterMomentsMaker("TopoMomentsForTaus")
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
HadTopoSplitter.RestrictHECIWandFCalNeighbors = False
#
# the following options are not set, since these are the default
# values
#
# NeighborOption                = "super3D",
# NumberOfCellsCut              = 4,
# EnergyCut                     = 500*MeV,

# cluster maker
HadTopoCluster = CaloClusterMaker("HadTopoCluster")

HadTopoCluster.ClustersOutputName = "HadTopoCluster"
HadTopoCluster.ClusterMakerTools = [
    HadTopoMaker.getFullName(),
    HadTopoSplitter.getFullName()
]
HadTopoCluster.ClusterCorrectionTools = [HadTopoMoments.getFullName()]

HadTopoCluster += HadTopoMaker
HadTopoCluster += HadTopoSplitter
HadTopoCluster += HadTopoMoments

if jobproperties.CaloTopoClusterFlags.lockTopoClusterSamplingEnergies(
) or jobproperties.CaloTopoClusterFlags.lockTopoClusterSamplingVariables():
    HadTopoCluster.ClusterCorrectionTools += [LockVariables.getFullName()]
    HadTopoCluster += LockVariables

if jobproperties.CaloTopoClusterFlags.doTopoClusterLocalCalib():
    HadTopoCluster.ClusterCorrectionTools += [
        LocalCalib.getFullName(),