1 import FWCore.ParameterSet.Config
as cms
2 import PhysicsTools.PatAlgos.PATJetProducer_cfi
as _mod
4 _patJets = _mod.PATJetProducer.clone(
6 jetSource =
"ak4PFJetsCHS",
10 userClasses = cms.PSet(
11 src = cms.VInputTag(
'')
14 userFloats = cms.PSet(
15 src = cms.VInputTag(
'')
19 src = cms.VInputTag(
'')
23 src = cms.VInputTag(
'')
27 userFunctionLabels = []
32 embedPFCandidates =
False,
34 addJetCorrFactors =
True,
35 jetCorrFactorsSource = [
"patJetCorrFactors" ],
38 addDiscriminators =
True,
39 discriminatorSources = [
"pfJetBProbabilityBJetTags",
40 "pfJetProbabilityBJetTags",
41 "pfTrackCountingHighEffBJetTags",
42 "pfSimpleSecondaryVertexHighEffBJetTags",
43 "pfSimpleInclusiveSecondaryVertexHighEffBJetTags",
44 "pfCombinedSecondaryVertexV2BJetTags",
45 "pfCombinedInclusiveSecondaryVertexV2BJetTags",
47 "softPFElectronBJetTags",
48 "pfCombinedMVAV2BJetTags",
50 'pfCombinedCvsLJetTags',
51 'pfCombinedCvsBJetTags',
53 'pfDeepCSVJetTags:probb',
54 'pfDeepCSVJetTags:probc',
55 'pfDeepCSVJetTags:probudsg',
56 'pfDeepCSVJetTags:probbb',
71 addAssociatedTracks =
True,
72 trackAssociationSource =
"ak4JetTracksAssociatorAtVertexPF",
75 jetChargeSource =
"patJetCharge",
78 jetIDMap =
"ak4JetID",
80 addGenPartonMatch =
True,
81 embedGenPartonMatch =
True,
82 genPartonMatch =
"patJetPartonMatch",
83 addGenJetMatch =
True,
84 embedGenJetMatch =
True,
85 genJetMatch =
"patJetGenJetMatch",
86 addPartonJetMatch =
False,
87 partonJetSource =
"NOT_IMPLEMENTED",
89 getJetMCFlavour =
True,
90 useLegacyJetMCFlavour =
False,
91 addJetFlavourInfo =
True,
92 JetPartonMapSource =
"patJetFlavourAssociationLegacy",
93 JetFlavourInfoSource =
"patJetFlavourAssociation",
95 addEfficiencies =
False,
96 efficiencies = dict(),
98 addResolutions =
False,
102 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
103 run3_common.toModify(_patJets,
104 jetSource =
"ak4PFJetsCHS",
105 genJetMatch =
"patJetGenJetMatch",
106 genPartonMatch =
"patJetPartonMatch",
107 JetFlavourInfoSource =
"patJetFlavourAssociation",
108 JetPartonMapSource =
"patJetFlavourAssociationLegacy",
109 jetCorrFactorsSource = [
"patJetCorrFactors"],
111 addDiscriminators =
True,
112 discriminatorSources = [
"pfJetBProbabilityBJetTags",
113 "pfJetProbabilityBJetTags",
114 "pfTrackCountingHighEffBJetTags",
116 'pfDeepCSVJetTags:probb',
117 'pfDeepCSVJetTags:probc',
118 'pfDeepCSVJetTags:probudsg',
119 'pfDeepCSVJetTags:probbb',
133 addAssociatedTracks =
True,
134 trackAssociationSource =
"ak4JetTracksAssociatorAtVertexPF",
137 jetChargeSource =
"patJetCharge",
140 jetIDMap =
"ak4JetID",
143 from Configuration.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
144 pp_on_AA_2018.toModify(_patJets,
145 jetSource =
"akCs4PFJets",
146 genJetMatch =
"patJetGenJetMatch",
147 genPartonMatch =
"patJetPartonMatch",
148 JetFlavourInfoSource =
"patJetFlavourAssociation",
149 JetPartonMapSource =
"patJetFlavourAssociationLegacy",
150 jetCorrFactorsSource = [
"patJetCorrFactors"],
151 trackAssociationSource =
"ak5JetTracksAssociatorAtVertex",
152 useLegacyJetMCFlavour =
True,
153 discriminatorSources = [
154 "simpleSecondaryVertexHighEffBJetTags",
155 "simpleSecondaryVertexHighPurBJetTags",
156 "combinedSecondaryVertexV2BJetTags",
157 "jetBProbabilityBJetTags",
158 "jetProbabilityBJetTags",
159 "trackCountingHighEffBJetTags",
160 "trackCountingHighPurBJetTags",
162 addJetCharge =
False,
165 from Configuration.Eras.Modifier_pp_on_PbPb_run3_cff
import pp_on_PbPb_run3
166 pp_on_PbPb_run3.toModify(_patJets,
167 jetSource =
"akCs4PFJets",
168 genJetMatch =
"patJetGenJetMatch",
169 genPartonMatch =
"patJetPartonMatch",
170 JetFlavourInfoSource =
"patJetFlavourAssociation",
171 JetPartonMapSource =
"patJetFlavourAssociationLegacy",
172 jetCorrFactorsSource = [
"patJetCorrFactors"],
173 trackAssociationSource =
"",
174 useLegacyJetMCFlavour =
True,
175 discriminatorSources = [],
177 addJetCharge =
False,
179 addDiscriminators =
False,
180 addAssociatedTracks =
False,
183 patJets = _patJets.clone()