Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-16 03:24:01

0001 import FWCore.ParameterSet.Config as cms
0002 from CommonTools.RecoAlgos.primaryVertexAssociation_cfi import primaryVertexAssociation
0003 from PhysicsTools.PatAlgos.slimming.packedPFCandidates_cfi import packedPFCandidates
0004 
0005 lostTracks = cms.EDProducer("PATLostTracks",
0006     inputCandidates = cms.InputTag("particleFlow"),
0007     packedPFCandidates  = cms.InputTag("packedPFCandidates"),
0008     inputTracks = cms.InputTag("generalTracks"),
0009     secondaryVertices = cms.InputTag("inclusiveSecondaryVertices"),
0010     kshorts=cms.InputTag("generalV0Candidates","Kshort"),
0011     lambdas=cms.InputTag("generalV0Candidates","Lambda"),
0012     primaryVertices = cms.InputTag("offlineSlimmedPrimaryVertices"),
0013     originalVertices = cms.InputTag("offlinePrimaryVertices"),
0014     muons = cms.InputTag("muons"),
0015     minPt = cms.double(0.95),
0016     minHits = cms.uint32(8),
0017     minPixelHits = cms.uint32(1),
0018     covarianceVersion = cms.int32(0), #so far: 0 is Phase0, 1 is Phase1
0019     covariancePackingSchemas = packedPFCandidates.covariancePackingSchemas,
0020     qualsToAutoAccept = cms.vstring("highPurity"),
0021     minPtToStoreProps = cms.double(0.95),
0022     minPtToStoreLowQualityProps = cms.double(0.0),
0023     passThroughCut = cms.string("pt>2"),
0024     pvAssignment = primaryVertexAssociation.assignment,
0025     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
0026     xiSelection = cms.bool(True),
0027     xiMassCut = cms.double(1.5)
0028 )
0029 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
0030 phase1Pixel.toModify(lostTracks, covarianceVersion =1 )
0031 
0032 from Configuration.ProcessModifiers.run2_miniAOD_pp_on_AA_103X_cff import run2_miniAOD_pp_on_AA_103X
0033 run2_miniAOD_pp_on_AA_103X.toModify(lostTracks,inputCandidates = 'cleanedParticleFlow')