1 import FWCore.ParameterSet.Config
as cms
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),
19 covariancePackingSchemas = packedPFCandidates.covariancePackingSchemas,
20 qualsToAutoAccept = cms.vstring(
"highPurity"),
21 minPtToStoreProps = cms.double(0.95),
22 passThroughCut = cms.string(
"0"),
23 allowMuonId = cms.bool(
False),
24 pvAssignment = primaryVertexAssociation.assignment,
25 useLegacySetup = cms.bool(
True)
27 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
28 phase1Pixel.toModify(lostTracks, covarianceVersion =1 )
30 from Configuration.ProcessModifiers.run2_miniAOD_UL_cff
import run2_miniAOD_UL
31 run2_miniAOD_UL.toModify(lostTracks, passThroughCut=
"pt>2", allowMuonId=
True, useLegacySetup=
False)