CMS 3D CMS Logo

packedPFCandidates_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 packedPFCandidates = cms.EDProducer("PATPackedCandidateProducer",
4  inputCollection = cms.InputTag("particleFlow"),
5  inputVertices = cms.InputTag("offlineSlimmedPrimaryVertices"),
6  originalVertices = cms.InputTag("offlinePrimaryVertices"),
7  originalTracks = cms.InputTag("generalTracks"),
8  vertexAssociator = cms.InputTag("primaryVertexAssociation","original"),
9  PuppiSrc = cms.InputTag("puppi"),
10  PuppiNoLepSrc = cms.InputTag("puppiNoLep"),
11  secondaryVerticesForWhiteList = cms.VInputTag(
12  cms.InputTag("inclusiveCandidateSecondaryVertices"),
13  cms.InputTag("inclusiveCandidateSecondaryVerticesCvsL"),
14  cms.InputTag("generalV0Candidates","Kshort"),
15  cms.InputTag("generalV0Candidates","Lambda"),
16  ),
17  minPtForTrackProperties = cms.double(0.95),
18  covarianceVersion = cms.int32(0), #so far: 0 is Phase0, 1 is Phase1
19 # covariancePackingSchemas = cms.vint32(1,257,513,769,0) # a cheaper schema in kb/ev
20  covariancePackingSchemas = cms.vint32(8,264,520,776,0) # more accurate schema +0.6kb/ev
21 )
22 
23 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
24 phase1Pixel.toModify(packedPFCandidates, covarianceVersion =1 )
25