CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/PhysicsTools/PatAlgos/python/producersLayer1/jetProducer_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 patJets = cms.EDProducer("PATJetProducer",
00004     # input
00005     jetSource = cms.InputTag("ak5CaloJets"),
00006                                
00007     # add user data
00008     userData = cms.PSet(
00009       # add custom classes here
00010       userClasses = cms.PSet(
00011         src = cms.VInputTag('')
00012       ),
00013       # add doubles here
00014       userFloats = cms.PSet(
00015         src = cms.VInputTag('')
00016       ),
00017       # add ints here
00018       userInts = cms.PSet(
00019         src = cms.VInputTag('')
00020       ),
00021       # add candidate ptrs here
00022       userCands = cms.PSet(
00023         src = cms.VInputTag('')
00024       ),
00025       # add "inline" functions here
00026       userFunctions = cms.vstring(),
00027       userFunctionLabels = cms.vstring()
00028     ),
00029     
00030     # embedding of AOD items
00031     embedCaloTowers = cms.bool(True), ## switch on/off embedding of supercluster (externally stored in AOD)
00032     embedPFCandidates = cms.bool(True), 
00033 
00034     # jet energy corrections
00035     addJetCorrFactors    = cms.bool(True),
00036     jetCorrFactorsSource = cms.VInputTag(cms.InputTag("patJetCorrFactors") ),
00037 
00038     # btag information
00039     addBTagInfo          = cms.bool(True),   ## master switch
00040     addDiscriminators    = cms.bool(True),   ## addition btag discriminators
00041     discriminatorSources = cms.VInputTag(
00042         cms.InputTag("combinedSecondaryVertexBJetTags"),
00043         cms.InputTag("combinedSecondaryVertexMVABJetTags"),
00044         cms.InputTag("jetBProbabilityBJetTags"),
00045         cms.InputTag("jetProbabilityBJetTags"),
00046         cms.InputTag("simpleSecondaryVertexHighEffBJetTags"),
00047         cms.InputTag("simpleSecondaryVertexHighPurBJetTags"),
00048         cms.InputTag("softElectronByPtBJetTags"),                
00049         cms.InputTag("softElectronByIP3dBJetTags"),
00050         cms.InputTag("softMuonBJetTags"),
00051         cms.InputTag("softMuonByPtBJetTags"),                
00052         cms.InputTag("softMuonByIP3dBJetTags"),
00053         cms.InputTag("trackCountingHighEffBJetTags"),
00054         cms.InputTag("trackCountingHighPurBJetTags"),
00055     ),
00056     # clone tag infos ATTENTION: these take lots of space!
00057     # usually the discriminators from the default algos
00058     # are sufficient
00059     addTagInfos     = cms.bool(False),
00060     tagInfoSources  = cms.VInputTag(),
00061 
00062     # track association
00063     addAssociatedTracks    = cms.bool(True),
00064     trackAssociationSource = cms.InputTag("ak5JetTracksAssociatorAtVertex"),
00065 
00066     # jet charge
00067     addJetCharge    = cms.bool(True),
00068     jetChargeSource = cms.InputTag("patJetCharge"),
00069 
00070     # add jet ID
00071     addJetID = cms.bool(True),
00072     jetIDMap = cms.InputTag("ak5JetID"),
00073 
00074     # mc matching
00075     addGenPartonMatch   = cms.bool(True),                           ## switch on/off matching to quarks from hard scatterin
00076     embedGenPartonMatch = cms.bool(True),                           ## switch on/off embedding of the GenParticle parton for this jet
00077     genPartonMatch      = cms.InputTag("patJetPartonMatch"),        ## particles source to be used for the matching
00078     addGenJetMatch      = cms.bool(True),                           ## switch on/off matching to GenJet's
00079     embedGenJetMatch    = cms.bool(True),                           ## switch on/off embedding of matched genJet's
00080     genJetMatch         = cms.InputTag("patJetGenJetMatch"),        ## GenJet source to be used for the matching
00081     addPartonJetMatch   = cms.bool(False),                          ## switch on/off matching to PartonJet's (not implemented yet)
00082     partonJetSource     = cms.InputTag("NOT_IMPLEMENTED"),          ## ParticleJet source to be used for the matching
00083 
00084     # jet flavour idetification configurables
00085     getJetMCFlavour    = cms.bool(True),
00086     JetPartonMapSource = cms.InputTag("patJetFlavourAssociation"),
00087 
00088     # efficiencies
00089     addEfficiencies = cms.bool(False),
00090     efficiencies    = cms.PSet(),
00091 
00092     # resolution
00093     addResolutions = cms.bool(False),
00094     resolutions     = cms.PSet()
00095 )
00096 
00097