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  # 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  # embedding of RECO items (do not use on AOD input!)
29  #embedCaloTowers = cms.bool(False), # optional
30  # embedding of AOD items
31  embedPFCandidates = cms.bool(False),
32  # jet energy corrections
33  addJetCorrFactors = cms.bool(True),
34  jetCorrFactorsSource = cms.VInputTag(cms.InputTag("patJetCorrFactors") ),
35  # btag information
36  addBTagInfo = cms.bool(True), ## master switch
37  addDiscriminators = cms.bool(True), ## addition btag discriminators
38  discriminatorSources = cms.VInputTag(
39  cms.InputTag("combinedSecondaryVertexBJetTags"),
40  cms.InputTag("combinedSecondaryVertexMVABJetTags"),
41  cms.InputTag("jetBProbabilityBJetTags"),
42  cms.InputTag("jetProbabilityBJetTags"),
43  cms.InputTag("simpleSecondaryVertexHighEffBJetTags"),
44  cms.InputTag("simpleSecondaryVertexHighPurBJetTags"),
45  cms.InputTag("softElectronByPtBJetTags"),
46  cms.InputTag("softElectronByIP3dBJetTags"),
47  cms.InputTag("softMuonBJetTags"),
48  cms.InputTag("softMuonByPtBJetTags"),
49  cms.InputTag("softMuonByIP3dBJetTags"),
50  cms.InputTag("trackCountingHighEffBJetTags"),
51  cms.InputTag("trackCountingHighPurBJetTags"),
52  ),
53  # clone tag infos ATTENTION: these take lots of space!
54  # usually the discriminators from the default algos
55  # are sufficient
56  addTagInfos = cms.bool(False),
57  tagInfoSources = cms.VInputTag(),
58  # track association
59  addAssociatedTracks = cms.bool(True),
60  trackAssociationSource = cms.InputTag("ak5JetTracksAssociatorAtVertex"),
61  # jet charge
62  addJetCharge = cms.bool(True),
63  jetChargeSource = cms.InputTag("patJetCharge"),
64  # add jet ID for calo jets. This should be of type ak5JetID, ak7JetID, ...
65  addJetID = cms.bool(False),
66  jetIDMap = cms.InputTag("ak5JetID"),
67  # mc matching
68  addGenPartonMatch = cms.bool(True), ## switch on/off matching to quarks from hard scatterin
69  embedGenPartonMatch = cms.bool(True), ## switch on/off embedding of the GenParticle parton for this jet
70  genPartonMatch = cms.InputTag("patJetPartonMatch"), ## particles source to be used for the matching
71  addGenJetMatch = cms.bool(True), ## switch on/off matching to GenJet's
72  embedGenJetMatch = cms.bool(True), ## switch on/off embedding of matched genJet's
73  genJetMatch = cms.InputTag("patJetGenJetMatch"), ## GenJet source to be used for the matching
74  addPartonJetMatch = cms.bool(False), ## switch on/off matching to PartonJet's (not implemented yet)
75  partonJetSource = cms.InputTag("NOT_IMPLEMENTED"), ## ParticleJet source to be used for the matching
76  # jet flavour idetification configurables
77  getJetMCFlavour = cms.bool(True),
78  JetPartonMapSource = cms.InputTag("patJetFlavourAssociation"),
79  # efficiencies
80  addEfficiencies = cms.bool(False),
81  efficiencies = cms.PSet(),
82  # resolution
83  addResolutions = cms.bool(False),
84  resolutions = cms.PSet()
85 )
86 
87