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  # jet energy corrections
29  addJetCorrFactors = cms.bool(True),
30  jetCorrFactorsSource = cms.VInputTag(cms.InputTag("updatedPatJetCorrFactors") ),
31  # btag information
32  addBTagInfo = cms.bool(True), ## master switch
33  addDiscriminators = cms.bool(True), ## addition of btag discriminators
34  discriminatorSources = cms.VInputTag(),
35  # clone tag infos ATTENTION: these take lots of space!
36  # usually the discriminators from the default algos
37  # are sufficient
38  addTagInfos = cms.bool(False),
39  tagInfoSources = cms.VInputTag(),
40  printWarning = cms.bool(True)
41 )
42 
43