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_pp_on_AA_2018_cff
import pp_on_AA_2018
103 pp_on_AA_2018.toModify(_patJets,
104 jetSource =
"akCs4PFJets",
105 genJetMatch =
"patJetGenJetMatch",
106 genPartonMatch =
"patJetPartonMatch",
107 JetFlavourInfoSource =
"patJetFlavourAssociation",
108 JetPartonMapSource =
"patJetFlavourAssociationLegacy",
109 jetCorrFactorsSource = [
"patJetCorrFactors"],
110 trackAssociationSource =
"ak5JetTracksAssociatorAtVertex",
111 useLegacyJetMCFlavour =
True,
112 discriminatorSources = [
113 "simpleSecondaryVertexHighEffBJetTags",
114 "simpleSecondaryVertexHighPurBJetTags",
115 "combinedSecondaryVertexV2BJetTags",
116 "jetBProbabilityBJetTags",
117 "jetProbabilityBJetTags",
118 "trackCountingHighEffBJetTags",
119 "trackCountingHighPurBJetTags",
121 addJetCharge =
False,
124 from Configuration.Eras.Modifier_pp_on_PbPb_run3_cff
import pp_on_PbPb_run3
125 pp_on_PbPb_run3.toModify(_patJets,
126 jetSource =
"akCs4PFJets",
127 genJetMatch =
"patJetGenJetMatch",
128 genPartonMatch =
"patJetPartonMatch",
129 JetFlavourInfoSource =
"patJetFlavourAssociation",
130 JetPartonMapSource =
"patJetFlavourAssociationLegacy",
131 jetCorrFactorsSource = [
"patJetCorrFactors"],
132 trackAssociationSource =
"",
133 useLegacyJetMCFlavour =
True,
134 discriminatorSources = [],
136 addJetCharge =
False,
138 addDiscriminators =
False,
139 addAssociatedTracks =
False,
142 patJets = _patJets.clone()