CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
OfflinePrimaryVerticesFromCosmicTracks_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import RecoVertex.PrimaryVertexProducer.primaryVertexProducer_cfi as _mod
3 
4 offlinePrimaryVerticesFromCosmicTracks = _mod.primaryVertexProducer.clone(
5  TrackLabel = "ctfWithMaterialTracksP5",
6  beamSpotLabel = "offlineBeamSpot",
7 
8  TkFilterParameters = dict(
9  maxNormalizedChi2 = 5.0,
10  minSiliconLayersWithHits = 7, ## hits > 7
11  maxD0Significance = 5.0, ## keep most primary tracks
12  maxD0Error = 10.0,
13  maxDzError = 10.0,
14  maxEta = 5.0,
15  minPixelLayersWithHits = 2, ## hits > 2
16  ),
17 
18  TkClusParameters = dict(
19  algorithm = "gap",
20  TkGapClusParameters = dict(
21  zSeparation = 0.1 ## 1 mm max separation betw. clusters
22  )
23  ),
24 
25  vertexCollections = cms.VPSet(
26  [cms.PSet(label=cms.string(""),
27  algorithm=cms.string("AdaptiveVertexFitter"),
28  chi2cutoff = cms.double(3.0),
29  minNdof=cms.double(0.0),
30  useBeamConstraint = cms.bool(False),
31  maxDistanceToBeam = cms.double(1.0)
32  )
33  ]
34  )
35 )