CMS 3D CMS Logo

AK7CaloJetsMCFlavour_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Flavour byReference
4 AK7byRef = cms.EDProducer("JetPartonMatcher",
5  jets = cms.InputTag("ak7CaloJets"),
6  coneSizeToAssociate = cms.double(0.3),
7  partons = cms.InputTag("myPartons")
8 )
9 
10 # Flavour byValue PhysDef
11 AK7byValPhys = cms.EDProducer("JetFlavourIdentifier",
12  srcByReference = cms.InputTag("AK7byRef"),
13  physicsDefinition = cms.bool(True),
14  leptonInfo = cms.bool(True)
15 )
16 
17 # Flavour byValue AlgoDef
18 AK7byValAlgo = cms.EDProducer("JetFlavourIdentifier",
19  srcByReference = cms.InputTag("AK7byRef"),
20  physicsDefinition = cms.bool(False),
21  leptonInfo = cms.bool(True)
22 )