CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
jetFlavourId_cff.py
Go to the documentation of this file.
2 
3 patJetPartons = cms.EDProducer("PartonSelector",
4  withLeptons = cms.bool(False),
5  src = cms.InputTag("genParticles")
6 )
7 
8 patJetPartonAssociation = cms.EDProducer("JetPartonMatcher",
9  jets = cms.InputTag("ak5PFJetsCHS"),
10  partons = cms.InputTag("patJetPartons"),
11  coneSizeToAssociate = cms.double(0.3),
12 )
13 
14 patJetFlavourAssociation = cms.EDProducer("JetFlavourIdentifier",
15  srcByReference = cms.InputTag("patJetPartonAssociation"),
16  physicsDefinition = cms.bool(False)
17 )
18 
19 # default PAT sequence for jet flavour identification
20 patJetFlavourId = cms.Sequence(patJetPartons * patJetPartonAssociation * patJetFlavourAssociation)
21