1 import FWCore.ParameterSet.Config
as cms
3 softPFElectronCommon = cms.PSet(
4 useCondDB = cms.bool(
True),
5 gbrForestLabel = cms.string(
"btag_SoftPFElectron_BDT"),
6 weightFile = cms.FileInPath(
'RecoBTag/SoftLepton/data/SoftPFElectron_BDT.weights.xml.gz'),
7 useGBRForest = cms.bool(
True),
8 useAdaBoost = cms.bool(
False)
11 softPFMuonCommon = cms.PSet(
12 useCondDB = cms.bool(
True),
13 gbrForestLabel = cms.string(
"btag_SoftPFMuon_BDT"),
14 weightFile = cms.FileInPath(
'RecoBTag/SoftLepton/data/SoftPFMuon_BDT.weights.xml.gz'),
15 useGBRForest = cms.bool(
True),
16 useAdaBoost = cms.bool(
True)
19 softPFElectronBJetTags = cms.EDProducer(
"JetTagProducer",
20 jetTagComputer = cms.string(
'softPFElectronComputer'),
21 tagInfos = cms.VInputTag(cms.InputTag(
"softPFElectronsTagInfos"))
23 softPFElectronComputer = cms.ESProducer(
"ElectronTaggerESProducer",
25 ipSign = cms.string(
"any"),
27 negativeSoftPFElectronBJetTags = cms.EDProducer(
"JetTagProducer",
28 jetTagComputer = cms.string(
'negativeSoftPFElectronComputer'),
29 tagInfos = cms.VInputTag(cms.InputTag(
"softPFElectronsTagInfos"))
31 negativeSoftPFElectronComputer = cms.ESProducer(
"ElectronTaggerESProducer",
33 ipSign = cms.string(
"negative")
35 positiveSoftPFElectronBJetTags = cms.EDProducer(
"JetTagProducer",
36 jetTagComputer = cms.string(
'positiveSoftPFElectronComputer'),
37 tagInfos = cms.VInputTag(cms.InputTag(
"softPFElectronsTagInfos"))
39 positiveSoftPFElectronComputer = cms.ESProducer(
"ElectronTaggerESProducer",
41 ipSign = cms.string(
"positive")
43 softPFMuonBJetTags = cms.EDProducer(
"JetTagProducer",
44 jetTagComputer = cms.string(
'softPFMuonComputer'),
45 tagInfos = cms.VInputTag(cms.InputTag(
"softPFMuonsTagInfos"))
47 softPFMuonComputer = cms.ESProducer(
"MuonTaggerESProducer",
49 ipSign = cms.string(
"any")
51 negativeSoftPFMuonBJetTags = cms.EDProducer(
"JetTagProducer",
52 jetTagComputer = cms.string(
'negativeSoftPFMuonComputer'),
53 tagInfos = cms.VInputTag(cms.InputTag(
"softPFMuonsTagInfos"))
55 negativeSoftPFMuonComputer = cms.ESProducer(
"MuonTaggerESProducer",
57 ipSign = cms.string(
"negative")
59 positiveSoftPFMuonBJetTags = cms.EDProducer(
"JetTagProducer",
60 jetTagComputer = cms.string(
'positiveSoftPFMuonComputer'),
61 tagInfos = cms.VInputTag(cms.InputTag(
"softPFMuonsTagInfos"))
63 positiveSoftPFMuonComputer = cms.ESProducer(
"MuonTaggerESProducer",
65 ipSign = cms.string(
"positive")