1 import FWCore.ParameterSet.Config
as cms
3 PFCandAssoMap = cms.EDProducer(
'PFCand_AssoMap',
7 AssociationType = cms.InputTag(
'Both'),
10 MaxNumberOfAssociations = cms.int32(1),
13 PFCandidateCollection = cms.InputTag(
'particleFlow'),
14 VertexCollection = cms.InputTag(
'offlinePrimaryVertices'),
17 BeamSpot = cms.InputTag(
'offlineBeamSpot'),
20 doReassociation = cms.bool(
True),
21 GetCleanedCollections = cms.bool(
False),
24 ConversionsCollection = cms.InputTag(
'allConversions'),
27 V0KshortCollection = cms.InputTag(
'generalV0Candidates',
'Kshort'),
28 V0LambdaCollection = cms.InputTag(
'generalV0Candidates',
'Lambda'),
31 NIVertexCollection = cms.InputTag(
'particleFlowDisplacedVertex'),
37 FinalAssociation = cms.untracked.int32(1),
40 ignoreMissingCollection = cms.bool(
True),
43 nTrackWeight = cms.double(0.001),
47 PFCandAssoMapJJetMet = cms.EDProducer(
'PFCand_AssoMap',
51 AssociationType = cms.InputTag(
'Both'),
54 MaxNumberOfAssociations = cms.int32(1),
57 PFCandidateCollection = cms.InputTag(
'particleFlow'),
58 VertexCollection = cms.InputTag(
'offlinePrimaryVertices'),
61 BeamSpot = cms.InputTag(
'offlineBeamSpot'),
64 doReassociation = cms.bool(
False),
65 GetCleanedCollections = cms.bool(
False),
68 ConversionsCollection = cms.InputTag(
'allConversions'),
71 V0KshortCollection = cms.InputTag(
'generalV0Candidates',
'Kshort'),
72 V0LambdaCollection = cms.InputTag(
'generalV0Candidates',
'Lambda'),
75 NIVertexCollection = cms.InputTag(
'particleFlowDisplacedVertex'),
81 FinalAssociation = cms.untracked.int32(0),
84 ignoreMissingCollection = cms.bool(
True),
87 nTrackWeight = cms.double(0.),
91 PFCandAssoMapMuoEgm = cms.EDProducer(
'PFCand_AssoMap',
95 AssociationType = cms.InputTag(
'Both'),
98 MaxNumberOfAssociations = cms.int32(1),
101 PFCandidateCollection = cms.InputTag(
'particleFlow'),
102 VertexCollection = cms.InputTag(
'offlinePrimaryVertices'),
105 BeamSpot = cms.InputTag(
'offlineBeamSpot'),
108 doReassociation = cms.bool(
False),
109 GetCleanedCollections = cms.bool(
False),
112 ConversionsCollection = cms.InputTag(
'allConversions'),
115 V0KshortCollection = cms.InputTag(
'generalV0Candidates',
'Kshort'),
116 V0LambdaCollection = cms.InputTag(
'generalV0Candidates',
'Lambda'),
119 NIVertexCollection = cms.InputTag(
'particleFlowDisplacedVertex'),
125 FinalAssociation = cms.untracked.int32(1),
128 ignoreMissingCollection = cms.bool(
True),
131 nTrackWeight = cms.double(0.),
137 PFCands2Vertex = PFCandAssoMap.clone(
141 AssociationType =
'PFCandsToVertex',