import FWCore.ParameterSet.Config as cms

# First register all the clustering algorithms, then specify preferred ones at end.

# Clustering algorithm a
TTClusterAlgorithm_a_PixelDigi_ = cms.ESProducer("TTClusterAlgorithm_a_PixelDigi_")

# Broadside clustering algorithm
# Set WidthCut=0 to eliminate the width cut.
TTClusterAlgorithm_broadside_PixelDigi_ = cms.ESProducer("TTClusterAlgorithm_broadside_PixelDigi_",
    WidthCut = cms.int32(4)
)

# 2d clustering algorithm
TTClusterAlgorithm_2d_PixelDigi_ = cms.ESProducer("TTClusterAlgorithm_2d_PixelDigi_",
    DoubleCountingTest=cms.bool(True)
)

# 2d2013 clustering algorithm
TTClusterAlgorithm_2d2013_PixelDigi_ = cms.ESProducer("TTClusterAlgorithm_2d2013_PixelDigi_",
    WidthCut = cms.int32(4)
)

# Neighbor clustering algorithm
TTClusterAlgorithm_neighbor_PixelDigi_ = cms.ESProducer("TTClusterAlgorithm_neighbor_PixelDigi_")

# Set the preferred hit matching algorithms.
# We prefer the a algorithm for now in order not to break anything.
# Override with process.TTClusterAlgorithm_PSimHit_ = ..., etc. in your
# configuration.
TTClusterAlgorithm_PixelDigi_ = cms.ESPrefer("TTClusterAlgorithm_broadside_PixelDigi_")


12906adbd669d27a77ebd5ebd3beea632af5f013
<mask token>

<mask token>
TTClusterAlgorithm_a_PixelDigi_ = cms.ESProducer(
    'TTClusterAlgorithm_a_PixelDigi_')
TTClusterAlgorithm_broadside_PixelDigi_ = cms.ESProducer(
    'TTClusterAlgorithm_broadside_PixelDigi_', WidthCut=cms.int32(4))
TTClusterAlgorithm_2d_PixelDigi_ = cms.ESProducer(
    'TTClusterAlgorithm_2d_PixelDigi_', DoubleCountingTest=cms.bool(True))
TTClusterAlgorithm_2d2013_PixelDigi_ = cms.ESProducer(
    'TTClusterAlgorithm_2d2013_PixelDigi_', WidthCut=cms.int32(4))
TTClusterAlgorithm_neighbor_PixelDigi_ = cms.ESProducer(
    'TTClusterAlgorithm_neighbor_PixelDigi_')
TTClusterAlgorithm_PixelDigi_ = cms.ESPrefer(
    'TTClusterAlgorithm_broadside_PixelDigi_')

import FWCore.ParameterSet.Config as cms
TTClusterAlgorithm_a_PixelDigi_ = cms.ESProducer(
    'TTClusterAlgorithm_a_PixelDigi_')
TTClusterAlgorithm_broadside_PixelDigi_ = cms.ESProducer(
    'TTClusterAlgorithm_broadside_PixelDigi_', WidthCut=cms.int32(4))
TTClusterAlgorithm_2d_PixelDigi_ = cms.ESProducer(
    'TTClusterAlgorithm_2d_PixelDigi_', DoubleCountingTest=cms.bool(True))
TTClusterAlgorithm_2d2013_PixelDigi_ = cms.ESProducer(
    'TTClusterAlgorithm_2d2013_PixelDigi_', WidthCut=cms.int32(4))
TTClusterAlgorithm_neighbor_PixelDigi_ = cms.ESProducer(
    'TTClusterAlgorithm_neighbor_PixelDigi_')
TTClusterAlgorithm_PixelDigi_ = cms.ESPrefer(
    'TTClusterAlgorithm_broadside_PixelDigi_')

import FWCore.ParameterSet.Config as cms

# First register all the clustering algorithms, then specify preferred ones at end.

# Clustering algorithm a
TTClusterAlgorithm_a_PixelDigi_ = cms.ESProducer("TTClusterAlgorithm_a_PixelDigi_")

# Broadside clustering algorithm
# Set WidthCut=0 to eliminate the width cut.
TTClusterAlgorithm_broadside_PixelDigi_ = cms.ESProducer("TTClusterAlgorithm_broadside_PixelDigi_",
    WidthCut = cms.int32(4)
)

# 2d clustering algorithm
TTClusterAlgorithm_2d_PixelDigi_ = cms.ESProducer("TTClusterAlgorithm_2d_PixelDigi_",
    DoubleCountingTest=cms.bool(True)
)

# 2d2013 clustering algorithm
TTClusterAlgorithm_2d2013_PixelDigi_ = cms.ESProducer("TTClusterAlgorithm_2d2013_PixelDigi_",
    WidthCut = cms.int32(4)
)

# Neighbor clustering algorithm
TTClusterAlgorithm_neighbor_PixelDigi_ = cms.ESProducer("TTClusterAlgorithm_neighbor_PixelDigi_")

# Set the preferred hit matching algorithms.
# We prefer the a algorithm for now in order not to break anything.
# Override with process.TTClusterAlgorithm_PSimHit_ = ..., etc. in your
# configuration.
TTClusterAlgorithm_PixelDigi_ = cms.ESPrefer("TTClusterAlgorithm_broadside_PixelDigi_")

