Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:21

0001 import FWCore.ParameterSet.Config as cms
0002 from RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi import offlinePrimaryVertices
0003 
0004 hiPixelAdaptiveVertex = offlinePrimaryVertices.clone(
0005     verbose = False,
0006     TkFilterParameters = dict(
0007         algorithm = 'filterWithThreshold',
0008         maxNormalizedChi2 = 5.0,
0009         minSiliconLayersWithHits = 0, ## >=0 (was 5 for generalTracks)
0010         minPixelLayersWithHits = 2,   ## >=2 (was 2 for generalTracks)
0011         maxD0Significance = 3.0,     ## keep most primary tracks (was 5.0)
0012         minPt = 0.0,                 ## better for softish events
0013         maxEta = 100.,
0014     ),
0015     # label of tracks to be used
0016     TrackLabel = "hiSelectedProtoTracks",
0017     # clustering
0018     TkClusParameters = cms.PSet(
0019         algorithm = cms.string("gap"),
0020         TkGapClusParameters = cms.PSet(
0021             zSeparation = cms.double(1.0)       ## 1 cm max separation between clusters
0022         )
0023     ),
0024     vertexCollections = cms.VPSet(
0025       cms.PSet(
0026         label = cms.string(''),
0027         chi2cutoff = cms.double(3.0),
0028         algorithm = cms.string('AdaptiveVertexFitter'),
0029         useBeamConstraint = cms.bool(False),
0030         maxDistanceToBeam = cms.double(0.1),
0031         minNdof  = cms.double(0.0)
0032         )
0033       )
0034 )
0035 
0036 hiPixelAdaptiveVertex.TkFilterParameters.numTracksThreshold = cms.int32(2)