CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecoVertex_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Reco Vertex
4 # initialize magnetic field #########################
10 
15 
16 unsortedOfflinePrimaryVertices=offlinePrimaryVertices.clone()
17 offlinePrimaryVertices=sortedPrimaryVertices.clone(vertices="unsortedOfflinePrimaryVertices", particles="trackRefsForJetsBeforeSorting")
18 offlinePrimaryVerticesWithBS=sortedPrimaryVertices.clone(vertices=cms.InputTag("unsortedOfflinePrimaryVertices","WithBS"), particles="trackRefsForJetsBeforeSorting")
19 trackWithVertexRefSelectorBeforeSorting = trackWithVertexRefSelector.clone(vertexTag="unsortedOfflinePrimaryVertices")
20 trackWithVertexRefSelectorBeforeSorting.ptMax=9e99
21 trackWithVertexRefSelectorBeforeSorting.ptErrorCut=9e99
22 trackRefsForJetsBeforeSorting = trackRefsForJets.clone(src="trackWithVertexRefSelectorBeforeSorting")
23 
24 
25 vertexreco = cms.Sequence(unsortedOfflinePrimaryVertices*
26  trackWithVertexRefSelectorBeforeSorting*
27  trackRefsForJetsBeforeSorting*
28  caloJetsForTrk *
29  offlinePrimaryVertices*
30  offlinePrimaryVerticesWithBS*
31  generalV0Candidates*
32  inclusiveVertexing
33 )