CMS 3D CMS Logo

jetProducer_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
9 
10 
11 makePatJetsTask = cms.Task(
12  patJetCorrectionsTask,
13  patJetCharge,
14  patJetPartonMatch,
15  patJetGenJetMatch,
16  patJetFlavourIdLegacyTask,
17  patJetFlavourIdTask,
18  patJets
19  )
20 makePatJets = cms.Sequence(makePatJetsTask)
21 
22 from RecoBTag.ImpactParameter.pfImpactParameterTagInfos_cfi import * #pfImpactParameterTagInfos
23 from RecoBTag.SecondaryVertex.pfSecondaryVertexTagInfos_cfi import * #pfSecondaryVertexTagInfos
24 from RecoBTag.SecondaryVertex.pfInclusiveSecondaryVertexFinderTagInfos_cfi import * #pfInclusiveSecondaryVertexFinderTagInfos
25 from RecoBTag.Combined.deepFlavour_cff import * #pfDeepCSVTask
26 
27 #make a copy to avoid labels and substitution problems
28 _makePatJetsWithDeepFlavorTask = makePatJetsTask.copy()
29 _makePatJetsWithDeepFlavorTask.add(
30  pfImpactParameterTagInfos,
31  pfSecondaryVertexTagInfos,
32  pfInclusiveSecondaryVertexFinderTagInfos,
33  pfDeepCSVTask
34 )
35 
36 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff import run2_miniAOD_80XLegacy
37 run2_miniAOD_80XLegacy.toReplaceWith(
38  makePatJetsTask, _makePatJetsWithDeepFlavorTask
39 )
40 
41 
pfSecondaryVertexTagInfos_cfi
jetMatch_cfi
bTagging_cff
jetFlavourId_cff
jetProducer_cfi
pfImpactParameterTagInfos_cfi
jetTracksCharge_cff
pfInclusiveSecondaryVertexFinderTagInfos_cfi
deepFlavour_cff
jetCorrections_cff