CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/RecoVertex/PrimaryVertexProducer/python/OfflinePrimaryVertices_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 offlinePrimaryVertices = cms.EDProducer("PrimaryVertexProducer",
00004 
00005     verbose = cms.untracked.bool(False),
00006     TrackLabel = cms.InputTag("generalTracks"),
00007     beamSpotLabel = cms.InputTag("offlineBeamSpot"),
00008                                         
00009     TkFilterParameters = cms.PSet(
00010         algorithm=cms.string('filter'),
00011         maxNormalizedChi2 = cms.double(20.0),
00012         minPixelLayersWithHits=cms.int32(2),
00013         minSiliconLayersWithHits = cms.int32(5),
00014         maxD0Significance = cms.double(5.0), 
00015         minPt = cms.double(0.0),
00016         trackQuality = cms.string("any")
00017     ),
00018 
00019     TkClusParameters = cms.PSet(
00020         algorithm   = cms.string("DA"),
00021         TkDAClusParameters = cms.PSet(
00022             coolingFactor = cms.double(0.6),  #  moderate annealing speed
00023             Tmin = cms.double(4.),            #  end of annealing
00024             vertexSize = cms.double(0.01),    #  ~ resolution / sqrt(Tmin)
00025             d0CutOff = cms.double(3.),        # downweight high IP tracks 
00026             dzCutOff = cms.double(4.)         # outlier rejection after freeze-out (T<Tmin)
00027         )
00028     ),
00029 
00030     vertexCollections = cms.VPSet(
00031      [cms.PSet(label=cms.string(""),
00032                algorithm=cms.string("AdaptiveVertexFitter"),
00033                minNdof=cms.double(0.0),
00034                useBeamConstraint = cms.bool(False),
00035                maxDistanceToBeam = cms.double(1.0)
00036                ),
00037       cms.PSet(label=cms.string("WithBS"),
00038                algorithm = cms.string('AdaptiveVertexFitter'),
00039                minNdof=cms.double(2.0),
00040                useBeamConstraint = cms.bool(True),
00041                maxDistanceToBeam = cms.double(1.0)
00042                )
00043       ]
00044     )
00045                                         
00046 
00047                                         
00048 )
00049 
00050 # These lines should be uncommented only for the gcc4X builds, with X>=6
00051 offlinePrimaryVertices.TkClusParameters.algorithm = cms.string("DA_vect" )
00052 offlinePrimaryVertices.TkClusParameters.TkDAClusParameters.use_vdt = cms.untracked.bool( True )
00053