-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31866 from cms-tau-pog/CMSSW_11_2_X_tau-pog_phase…
…2-ID-to-GT Switch payloads of new phase 2 tau ID to GT
- Loading branch information
Showing
5 changed files
with
75 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 30 additions & 29 deletions
59
RecoTauTag/RecoTau/python/tauDiscriminationAgainstElectronMVA6Phase2_mvaDefs_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,88 +1,89 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# anti-e phase-2 tauID mva names | ||
_antiEMVABaseName = "RecoTauTag_antiElectronMVAPhase2" | ||
mvaNames_phase2 = dict( | ||
mvaName_NoEleMatch_woGwoGSF_BL = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_NoEleMatch_woGwoGSF_BL"), | ||
mvaName_NoEleMatch_wGwoGSF_BL = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_NoEleMatch_wGwoGSF_BL"), | ||
mvaName_woGwGSF_BL = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_woGwGSF_BL"), | ||
mvaName_wGwGSF_BL = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_wGwGSF_BL"), | ||
mvaName_NoEleMatch_woGwoGSF_EC = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_NoEleMatch_woGwoGSF_FWEC"), | ||
mvaName_NoEleMatch_wGwoGSF_EC = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_NoEleMatch_wGwoGSF_FWEC"), | ||
mvaName_woGwGSF_EC = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_woGwGSF_FWEC"), | ||
mvaName_wGwGSF_EC = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_wGwGSF_FWEC"), | ||
mvaName_NoEleMatch_woGwoGSF_VFEC = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_NoEleMatch_woGwoGSF_VFWEC"), | ||
mvaName_NoEleMatch_wGwoGSF_VFEC = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_NoEleMatch_wGwoGSF_VFWEC"), | ||
mvaName_woGwGSF_VFEC = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_woGwGSF_VFWEC"), | ||
mvaName_wGwGSF_VFEC = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_wGwGSF_VFWEC") | ||
mvaName_NoEleMatch_woGwoGSF_BL = cms.string(_antiEMVABaseName+"_NoEleMatch_woGwoGSF_BL"), | ||
mvaName_NoEleMatch_wGwoGSF_BL = cms.string(_antiEMVABaseName+"_NoEleMatch_wGwoGSF_BL"), | ||
mvaName_woGwGSF_BL = cms.string(_antiEMVABaseName+"_woGwGSF_BL"), | ||
mvaName_wGwGSF_BL = cms.string(_antiEMVABaseName+"_wGwGSF_BL"), | ||
mvaName_NoEleMatch_woGwoGSF_EC = cms.string(_antiEMVABaseName+"_NoEleMatch_woGwoGSF_FWEC"), | ||
mvaName_NoEleMatch_wGwoGSF_EC = cms.string(_antiEMVABaseName+"_NoEleMatch_wGwoGSF_FWEC"), | ||
mvaName_woGwGSF_EC = cms.string(_antiEMVABaseName+"_woGwGSF_FWEC"), | ||
mvaName_wGwGSF_EC = cms.string(_antiEMVABaseName+"_wGwGSF_FWEC"), | ||
mvaName_NoEleMatch_woGwoGSF_VFEC = cms.string(_antiEMVABaseName+"_NoEleMatch_woGwoGSF_VFWEC"), | ||
mvaName_NoEleMatch_wGwoGSF_VFEC = cms.string(_antiEMVABaseName+"_NoEleMatch_wGwoGSF_VFWEC"), | ||
mvaName_woGwGSF_VFEC = cms.string(_antiEMVABaseName+"_woGwGSF_VFWEC"), | ||
mvaName_wGwGSF_VFEC = cms.string(_antiEMVABaseName+"_wGwGSF_VFWEC") | ||
) | ||
# anti-e phase-2 tauID (WPs) | ||
mapping_phase2 = cms.VPSet( | ||
cms.PSet( | ||
category = cms.uint32(0), # minMVANoEleMatchWOgWOgsfBL | ||
cut = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_NoEleMatch_woGwoGSF_BL"), | ||
cut = cms.string(_antiEMVABaseName+"_NoEleMatch_woGwoGSF_BL"), | ||
variable = cms.string("pt") | ||
), | ||
cms.PSet( | ||
category = cms.uint32(2), # minMVANoEleMatchWgWOgsfBL | ||
cut = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_NoEleMatch_wGwoGSF_BL"), | ||
cut = cms.string(_antiEMVABaseName+"_NoEleMatch_wGwoGSF_BL"), | ||
variable = cms.string("pt") | ||
), | ||
cms.PSet( | ||
category = cms.uint32(5), # minMVAWOgWgsfBL | ||
cut = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_woGwGSF_BL"), | ||
cut = cms.string(_antiEMVABaseName+"_woGwGSF_BL"), | ||
variable = cms.string("pt") | ||
), | ||
cms.PSet( | ||
category = cms.uint32(7), # minMVAWgWgsfBL | ||
cut = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_wGwGSF_BL"), | ||
cut = cms.string(_antiEMVABaseName+"_wGwGSF_BL"), | ||
variable = cms.string("pt") | ||
), | ||
cms.PSet( | ||
category = cms.uint32(8), # minMVANoEleMatchWOgWOgsfEC | ||
cut = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_NoEleMatch_woGwoGSF_FWEC"), | ||
cut = cms.string(_antiEMVABaseName+"_NoEleMatch_woGwoGSF_FWEC"), | ||
variable = cms.string("pt") | ||
), | ||
cms.PSet( | ||
category = cms.uint32(9), # minMVANoEleMatchWOgWOgsfVFEC | ||
cut = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_NoEleMatch_woGwoGSF_VFWEC"), | ||
cut = cms.string(_antiEMVABaseName+"_NoEleMatch_woGwoGSF_VFWEC"), | ||
variable = cms.string("pt") | ||
), | ||
cms.PSet( | ||
category = cms.uint32(10), # minMVANoEleMatchWgWOgsfEC | ||
cut = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_NoEleMatch_wGwoGSF_FWEC"), | ||
cut = cms.string(_antiEMVABaseName+"_NoEleMatch_wGwoGSF_FWEC"), | ||
variable = cms.string("pt") | ||
), | ||
cms.PSet( | ||
category = cms.uint32(11), # minMVANoEleMatchWgWOgsfVFEC | ||
cut = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_NoEleMatch_wGwoGSF_VFWEC"), | ||
cut = cms.string(_antiEMVABaseName+"_NoEleMatch_wGwoGSF_VFWEC"), | ||
variable = cms.string("pt") | ||
), | ||
cms.PSet( | ||
category = cms.uint32(13), # minMVAWOgWgsfEC | ||
cut = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_woGwGSF_FWEC"), | ||
cut = cms.string(_antiEMVABaseName+"_woGwGSF_FWEC"), | ||
variable = cms.string("pt") | ||
), | ||
cms.PSet( | ||
category = cms.uint32(14), # minMVAWOgWgsfVFEC | ||
cut = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_woGwGSF_VFWEC"), | ||
cut = cms.string(_antiEMVABaseName+"_woGwGSF_VFWEC"), | ||
variable = cms.string("pt") | ||
), | ||
cms.PSet( | ||
category = cms.uint32(15), # minMVAWgWgsfEC | ||
cut = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_wGwGSF_FWEC"), | ||
cut = cms.string(_antiEMVABaseName+"_wGwGSF_FWEC"), | ||
variable = cms.string("pt") | ||
), | ||
cms.PSet( | ||
category = cms.uint32(16), # minMVAWgWgsfVFEC | ||
cut = cms.string("RecoTauTag_antiElectronPhase2MVA6v1_gbr_wGwGSF_VFWEC"), | ||
cut = cms.string(_antiEMVABaseName+"_wGwGSF_VFWEC"), | ||
variable = cms.string("pt") | ||
) | ||
) | ||
|
||
workingPoints_phase2 = cms.vstring( | ||
"_WPEff98", | ||
"_WPEff90", | ||
"_WPEff80", | ||
"_WPEff70", | ||
"_WPEff60" | ||
"_VLoose", | ||
"_Loose", | ||
"_Medium", | ||
"_Tight", | ||
"_VTight" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters