CMS 3D CMS Logo

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