CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/PhysicsTools/PatAlgos/python/mcMatchLayer0/jetFlavourId_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 patJetPartons = cms.EDProducer("PartonSelector",
00004     withLeptons = cms.bool(False),
00005     src = cms.InputTag("genParticles")                            
00006 )
00007 
00008 patJetPartonAssociation = cms.EDProducer("JetPartonMatcher",
00009     jets    = cms.InputTag("ak5CaloJets"),
00010     partons = cms.InputTag("patJetPartons"),
00011     coneSizeToAssociate = cms.double(0.3),
00012 )
00013 
00014 patJetFlavourAssociation = cms.EDProducer("JetFlavourIdentifier",
00015     srcByReference    = cms.InputTag("patJetPartonAssociation"),
00016     physicsDefinition = cms.bool(False)
00017 )
00018 
00019 # default PAT sequence for jet flavour identification
00020 patJetFlavourId = cms.Sequence(patJetPartons * patJetPartonAssociation * patJetFlavourAssociation)
00021