Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
import FWCore.ParameterSet.Config as cms

trackWithVertexSelectorParams = cms.PSet(
    # the track collection
    src = cms.InputTag('generalTracks'),
    # kinematic cuts  (pT in GeV)
    etaMin = cms.double(0.0),
    etaMax = cms.double(5.0),
    ptMin = cms.double(0.3),
    ptMax = cms.double(500.0),
    # impact parameter cut (in cm)
    d0Max = cms.double(999.),
    dzMax = cms.double(999.),
    # quality cuts (valid hits, normalized chi2)
    normalizedChi2 = cms.double(999999.),
    numberOfValidHits = cms.uint32(0),
    numberOfLostHits = cms.uint32(999), ## at most 999 lost hits
    numberOfValidPixelHits = cms.uint32(0), ## at least <n> hits in the pixels
    ptErrorCut = cms.double(0.2), ## [pTError/pT]*max(1,normChi2) <= ptErrorCut
    quality = cms.string("highPurity"), # quality cut as defined in reco::TrackBase
    # compatibility with a vertex ?
    useVtx = cms.bool(True),
    vertexTag = cms.InputTag('offlinePrimaryVertices'),
    timesTag = cms.InputTag(''),
    timeResosTag = cms.InputTag(''),
    nVertices = cms.uint32(0), ## how many vertices to look at before dropping the track
    vtxFallback = cms.bool(True), ## falback to beam spot if there are no vertices
    # uses vtx=(0,0,0) with deltaZeta=15.9, deltaRho = 0.2
    zetaVtx = cms.double(1.0),
    rhoVtx = cms.double(0.2), ## tags used by b-tagging folks
    nSigmaDtVertex = cms.double(0),
)