CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SoftLeptonByMVAComputers_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
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)
9 )
10 
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)
17 )
18 
19 softPFElectronComputer = cms.ESProducer("ElectronTaggerESProducer",
20  softPFElectronCommon,
21  ipSign = cms.string("any"),
22 )
23 
24 negativeSoftPFElectronComputer = cms.ESProducer("ElectronTaggerESProducer",
25  softPFElectronCommon,
26  ipSign = cms.string("negative")
27 )
28 
29 positiveSoftPFElectronComputer = cms.ESProducer("ElectronTaggerESProducer",
30  softPFElectronCommon,
31  ipSign = cms.string("positive")
32 )
33 
34 softPFMuonComputer = cms.ESProducer("MuonTaggerESProducer",
35  softPFMuonCommon,
36  ipSign = cms.string("any")
37 )
38 
39 negativeSoftPFMuonComputer = cms.ESProducer("MuonTaggerESProducer",
40  softPFMuonCommon,
41  ipSign = cms.string("negative")
42 )
43 
44 positiveSoftPFMuonComputer = cms.ESProducer("MuonTaggerESProducer",
45  softPFMuonCommon,
46  ipSign = cms.string("positive")
47 )