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 
22 _makePatJetsTaskHI = cms.Task(
23  recoJetsHIpostAODTask,
24  makePatJetsTask.copy()
25 )
26 
27 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
28 pp_on_AA.toReplaceWith(makePatJetsTask, _makePatJetsTaskHI)
29 
30 makePatJets = cms.Sequence(makePatJetsTask)
31 
32 from RecoBTag.ImpactParameter.pfImpactParameterTagInfos_cfi import * #pfImpactParameterTagInfos
33 from RecoBTag.SecondaryVertex.pfSecondaryVertexTagInfos_cfi import * #pfSecondaryVertexTagInfos
34 from RecoBTag.SecondaryVertex.pfInclusiveSecondaryVertexFinderTagInfos_cfi import * #pfInclusiveSecondaryVertexFinderTagInfos
35 from RecoBTag.Combined.deepFlavour_cff import * #pfDeepCSVTask
36 
37 #make a copy to avoid labels and substitution problems
38 _makePatJetsWithDeepFlavorTask = makePatJetsTask.copy()
39 _makePatJetsWithDeepFlavorTask.add(
40  pfImpactParameterTagInfos,
41  pfSecondaryVertexTagInfos,
42  pfInclusiveSecondaryVertexFinderTagInfos,
43  pfDeepCSVTask
44 )
45 
46 from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff import run2_miniAOD_80XLegacy
47 run2_miniAOD_80XLegacy.toReplaceWith(
48  makePatJetsTask, _makePatJetsWithDeepFlavorTask
49 )
50 
51