CMS 3D CMS Logo

jetProducer_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 allLayer1Jets = cms.EDProducer("PATJetProducer",
00004     # General configurables
00005     jetSource = cms.InputTag("iterativeCone5CaloJets"),
00006 
00007                                
00008     # user data to add
00009     userData = cms.PSet(
00010       # add custom classes here
00011       userClasses = cms.PSet(
00012         src = cms.VInputTag('')
00013       ),
00014       # add doubles here
00015       userFloats = cms.PSet(
00016         src = cms.VInputTag('')
00017       ),
00018       # add ints here
00019       userInts = cms.PSet(
00020         src = cms.VInputTag('')
00021       ),
00022       # add "inline" functions here
00023       userFunctions = cms.vstring(""),
00024       userFunctionLabels = cms.vstring("")
00025     ),
00026     
00027     # Embedding of AOD items
00028     embedCaloTowers = cms.bool(False), ## switch on/off embedding of supercluster (externally stored in AOD)
00029 
00030     # Jet Energy Corrections to appy and store
00031     addJetCorrFactors    = cms.bool(True),
00032     jetCorrFactorsSource = cms.VInputTag( cms.InputTag("jetCorrFactors") ), 
00033     
00034     # resolution configurables
00035     addResolutions = cms.bool(False),
00036 
00037     # -- BTagging information ---
00038     addBTagInfo = cms.bool(True), # master switch
00039     # copy discriminators in the pat::Jet
00040     addDiscriminators   = cms.bool(True),   ## switch on/off the addition of the btag discriminators
00041     discriminatorSources = cms.VInputTag(
00042         cms.InputTag("combinedSecondaryVertexBJetTags"),
00043         cms.InputTag("combinedSecondaryVertexMVABJetTags"),
00044         cms.InputTag("impactParameterMVABJetTags"),
00045         cms.InputTag("jetBProbabilityBJetTags"),
00046         cms.InputTag("jetProbabilityBJetTags"),
00047         cms.InputTag("simpleSecondaryVertexBJetTags"),
00048         cms.InputTag("softElectronBJetTags"),
00049         cms.InputTag("softMuonBJetTags"),
00050         cms.InputTag("softMuonNoIPBJetTags"),
00051         cms.InputTag("trackCountingHighEffBJetTags"),
00052         cms.InputTag("trackCountingHighPurBJetTags"),
00053     ),
00054     # clone tag infos in the pat::Jet
00055     # watch out: these take lots of space!
00056     # usually the discriminators from the default algos suffice
00057     addTagInfos = cms.bool(True),
00058     tagInfoSources  = cms.VInputTag(
00059         cms.InputTag("secondaryVertexTagInfos"),
00060         cms.InputTag("softElectronTagInfos"), 
00061         cms.InputTag("softMuonTagInfos"),
00062         cms.InputTag("impactParameterTagInfos"),
00063     ),
00064 
00065     # track association configurables
00066     addAssociatedTracks    = cms.bool(True),
00067     trackAssociationSource = cms.InputTag("ic5JetTracksAssociatorAtVertex"), ## now a standard reco::JetTracksAssociation::Container
00068 
00069     # Jet charge configurables
00070     addJetCharge    = cms.bool(True),
00071     jetChargeSource = cms.InputTag("patJetCharge"), ## the jet charge values
00072 
00073     # Trigger matching configurables
00074     addTrigMatch = cms.bool(True),
00075     # trigger primitive sources to be used for the matching
00076     trigPrimMatch = cms.VInputTag(cms.InputTag("jetTrigMatchHLT1ElectronRelaxed"), cms.InputTag("jetTrigMatchHLT2jet")),
00077 
00078     # MC matching configurables
00079     addGenPartonMatch = cms.bool(True),                 ## switch on/off matching to quarks from hard scatterin
00080     embedGenPartonMatch = cms.bool(False),              ## switch on/off embedding of the GenParticle parton for this jet
00081     genPartonMatch    = cms.InputTag("jetPartonMatch"), ## particles source to be used for the matching
00082     addGenJetMatch    = cms.bool(True),                 ## switch on/off matching to GenJet's
00083     genJetMatch       = cms.InputTag("jetGenJetMatch"), ## GenJet source to be used for the matching
00084     addPartonJetMatch = cms.bool(False),                ## switch on/off matching to PartonJet's (not implemented yet)
00085     partonJetSource   = cms.InputTag("NOT_IMPLEMENTED"),## ParticleJet source to be used for the matching
00086 
00087     # Jet flavour idetification configurables
00088     getJetMCFlavour    = cms.bool(True),
00089     JetPartonMapSource = cms.InputTag("jetFlavourAssociation"), ## the match-collection, produced by default from PATHighLevelReco.cff
00090 
00091     # Efficiencies
00092     addEfficiencies = cms.bool(False),
00093     efficiencies    = cms.PSet(),
00094 )
00095 
00096 

Generated on Tue Jun 9 17:41:44 2009 for CMSSW by  doxygen 1.5.4