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 pixelVertices = offlinePrimaryVertices.clone(
0005     TrackLabel = "pixelTracks",
0006 
0007     TkFilterParameters = dict(
0008         maxNormalizedChi2 = 100.0,
0009         minPixelLayersWithHits=3,
0010         minSiliconLayersWithHits = 3,
0011         maxD0Significance = 100.0, 
0012         maxEta = 100.,
0013     ),
0014 
0015     TkClusParameters = cms.PSet(
0016         algorithm   = cms.string("DA_vect"),
0017         TkDAClusParameters = cms.PSet(
0018             # the first 4 parameters are adjusted for pixel vertices
0019             dzCutOff = cms.double(4.),        # outlier rejection after freeze-out (T<Tmin)
0020             Tmin = cms.double(2.4),           # end of vertex splitting
0021             vertexSize = cms.double(0.01),    # added in quadrature to track-z resolution
0022             uniquetrkweight = cms.double(0.9),# require at least two tracks with this weight at T=Tpurge
0023             # the rest is the same as the default defined in OfflinePrimaryVertices
0024             coolingFactor = cms.double(0.6),  # moderate annealing speed
0025             zrange = cms.double(4.),          # consider only clusters within 4 sigma*sqrt(T) of a track
0026             delta_highT = cms.double(1.e-2),  # convergence requirement at high T
0027             delta_lowT = cms.double(1.e-3),   # convergence requirement at low T
0028             convergence_mode = cms.int32(0),  # 0 = two steps, 1 = dynamic with sqrt(T)
0029             Tpurge = cms.double(2.0),         # cleaning
0030             Tstop = cms.double(0.5),          # end of annealing
0031             d0CutOff = cms.double(3.),        # downweight high IP tracks
0032             zmerge = cms.double(1e-2),        # merge intermediat clusters separated by less than zmerge
0033             uniquetrkminp = cms.double(0.0),  # minimal a priori track weight for counting unique tracks
0034             runInBlocks = cms.bool(False),    # activate the DA running in blocks of z sorted tracks
0035             block_size = cms.uint32(10000),   # block size in tracks
0036             overlap_frac = cms.double(0.0)    # overlap between consecutive blocks (blocks_size*overlap_frac)
0037         )
0038     ),
0039 
0040     vertexCollections = cms.VPSet(
0041      [cms.PSet(label=cms.string(""),
0042                algorithm=cms.string("AdaptiveVertexFitter"),
0043                chi2cutoff = cms.double(3.0),
0044                minNdof=cms.double(2.0),
0045                useBeamConstraint = cms.bool(False),
0046                maxDistanceToBeam = cms.double(2.0)
0047                )
0048       ]
0049     )
0050 )