test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
KT4CaloJetsMCFlavour_cff.py
Go to the documentation of this file.
2 
3 # Flavour byReference
4 KT4byRef = cms.EDProducer("JetPartonMatcher",
5  jets = cms.InputTag("kt4CaloJets"),
6  coneSizeToAssociate = cms.double(0.3),
7  partons = cms.InputTag("myPartons")
8 )
9 
10 # Flavour byValue PhysDef
11 KT4byValPhys = cms.EDProducer("JetFlavourIdentifier",
12  srcByReference = cms.InputTag("KT4byRef"),
13  physicsDefinition = cms.bool(True),
14  leptonInfo = cms.bool(True)
15 )
16 
17 # Flavour byValue AlgoDef
18 KT4byValAlgo = cms.EDProducer("JetFlavourIdentifier",
19  srcByReference = cms.InputTag("KT4byRef"),
20  physicsDefinition = cms.bool(False),
21  leptonInfo = cms.bool(True)
22 )