1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#define hltBtagJetMCTools for jet/parton matching
import FWCore.ParameterSet.Config as cms
hltBtagPartons = cms.EDProducer("PartonSelector",
src = cms.InputTag("genParticles"),
withLeptons = cms.bool(False)
)
hltBtagJetsbyRef = cms.EDProducer("JetPartonMatcher",
jets = cms.InputTag("hltBtagCaloJetL1FastJetCorrected","","HLT"),
coneSizeToAssociate = cms.double(0.3),
partons = cms.InputTag("hltBtagPartons")
)
hltBtagJetsbyValAlgo = cms.EDProducer("JetFlavourIdentifier",
srcByReference = cms.InputTag("hltBtagJetsbyRef"),
physicsDefinition = cms.bool(False)
)
hltBtagJetMCTools = cms.Sequence(hltBtagPartons*hltBtagJetsbyRef*hltBtagJetsbyValAlgo)
|