9 '''Contrary to its name, replace the MVA input by local root files for all MVA discriminators
11 usage: add following 2 lines to your config file in order to execute this function:
13 from RecoTauTag.Configuration.switchMVAtoDB_cfi import switchMVAtoDB
14 process = switchMVAtoDB(process)
16 The function takes no parameters. The names of the input root files are defined in
17 RecoTauTag/Configuration/python/switchMVAtoDB_cff.py (parameter inputFileName).
20 massSearchReplaceParam(getattr(process,
"produceAndDiscriminateHPSPFTaus"),
"loadMVAfromDB", cms.bool(
True), cms.bool(
False))
22 process.hpsPFTauDiscriminationByMVArawMuonRejection.mvaName = cms.string(
"againstMuonMVA")
23 process.hpsPFTauDiscriminationByMVArawMuonRejection.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/gbrDiscriminationAgainstMuonMVA.root')
24 massSearchReplaceParam(getattr(process,
"produceAndDiscriminateHPSPFTaus"),
"mvaOutput_normalization", cms.string(
"RecoTauTag_againstMuonMVAv1_mvaOutput_normalization"), cms.string(
"mvaOutput_normalization_opt2"))
25 process.hpsPFTauDiscriminationByMVALooseMuonRejection.mapping[0].cut = cms.string(
"opt2eff99_5")
26 process.hpsPFTauDiscriminationByMVAMediumMuonRejection.mapping[0].cut = cms.string(
"opt2eff99_0")
27 process.hpsPFTauDiscriminationByMVATightMuonRejection.mapping[0].cut = cms.string(
"opt2eff98_0")
29 process.hpsPFTauDiscriminationByMVALooseMuonRejection.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByMVAMuonRejection.root')
30 process.hpsPFTauDiscriminationByMVAMediumMuonRejection.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByMVAMuonRejection.root')
31 process.hpsPFTauDiscriminationByMVATightMuonRejection.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByMVAMuonRejection.root')
34 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.mvaName_woGwoGSF_EC = cms.string(
'gbr_woGwoGSF_EC')
35 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.mvaName_woGwGSF_EC = cms.string(
'gbr_woGwGSF_EC')
36 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.mvaName_wGwoGSF_EC = cms.string(
'gbr_wGwoGSF_EC')
37 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.mvaName_wGwGSF_EC = cms.string(
'gbr_wGwGSF_EC')
38 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.mvaName_woGwoGSF_BL = cms.string(
'gbr_woGwoGSF_BL')
39 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.mvaName_woGwGSF_BL = cms.string(
'gbr_woGwGSF_BL')
40 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.mvaName_wGwoGSF_BL = cms.string(
'gbr_wGwoGSF_BL')
41 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.mvaName_wGwGSF_BL = cms.string(
'gbr_wGwGSF_BL')
43 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.mvaName_NoEleMatch_woGwoGSF_EC = cms.string(
'gbr_NoEleMatch_woGwoGSF_EC')
44 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.mvaName_NoEleMatch_woGwGSF_EC = cms.string(
'gbr_NoEleMatch_woGwGSF_EC')
45 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.mvaName_NoEleMatch_wGwoGSF_EC = cms.string(
'gbr_NoEleMatch_wGwoGSF_EC')
46 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.mvaName_NoEleMatch_wGwGSF_EC = cms.string(
'gbr_NoEleMatch_wGwGSF_EC')
47 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.mvaName_NoEleMatch_woGwoGSF_BL = cms.string(
'gbr_NoEleMatch_woGwoGSF_BL')
48 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.mvaName_NoEleMatch_woGwGSF_BL = cms.string(
'gbr_NoEleMatch_woGwGSF_BL')
49 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.mvaName_NoEleMatch_wGwoGSF_BL = cms.string(
'gbr_NoEleMatch_wGwoGSF_BL')
50 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.mvaName_NoEleMatch_wGwGSF_BL = cms.string(
'gbr_NoEleMatch_wGwGSF_BL')
52 process.hpsPFTauDiscriminationByMVA5rawElectronRejection.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/gbrDiscriminationAgainstElectronMVA5.root')
54 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.mapping[0].cut = cms.string(
"eff99cat0")
55 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.mapping[1].cut = cms.string(
"eff99cat1")
56 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.mapping[2].cut = cms.string(
"eff99cat2")
57 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.mapping[3].cut = cms.string(
"eff99cat3")
58 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.mapping[4].cut = cms.string(
"eff99cat4")
59 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.mapping[5].cut = cms.string(
"eff99cat5")
60 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.mapping[6].cut = cms.string(
"eff99cat6")
61 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.mapping[7].cut = cms.string(
"eff99cat7")
62 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.mapping[8].cut = cms.string(
"eff99cat8")
63 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.mapping[9].cut = cms.string(
"eff99cat9")
64 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.mapping[10].cut = cms.string(
"eff99cat10")
65 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.mapping[11].cut = cms.string(
"eff99cat11")
66 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.mapping[12].cut = cms.string(
"eff99cat12")
67 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.mapping[13].cut = cms.string(
"eff99cat13")
68 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.mapping[14].cut = cms.string(
"eff99cat14")
69 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.mapping[15].cut = cms.string(
"eff99cat15")
71 process.hpsPFTauDiscriminationByMVA5VLooseElectronRejection.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationAgainstElectronMVA5.root')
73 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[0].cut = cms.string(
"eff96cat0")
74 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[1].cut = cms.string(
"eff96cat1")
75 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[2].cut = cms.string(
"eff96cat2")
76 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[3].cut = cms.string(
"eff96cat3")
77 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[4].cut = cms.string(
"eff96cat4")
78 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[5].cut = cms.string(
"eff96cat5")
79 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[6].cut = cms.string(
"eff96cat6")
80 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[7].cut = cms.string(
"eff96cat7")
81 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[8].cut = cms.string(
"eff96cat8")
82 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[9].cut = cms.string(
"eff96cat9")
83 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[10].cut = cms.string(
"eff96cat10")
84 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[11].cut = cms.string(
"eff96cat11")
85 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[12].cut = cms.string(
"eff96cat12")
86 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[13].cut = cms.string(
"eff96cat13")
87 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[14].cut = cms.string(
"eff96cat14")
88 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.mapping[15].cut = cms.string(
"eff96cat15")
90 process.hpsPFTauDiscriminationByMVA5LooseElectronRejection.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationAgainstElectronMVA5.root')
92 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[0].cut = cms.string(
"eff91cat0")
93 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[1].cut = cms.string(
"eff91cat1")
94 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[2].cut = cms.string(
"eff91cat2")
95 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[3].cut = cms.string(
"eff91cat3")
96 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[4].cut = cms.string(
"eff91cat4")
97 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[5].cut = cms.string(
"eff91cat5")
98 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[6].cut = cms.string(
"eff91cat6")
99 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[7].cut = cms.string(
"eff91cat7")
100 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[8].cut = cms.string(
"eff91cat8")
101 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[9].cut = cms.string(
"eff91cat9")
102 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[10].cut = cms.string(
"eff91cat10")
103 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[11].cut = cms.string(
"eff91cat11")
104 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[12].cut = cms.string(
"eff91cat12")
105 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[13].cut = cms.string(
"eff91cat13")
106 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[14].cut = cms.string(
"eff91cat14")
107 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.mapping[15].cut = cms.string(
"eff91cat15")
109 process.hpsPFTauDiscriminationByMVA5MediumElectronRejection.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationAgainstElectronMVA5.root')
111 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[0].cut = cms.string(
"eff85cat0")
112 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[1].cut = cms.string(
"eff85cat1")
113 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[2].cut = cms.string(
"eff85cat2")
114 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[3].cut = cms.string(
"eff85cat3")
115 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[4].cut = cms.string(
"eff85cat4")
116 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[5].cut = cms.string(
"eff85cat5")
117 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[6].cut = cms.string(
"eff85cat6")
118 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[7].cut = cms.string(
"eff85cat7")
119 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[8].cut = cms.string(
"eff85cat8")
120 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[9].cut = cms.string(
"eff85cat9")
121 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[10].cut = cms.string(
"eff85cat10")
122 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[11].cut = cms.string(
"eff85cat11")
123 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[12].cut = cms.string(
"eff85cat12")
124 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[13].cut = cms.string(
"eff85cat13")
125 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[14].cut = cms.string(
"eff85cat14")
126 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.mapping[15].cut = cms.string(
"eff85cat15")
128 process.hpsPFTauDiscriminationByMVA5TightElectronRejection.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationAgainstElectronMVA5.root')
130 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[0].cut = cms.string(
"eff79cat0")
131 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[1].cut = cms.string(
"eff79cat1")
132 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[2].cut = cms.string(
"eff79cat2")
133 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[3].cut = cms.string(
"eff79cat3")
134 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[4].cut = cms.string(
"eff79cat4")
135 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[5].cut = cms.string(
"eff79cat5")
136 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[6].cut = cms.string(
"eff79cat6")
137 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[7].cut = cms.string(
"eff79cat7")
138 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[8].cut = cms.string(
"eff79cat8")
139 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[9].cut = cms.string(
"eff79cat9")
140 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[10].cut = cms.string(
"eff79cat10")
141 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[11].cut = cms.string(
"eff79cat11")
142 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[12].cut = cms.string(
"eff79cat12")
143 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[13].cut = cms.string(
"eff79cat13")
144 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[14].cut = cms.string(
"eff79cat14")
145 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.mapping[15].cut = cms.string(
"eff79cat15")
147 process.hpsPFTauDiscriminationByMVA5VTightElectronRejection.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationAgainstElectronMVA5.root')
150 process.hpsPFTauDiscriminationByIsolationMVA3oldDMwoLTraw.mvaName = cms.string(
"tauIdMVAoldDMwoLT")
151 massSearchReplaceParam(getattr(process,
"produceAndDiscriminateHPSPFTaus"),
"mvaOutput_normalization", cms.string(
"RecoTauTag_tauIdMVAoldDMwoLTv1_mvaOutput_normalization"), cms.string(
"mvaOutput_normalization_oldDMwoLT"))
152 process.hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"oldDMwoLTEff90")
153 process.hpsPFTauDiscriminationByLooseIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"oldDMwoLTEff80")
154 process.hpsPFTauDiscriminationByMediumIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"oldDMwoLTEff70")
155 process.hpsPFTauDiscriminationByTightIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"oldDMwoLTEff60")
156 process.hpsPFTauDiscriminationByVTightIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"oldDMwoLTEff50")
157 process.hpsPFTauDiscriminationByVVTightIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"oldDMwoLTEff40")
159 process.hpsPFTauDiscriminationByIsolationMVA3oldDMwoLTraw.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/gbrDiscriminationByIsolationMVA3_oldDMwoLT.root')
160 process.hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwoLT.root')
161 process.hpsPFTauDiscriminationByLooseIsolationMVA3oldDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwoLT.root')
162 process.hpsPFTauDiscriminationByMediumIsolationMVA3oldDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwoLT.root')
163 process.hpsPFTauDiscriminationByTightIsolationMVA3oldDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwoLT.root')
164 process.hpsPFTauDiscriminationByVTightIsolationMVA3oldDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwoLT.root')
165 process.hpsPFTauDiscriminationByVVTightIsolationMVA3oldDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwoLT.root')
167 process.hpsPFTauDiscriminationByIsolationMVA3oldDMwLTraw.mvaName = cms.string(
"tauIdMVAoldDMwLT")
168 massSearchReplaceParam(getattr(process,
"produceAndDiscriminateHPSPFTaus"),
"mvaOutput_normalization", cms.string(
"RecoTauTag_tauIdMVAoldDMwLTv1_mvaOutput_normalization"), cms.string(
"mvaOutput_normalization_oldDMwLT"))
169 process.hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"oldDMwLTEff90")
170 process.hpsPFTauDiscriminationByLooseIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"oldDMwLTEff80")
171 process.hpsPFTauDiscriminationByMediumIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"oldDMwLTEff70")
172 process.hpsPFTauDiscriminationByTightIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"oldDMwLTEff60")
173 process.hpsPFTauDiscriminationByVTightIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"oldDMwLTEff50")
174 process.hpsPFTauDiscriminationByVVTightIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"oldDMwLTEff40")
176 process.hpsPFTauDiscriminationByIsolationMVA3oldDMwLTraw.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/gbrDiscriminationByIsolationMVA3_oldDMwLT.root')
177 process.hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwLT.root')
178 process.hpsPFTauDiscriminationByLooseIsolationMVA3oldDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwLT.root')
179 process.hpsPFTauDiscriminationByMediumIsolationMVA3oldDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwLT.root')
180 process.hpsPFTauDiscriminationByTightIsolationMVA3oldDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwLT.root')
181 process.hpsPFTauDiscriminationByVTightIsolationMVA3oldDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwLT.root')
182 process.hpsPFTauDiscriminationByVVTightIsolationMVA3oldDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwLT.root')
185 process.hpsPFTauDiscriminationByIsolationMVA3newDMwoLTraw.mvaName = cms.string(
"tauIdMVAnewDMwoLT")
186 massSearchReplaceParam(getattr(process,
"produceAndDiscriminateHPSPFTaus"),
"mvaOutput_normalization", cms.string(
"RecoTauTag_tauIdMVAnewDMwoLTv1_mvaOutput_normalization"), cms.string(
"mvaOutput_normalization_newDMwoLT"))
187 process.hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"newDMwoLTEff90")
188 process.hpsPFTauDiscriminationByLooseIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"newDMwoLTEff80")
189 process.hpsPFTauDiscriminationByMediumIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"newDMwoLTEff70")
190 process.hpsPFTauDiscriminationByTightIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"newDMwoLTEff60")
191 process.hpsPFTauDiscriminationByVTightIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"newDMwoLTEff50")
192 process.hpsPFTauDiscriminationByVVTightIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"newDMwoLTEff40")
194 process.hpsPFTauDiscriminationByIsolationMVA3newDMwoLTraw.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/gbrDiscriminationByIsolationMVA3_newDMwoLT.root')
195 process.hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwoLT.root')
196 process.hpsPFTauDiscriminationByLooseIsolationMVA3newDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwoLT.root')
197 process.hpsPFTauDiscriminationByMediumIsolationMVA3newDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwoLT.root')
198 process.hpsPFTauDiscriminationByTightIsolationMVA3newDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwoLT.root')
199 process.hpsPFTauDiscriminationByVTightIsolationMVA3newDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwoLT.root')
200 process.hpsPFTauDiscriminationByVVTightIsolationMVA3newDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwoLT.root')
203 process.hpsPFTauDiscriminationByIsolationMVA3newDMwLTraw.mvaName = cms.string(
"tauIdMVAnewDMwLT")
204 massSearchReplaceParam(getattr(process,
"produceAndDiscriminateHPSPFTaus"),
"mvaOutput_normalization", cms.string(
"RecoTauTag_tauIdMVAnewDMwLTv1_mvaOutput_normalization"), cms.string(
"mvaOutput_normalization_newDMwLT"))
205 process.hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"newDMwLTEff90")
206 process.hpsPFTauDiscriminationByLooseIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"newDMwLTEff80")
207 process.hpsPFTauDiscriminationByMediumIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"newDMwLTEff70")
208 process.hpsPFTauDiscriminationByTightIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"newDMwLTEff60")
209 process.hpsPFTauDiscriminationByVTightIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"newDMwLTEff50")
210 process.hpsPFTauDiscriminationByVVTightIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"newDMwLTEff40")
212 process.hpsPFTauDiscriminationByIsolationMVA3newDMwLTraw.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/gbrDiscriminationByIsolationMVA3_newDMwLT.root')
213 process.hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwLT.root')
214 process.hpsPFTauDiscriminationByLooseIsolationMVA3newDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwLT.root')
215 process.hpsPFTauDiscriminationByMediumIsolationMVA3newDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwLT.root')
216 process.hpsPFTauDiscriminationByTightIsolationMVA3newDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwLT.root')
217 process.hpsPFTauDiscriminationByVTightIsolationMVA3newDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwLT.root')
218 process.hpsPFTauDiscriminationByVVTightIsolationMVA3newDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwLT.root')
def massSearchReplaceParam