CMS 3D CMS Logo

TTClusterAlgorithmRegister_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # First register all the clustering algorithms, then specify preferred ones at end.
4 
5 # official clustering algorithm
6 TTClusterAlgorithm_official_Phase2TrackerDigi_ = cms.ESProducer("TTClusterAlgorithm_official_Phase2TrackerDigi_",
7  WidthCut = cms.int32(4)
8 )
9 
10 # Neighbor clustering algorithm
11 TTClusterAlgorithm_neighbor_Phase2TrackerDigi_ = cms.ESProducer("TTClusterAlgorithm_neighbor_Phase2TrackerDigi_")
12 
13 # Set the preferred hit matching algorithms.
14 # We prefer the a algorithm for now in order not to break anything.
15 # Override with process.TTClusterAlgorithm_PSimHit_ = ..., etc. in your
16 # configuration.
17 TTClusterAlgorithm_Phase2TrackerDigi_ = cms.ESPrefer("TTClusterAlgorithm_official_Phase2TrackerDigi_")
18