Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:29:16

0001 import FWCore.ParameterSet.Config as cms
0002 from RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi import offlinePrimaryVertices
0003 
0004 offlinePrimaryVerticesFromCosmicTracks = offlinePrimaryVertices.clone(
0005     TrackLabel    = "ctfWithMaterialTracksP5",
0006     beamSpotLabel = "offlineBeamSpot",
0007 
0008     TkFilterParameters = dict(
0009         maxNormalizedChi2 = 5.0,
0010         minSiliconLayersWithHits = 7, ## hits > 7
0011         maxD0Significance = 5.0, ## keep most primary tracks
0012         maxD0Error = 10.0,
0013         maxDzError = 10.0,
0014         maxEta = 5.0, 
0015         minPixelLayersWithHits = 2, ## hits > 2
0016     ),
0017 
0018     TkClusParameters = cms.PSet(
0019       algorithm = cms.string("gap"),
0020       TkGapClusParameters = cms.PSet(
0021         zSeparation = cms.double(0.1) ## 1 mm max separation betw. clusters
0022       )
0023     ),
0024 
0025     vertexCollections = cms.VPSet(
0026      [cms.PSet(label=cms.string(""),
0027                algorithm=cms.string("AdaptiveVertexFitter"),
0028                chi2cutoff = cms.double(3.0),
0029                minNdof=cms.double(0.0),
0030                useBeamConstraint = cms.bool(False),
0031                maxDistanceToBeam = cms.double(1.0)
0032                )
0033       ]
0034     )
0035 )