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.hpsPFTauDiscriminationByMVA6rawElectronRejection.mvaName_woGwGSF_EC = cms.string(
'gbr_woGwGSF_EC')
151 process.hpsPFTauDiscriminationByMVA6rawElectronRejection.mvaName_wGwGSF_EC = cms.string(
'gbr_wGwGSF_EC')
152 process.hpsPFTauDiscriminationByMVA6rawElectronRejection.mvaName_woGwGSF_BL = cms.string(
'gbr_woGwGSF_BL')
153 process.hpsPFTauDiscriminationByMVA6rawElectronRejection.mvaName_wGwGSF_BL = cms.string(
'gbr_wGwGSF_BL')
154 process.hpsPFTauDiscriminationByMVA6rawElectronRejection.mvaName_NoEleMatch_woGwoGSF_EC = cms.string(
'gbr_NoEleMatch_woGwoGSF_EC')
155 process.hpsPFTauDiscriminationByMVA6rawElectronRejection.mvaName_NoEleMatch_wGwoGSF_EC = cms.string(
'gbr_NoEleMatch_wGwoGSF_EC')
156 process.hpsPFTauDiscriminationByMVA6rawElectronRejection.mvaName_NoEleMatch_woGwoGSF_BL = cms.string(
'gbr_NoEleMatch_woGwoGSF_BL')
157 process.hpsPFTauDiscriminationByMVA6rawElectronRejection.mvaName_NoEleMatch_wGwoGSF_BL = cms.string(
'gbr_NoEleMatch_wGwoGSF_BL')
159 process.hpsPFTauDiscriminationByMVA6rawElectronRejection.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/gbrDiscriminationAgainstElectronMVA6.root')
161 process.hpsPFTauDiscriminationByMVA6ElectronRejection.mapping[0].cut = cms.string(
"")
162 for i, cat
in enumerate([0, 2, 5, 7, 8, 10, 13, 15]):
163 process.hpsPFTauDiscriminationByMVA6ElectronRejection.mapping[i].workingPoints = cms.vstring(
171 process.hpsPFTauDiscriminationByMVA6ElectronRejection.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationAgainstElectronMVA6.root')
174 process.hpsPFTauDiscriminationByIsolationMVA3oldDMwoLTraw.mvaName = cms.string(
"tauIdMVAoldDMwoLT")
175 massSearchReplaceParam(getattr(process,
"produceAndDiscriminateHPSPFTaus"),
"mvaOutput_normalization", cms.string(
"RecoTauTag_tauIdMVAoldDMwoLTv1_mvaOutput_normalization"), cms.string(
"mvaOutput_normalization_oldDMwoLT"))
176 process.hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"oldDMwoLTEff90")
177 process.hpsPFTauDiscriminationByLooseIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"oldDMwoLTEff80")
178 process.hpsPFTauDiscriminationByMediumIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"oldDMwoLTEff70")
179 process.hpsPFTauDiscriminationByTightIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"oldDMwoLTEff60")
180 process.hpsPFTauDiscriminationByVTightIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"oldDMwoLTEff50")
181 process.hpsPFTauDiscriminationByVVTightIsolationMVA3oldDMwoLT.mapping[0].cut = cms.string(
"oldDMwoLTEff40")
183 process.hpsPFTauDiscriminationByIsolationMVA3oldDMwoLTraw.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/gbrDiscriminationByIsolationMVA3_oldDMwoLT.root')
184 process.hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwoLT.root')
185 process.hpsPFTauDiscriminationByLooseIsolationMVA3oldDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwoLT.root')
186 process.hpsPFTauDiscriminationByMediumIsolationMVA3oldDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwoLT.root')
187 process.hpsPFTauDiscriminationByTightIsolationMVA3oldDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwoLT.root')
188 process.hpsPFTauDiscriminationByVTightIsolationMVA3oldDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwoLT.root')
189 process.hpsPFTauDiscriminationByVVTightIsolationMVA3oldDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwoLT.root')
191 process.hpsPFTauDiscriminationByIsolationMVA3oldDMwLTraw.mvaName = cms.string(
"tauIdMVAoldDMwLT")
192 massSearchReplaceParam(getattr(process,
"produceAndDiscriminateHPSPFTaus"),
"mvaOutput_normalization", cms.string(
"RecoTauTag_tauIdMVAoldDMwLTv1_mvaOutput_normalization"), cms.string(
"mvaOutput_normalization_oldDMwLT"))
193 process.hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"oldDMwLTEff90")
194 process.hpsPFTauDiscriminationByLooseIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"oldDMwLTEff80")
195 process.hpsPFTauDiscriminationByMediumIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"oldDMwLTEff70")
196 process.hpsPFTauDiscriminationByTightIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"oldDMwLTEff60")
197 process.hpsPFTauDiscriminationByVTightIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"oldDMwLTEff50")
198 process.hpsPFTauDiscriminationByVVTightIsolationMVA3oldDMwLT.mapping[0].cut = cms.string(
"oldDMwLTEff40")
200 process.hpsPFTauDiscriminationByIsolationMVA3oldDMwLTraw.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/gbrDiscriminationByIsolationMVA3_oldDMwLT.root')
201 process.hpsPFTauDiscriminationByVLooseIsolationMVA3oldDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwLT.root')
202 process.hpsPFTauDiscriminationByLooseIsolationMVA3oldDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwLT.root')
203 process.hpsPFTauDiscriminationByMediumIsolationMVA3oldDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwLT.root')
204 process.hpsPFTauDiscriminationByTightIsolationMVA3oldDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwLT.root')
205 process.hpsPFTauDiscriminationByVTightIsolationMVA3oldDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwLT.root')
206 process.hpsPFTauDiscriminationByVVTightIsolationMVA3oldDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_oldDMwLT.root')
209 process.hpsPFTauDiscriminationByIsolationMVA3newDMwoLTraw.mvaName = cms.string(
"tauIdMVAnewDMwoLT")
210 massSearchReplaceParam(getattr(process,
"produceAndDiscriminateHPSPFTaus"),
"mvaOutput_normalization", cms.string(
"RecoTauTag_tauIdMVAnewDMwoLTv1_mvaOutput_normalization"), cms.string(
"mvaOutput_normalization_newDMwoLT"))
211 process.hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"newDMwoLTEff90")
212 process.hpsPFTauDiscriminationByLooseIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"newDMwoLTEff80")
213 process.hpsPFTauDiscriminationByMediumIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"newDMwoLTEff70")
214 process.hpsPFTauDiscriminationByTightIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"newDMwoLTEff60")
215 process.hpsPFTauDiscriminationByVTightIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"newDMwoLTEff50")
216 process.hpsPFTauDiscriminationByVVTightIsolationMVA3newDMwoLT.mapping[0].cut = cms.string(
"newDMwoLTEff40")
218 process.hpsPFTauDiscriminationByIsolationMVA3newDMwoLTraw.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/gbrDiscriminationByIsolationMVA3_newDMwoLT.root')
219 process.hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwoLT.root')
220 process.hpsPFTauDiscriminationByLooseIsolationMVA3newDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwoLT.root')
221 process.hpsPFTauDiscriminationByMediumIsolationMVA3newDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwoLT.root')
222 process.hpsPFTauDiscriminationByTightIsolationMVA3newDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwoLT.root')
223 process.hpsPFTauDiscriminationByVTightIsolationMVA3newDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwoLT.root')
224 process.hpsPFTauDiscriminationByVVTightIsolationMVA3newDMwoLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwoLT.root')
227 process.hpsPFTauDiscriminationByIsolationMVA3newDMwLTraw.mvaName = cms.string(
"tauIdMVAnewDMwLT")
228 massSearchReplaceParam(getattr(process,
"produceAndDiscriminateHPSPFTaus"),
"mvaOutput_normalization", cms.string(
"RecoTauTag_tauIdMVAnewDMwLTv1_mvaOutput_normalization"), cms.string(
"mvaOutput_normalization_newDMwLT"))
229 process.hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"newDMwLTEff90")
230 process.hpsPFTauDiscriminationByLooseIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"newDMwLTEff80")
231 process.hpsPFTauDiscriminationByMediumIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"newDMwLTEff70")
232 process.hpsPFTauDiscriminationByTightIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"newDMwLTEff60")
233 process.hpsPFTauDiscriminationByVTightIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"newDMwLTEff50")
234 process.hpsPFTauDiscriminationByVVTightIsolationMVA3newDMwLT.mapping[0].cut = cms.string(
"newDMwLTEff40")
236 process.hpsPFTauDiscriminationByIsolationMVA3newDMwLTraw.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/gbrDiscriminationByIsolationMVA3_newDMwLT.root')
237 process.hpsPFTauDiscriminationByVLooseIsolationMVA3newDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwLT.root')
238 process.hpsPFTauDiscriminationByLooseIsolationMVA3newDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwLT.root')
239 process.hpsPFTauDiscriminationByMediumIsolationMVA3newDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwLT.root')
240 process.hpsPFTauDiscriminationByTightIsolationMVA3newDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwLT.root')
241 process.hpsPFTauDiscriminationByVTightIsolationMVA3newDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwLT.root')
242 process.hpsPFTauDiscriminationByVVTightIsolationMVA3newDMwLT.inputFileName = cms.FileInPath(
'RecoTauTag/RecoTau/data/wpDiscriminationByIsolationMVA3_newDMwLT.root')
def massSearchReplaceParam