CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
jetProducer_cfi.py
Go to the documentation of this file.
2 
3 patJets = cms.EDProducer("PATJetProducer",
4  # input
5  jetSource = cms.InputTag("ak5CaloJets"),
6 
7  # add user data
8  userData = cms.PSet(
9  # add custom classes here
10  userClasses = cms.PSet(
11  src = cms.VInputTag('')
12  ),
13  # add doubles here
14  userFloats = cms.PSet(
15  src = cms.VInputTag('')
16  ),
17  # add ints here
18  userInts = cms.PSet(
19  src = cms.VInputTag('')
20  ),
21  # add candidate ptrs here
22  userCands = cms.PSet(
23  src = cms.VInputTag('')
24  ),
25  # add "inline" functions here
26  userFunctions = cms.vstring(),
27  userFunctionLabels = cms.vstring()
28  ),
29 
30  # embedding of AOD items
31  embedCaloTowers = cms.bool(True), ## switch on/off embedding of supercluster (externally stored in AOD)
32  embedPFCandidates = cms.bool(True),
33 
34  # jet energy corrections
35  addJetCorrFactors = cms.bool(True),
36  jetCorrFactorsSource = cms.VInputTag(cms.InputTag("patJetCorrFactors") ),
37 
38  # btag information
39  addBTagInfo = cms.bool(True), ## master switch
40  addDiscriminators = cms.bool(True), ## addition btag discriminators
41  discriminatorSources = cms.VInputTag(
42  cms.InputTag("combinedSecondaryVertexBJetTags"),
43  cms.InputTag("combinedSecondaryVertexMVABJetTags"),
44  cms.InputTag("jetBProbabilityBJetTags"),
45  cms.InputTag("jetProbabilityBJetTags"),
46  cms.InputTag("simpleSecondaryVertexHighEffBJetTags"),
47  cms.InputTag("simpleSecondaryVertexHighPurBJetTags"),
48  cms.InputTag("softElectronByPtBJetTags"),
49  cms.InputTag("softElectronByIP3dBJetTags"),
50  cms.InputTag("softMuonBJetTags"),
51  cms.InputTag("softMuonByPtBJetTags"),
52  cms.InputTag("softMuonByIP3dBJetTags"),
53  cms.InputTag("trackCountingHighEffBJetTags"),
54  cms.InputTag("trackCountingHighPurBJetTags"),
55  ),
56  # clone tag infos ATTENTION: these take lots of space!
57  # usually the discriminators from the default algos
58  # are sufficient
59  addTagInfos = cms.bool(False),
60  tagInfoSources = cms.VInputTag(),
61 
62  # track association
63  addAssociatedTracks = cms.bool(True),
64  trackAssociationSource = cms.InputTag("ak5JetTracksAssociatorAtVertex"),
65 
66  # jet charge
67  addJetCharge = cms.bool(True),
68  jetChargeSource = cms.InputTag("patJetCharge"),
69 
70  # add jet ID
71  addJetID = cms.bool(True),
72  jetIDMap = cms.InputTag("ak5JetID"),
73 
74  # mc matching
75  addGenPartonMatch = cms.bool(True), ## switch on/off matching to quarks from hard scatterin
76  embedGenPartonMatch = cms.bool(True), ## switch on/off embedding of the GenParticle parton for this jet
77  genPartonMatch = cms.InputTag("patJetPartonMatch"), ## particles source to be used for the matching
78  addGenJetMatch = cms.bool(True), ## switch on/off matching to GenJet's
79  embedGenJetMatch = cms.bool(True), ## switch on/off embedding of matched genJet's
80  genJetMatch = cms.InputTag("patJetGenJetMatch"), ## GenJet source to be used for the matching
81  addPartonJetMatch = cms.bool(False), ## switch on/off matching to PartonJet's (not implemented yet)
82  partonJetSource = cms.InputTag("NOT_IMPLEMENTED"), ## ParticleJet source to be used for the matching
83 
84  # jet flavour idetification configurables
85  getJetMCFlavour = cms.bool(True),
86  JetPartonMapSource = cms.InputTag("patJetFlavourAssociation"),
87 
88  # efficiencies
89  addEfficiencies = cms.bool(False),
90  efficiencies = cms.PSet(),
91 
92  # resolution
93  addResolutions = cms.bool(False),
94  resolutions = cms.PSet()
95 )
96 
97