CMS 3D CMS Logo

jetUpdater_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 updatedPatJets = cms.EDProducer("PATJetUpdater",
4  # input
5  jetSource = cms.InputTag("slimmedJets"),
6  # add user data
7  userData = cms.PSet(
8  # add custom classes here
9  userClasses = cms.PSet(
10  src = cms.VInputTag('')
11  ),
12  # add doubles here
13  userFloats = cms.PSet(
14  src = cms.VInputTag('')
15  ),
16  # add ints here
17  userInts = cms.PSet(
18  src = cms.VInputTag('')
19  ),
20  # add candidate ptrs here
21  userCands = cms.PSet(
22  src = cms.VInputTag('')
23  ),
24  # add "inline" functions here
25  userFunctions = cms.vstring(),
26  userFunctionLabels = cms.vstring()
27  ),
28  # sort
29  sort = cms.bool(True),
30  # jet energy corrections
31  addJetCorrFactors = cms.bool(True),
32  jetCorrFactorsSource = cms.VInputTag(cms.InputTag("updatedPatJetCorrFactors") ),
33  # btag information
34  addBTagInfo = cms.bool(True),
35  addDiscriminators = cms.bool(True),
36  discriminatorSources = cms.VInputTag(),
37  # clone tag infos ATTENTION: these take lots of space!
38  # usually the discriminators from the default algos
39  # are sufficient
40  addTagInfos = cms.bool(False),
41  tagInfoSources = cms.VInputTag(),
42  printWarning = cms.bool(True)
43 )
44 
45