CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SoftLeptonByMVA_cff.py
Go to the documentation of this file.
2 
3 softPFElectronCommon = cms.PSet(
4  useCondDB = cms.bool(False),
5  gbrForestLabel = cms.string("btag_SoftPFElectron_TMVA420_BDT_74X_v1"),
6  weightFile = cms.FileInPath('RecoBTag/SoftLepton/data/SoftPFElectron_BDT.weights.xml.gz'),
7  useGBRForest = cms.bool(True),
8  useAdaBoost = cms.bool(False)
9 )
10 
11 softPFMuonCommon = cms.PSet(
12  useCondDB = cms.bool(False),
13  gbrForestLabel = cms.string("btag_SoftPFMuon_TMVA420_BDT_74X_v1"),
14  weightFile = cms.FileInPath('RecoBTag/SoftLepton/data/SoftPFMuon_BDT.weights.xml.gz'),
15  useGBRForest = cms.bool(True),
16  useAdaBoost = cms.bool(True)
17 )
18 
19 softPFElectronBJetTags = cms.EDProducer("JetTagProducer",
20  jetTagComputer = cms.string('softPFElectronComputer'),
21  tagInfos = cms.VInputTag(cms.InputTag("softPFElectronsTagInfos"))
22 )
23 softPFElectronComputer = cms.ESProducer("ElectronTaggerESProducer",
24  softPFElectronCommon,
25  ipSign = cms.string("any"),
26 )
27 negativeSoftPFElectronBJetTags = cms.EDProducer("JetTagProducer",
28  jetTagComputer = cms.string('negativeSoftPFElectronComputer'),
29  tagInfos = cms.VInputTag(cms.InputTag("softPFElectronsTagInfos"))
30 )
31 negativeSoftPFElectronComputer = cms.ESProducer("ElectronTaggerESProducer",
32  softPFElectronCommon,
33  ipSign = cms.string("negative")
34 )
35 positiveSoftPFElectronBJetTags = cms.EDProducer("JetTagProducer",
36  jetTagComputer = cms.string('positiveSoftPFElectronComputer'),
37  tagInfos = cms.VInputTag(cms.InputTag("softPFElectronsTagInfos"))
38 )
39 positiveSoftPFElectronComputer = cms.ESProducer("ElectronTaggerESProducer",
40  softPFElectronCommon,
41  ipSign = cms.string("positive")
42 )
43 softPFMuonBJetTags = cms.EDProducer("JetTagProducer",
44  jetTagComputer = cms.string('softPFMuonComputer'),
45  tagInfos = cms.VInputTag(cms.InputTag("softPFMuonsTagInfos"))
46 )
47 softPFMuonComputer = cms.ESProducer("MuonTaggerESProducer",
48  softPFMuonCommon,
49  ipSign = cms.string("any")
50 )
51 negativeSoftPFMuonBJetTags = cms.EDProducer("JetTagProducer",
52  jetTagComputer = cms.string('negativeSoftPFMuonComputer'),
53  tagInfos = cms.VInputTag(cms.InputTag("softPFMuonsTagInfos"))
54 )
55 negativeSoftPFMuonComputer = cms.ESProducer("MuonTaggerESProducer",
56  softPFMuonCommon,
57  ipSign = cms.string("negative")
58 )
59 positiveSoftPFMuonBJetTags = cms.EDProducer("JetTagProducer",
60  jetTagComputer = cms.string('positiveSoftPFMuonComputer'),
61  tagInfos = cms.VInputTag(cms.InputTag("softPFMuonsTagInfos"))
62 )
63 positiveSoftPFMuonComputer = cms.ESProducer("MuonTaggerESProducer",
64  softPFMuonCommon,
65  ipSign = cms.string("positive")
66 )