CMS 3D CMS Logo

lostTracks_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from CommonTools.RecoAlgos.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.0),
23  passThroughCut = cms.string("pt>2"),
24  pvAssignment = primaryVertexAssociation.assignment,
25  useLegacySetup = cms.bool(False), #When True: check only if track used to fit vertex[0] and do not store track detailed info for Pt between 0.5 and minPtToStoreProps GeV
26  xiSelection = cms.bool(True),
27  xiMassCut = cms.double(1.5)
28 )
29 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
30 phase1Pixel.toModify(lostTracks, covarianceVersion =1 )
31 
32 from Configuration.ProcessModifiers.run2_miniAOD_pp_on_AA_103X_cff import run2_miniAOD_pp_on_AA_103X
33 run2_miniAOD_pp_on_AA_103X.toModify(lostTracks,inputCandidates = 'cleanedParticleFlow')