Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:00:42

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def PATJetProducer(**kwargs):
0004   mod = cms.EDProducer('PATJetProducer',
0005     jetSource = cms.InputTag('no default'),
0006     embedCaloTowers = cms.bool(False),
0007     embedPFCandidates = cms.bool(True),
0008     addGenPartonMatch = cms.bool(True),
0009     embedGenPartonMatch = cms.bool(False),
0010     genPartonMatch = cms.InputTag(''),
0011     addGenJetMatch = cms.bool(True),
0012     embedGenJetMatch = cms.bool(False),
0013     genJetMatch = cms.InputTag(''),
0014     addJetCharge = cms.bool(True),
0015     jetChargeSource = cms.InputTag('patJetCharge'),
0016     addJetID = cms.bool(True),
0017     jetIDMap = cms.InputTag(''),
0018     addPartonJetMatch = cms.bool(False),
0019     partonJetSource = cms.InputTag('NOT IMPLEMENTED'),
0020     addAssociatedTracks = cms.bool(True),
0021     trackAssociationSource = cms.InputTag('ak4JTA'),
0022     addTagInfos = cms.bool(True),
0023     tagInfoSources = cms.VInputTag(),
0024     addJetCorrFactors = cms.bool(True),
0025     jetCorrFactorsSource = cms.VInputTag(),
0026     addBTagInfo = cms.bool(True),
0027     addDiscriminators = cms.bool(True),
0028     discriminatorSources = cms.VInputTag(),
0029     getJetMCFlavour = cms.bool(True),
0030     useLegacyJetMCFlavour = cms.bool(False),
0031     addJetFlavourInfo = cms.bool(False),
0032     JetPartonMapSource = cms.InputTag('jetFlavourAssociationLegacy'),
0033     JetFlavourInfoSource = cms.InputTag('jetFlavourAssociation'),
0034     addResolutions = cms.bool(False),
0035     resolutions = cms.PSet(),
0036     efficiencies = cms.PSet(),
0037     addEfficiencies = cms.bool(False),
0038     userData = cms.PSet(
0039       userClasses = cms.PSet(
0040         src = cms.required.VInputTag,
0041         labelPostfixesToStrip = cms.vstring()
0042       ),
0043       userFloats = cms.PSet(
0044         src = cms.required.VInputTag,
0045         labelPostfixesToStrip = cms.vstring()
0046       ),
0047       userInts = cms.PSet(
0048         src = cms.required.VInputTag,
0049         labelPostfixesToStrip = cms.vstring()
0050       ),
0051       userCands = cms.PSet(
0052         src = cms.required.VInputTag,
0053         labelPostfixesToStrip = cms.vstring()
0054       ),
0055       userFunctions = cms.vstring(),
0056       userFunctionLabels = cms.vstring()
0057     ),
0058     mightGet = cms.optional.untracked.vstring
0059   )
0060   for k,v in kwargs.items():
0061     setattr(mod, k, v)
0062   return mod