CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
hltBtagJetMCTools_cff.py
Go to the documentation of this file.
1 #define hltBtagJetMCTools for jet/parton matching
2 
3 import FWCore.ParameterSet.Config as cms
4 
5 hltBtagPartons = cms.EDProducer("PartonSelector",
6  src = cms.InputTag("genParticles"),
7  withLeptons = cms.bool(False)
8 )
9 
10 hltBtagJetsbyRef = cms.EDProducer("JetPartonMatcher",
11  jets = cms.InputTag("hltBtagCaloJetL1FastJetCorrected","","HLT"),
12  coneSizeToAssociate = cms.double(0.3),
13  partons = cms.InputTag("hltBtagPartons")
14 )
15 
16 hltBtagJetsbyValAlgo = cms.EDProducer("JetFlavourIdentifier",
17  srcByReference = cms.InputTag("hltBtagJetsbyRef"),
18  physicsDefinition = cms.bool(False)
19 )
20 
21 hltBtagJetMCTools = cms.Sequence(hltBtagPartons*hltBtagJetsbyRef*hltBtagJetsbyValAlgo)