CMS 3D CMS Logo

TrackWithVertexSelectorParams_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 trackWithVertexSelectorParams = cms.PSet(
4  # the track collection
5  src = cms.InputTag('generalTracks'),
6  # kinematic cuts (pT in GeV)
7  etaMin = cms.double(0.0),
8  etaMax = cms.double(5.0),
9  ptMin = cms.double(0.3),
10  ptMax = cms.double(500.0),
11  # impact parameter cut (in cm)
12  d0Max = cms.double(999.),
13  dzMax = cms.double(999.),
14  # quality cuts (valid hits, normalized chi2)
15  normalizedChi2 = cms.double(999999.),
16  numberOfValidHits = cms.uint32(0),
17  numberOfLostHits = cms.uint32(999), ## at most 999 lost hits
18  numberOfValidPixelHits = cms.uint32(0), ## at least <n> hits in the pixels
19  ptErrorCut = cms.double(0.2), ## [pTError/pT]*max(1,normChi2) <= ptErrorCut
20  quality = cms.string("highPurity"), # quality cut as defined in reco::TrackBase
21  # compatibility with a vertex ?
22  useVtx = cms.bool(True),
23  vertexTag = cms.InputTag('offlinePrimaryVertices'),
24  timesTag = cms.InputTag(''),
25  timeResosTag = cms.InputTag(''),
26  nVertices = cms.uint32(0), ## how many vertices to look at before dropping the track
27  vtxFallback = cms.bool(True), ## falback to beam spot if there are no vertices
28  # uses vtx=(0,0,0) with deltaZeta=15.9, deltaRho = 0.2
29  zetaVtx = cms.double(1.0),
30  rhoVtx = cms.double(0.2), ## tags used by b-tagging folks
31  nSigmaDtVertex = cms.double(0),
32  # should _not_ be used for the TrackWithVertexRefSelector
33  copyExtras = cms.untracked.bool(False), ## copies also extras and rechits on RECO
34  copyTrajectories = cms.untracked.bool(False), # don't set this to true on AOD!
35 )