CMS 3D CMS Logo

lostTracks_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from PhysicsTools.PatAlgos.slimming.primaryVertexAssociation_cfi import primaryVertexAssociation
4 
5 lostTracks = cms.EDProducer("PATLostTracks",
6  inputCandidates = cms.InputTag("particleFlow"),
7  packedPFCandidates = cms.InputTag("packedPFCandidates"),
8  inputTracks = cms.InputTag("generalTracks"),
9  secondaryVertices = cms.InputTag("inclusiveSecondaryVertices"),
10  kshorts=cms.InputTag("generalV0Candidates","Kshort"),
11  lambdas=cms.InputTag("generalV0Candidates","Lambda"),
12  primaryVertices = cms.InputTag("offlineSlimmedPrimaryVertices"),
13  originalVertices = cms.InputTag("offlinePrimaryVertices"),
14  muons = cms.InputTag("muons"),
15  minPt = cms.double(0.95),
16  minHits = cms.uint32(8),
17  minPixelHits = cms.uint32(1),
18  covarianceVersion = cms.int32(0), #so far: 0 is Phase0, 1 is Phase1
19  covariancePackingSchemas = packedPFCandidates.covariancePackingSchemas,
20  qualsToAutoAccept = cms.vstring("highPurity"),
21  minPtToStoreProps = cms.double(0.95),
22  minPtToStoreLowQualityProps = cms.double(0.5),
23  passThroughCut = cms.string("0"),
24  allowMuonId = cms.bool(False),
25  pvAssignment = primaryVertexAssociation.assignment,
26  useLegacySetup = cms.bool(True),
27  fillLostInnerHits = cms.bool(False),
28  xiSelection = cms.bool(False),
29  xiMassCut = cms.double(1.5)
30 )
31 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
32 phase1Pixel.toModify(lostTracks, covarianceVersion =1 )
33 
34 from Configuration.ProcessModifiers.run2_miniAOD_UL_cff import run2_miniAOD_UL
35 run2_miniAOD_UL.toModify(lostTracks, passThroughCut="pt>2", allowMuonId=True, useLegacySetup=False)
36 
37 from Configuration.Eras.Modifier_bParking_cff import bParking
38 bParking.toModify(lostTracks, fillLostInnerHits = True)
39 
40 from Configuration.Eras.Modifier_run2_miniAOD_devel_cff import run2_miniAOD_devel
41 (bParking | run2_miniAOD_devel).toModify(lostTracks, minPtToStoreLowQualityProps = 0.0, xiSelection = True)