<filename>RecoTauTag/RecoTau/python/tauDiscriminationAgainstElectronMVA6Phase2_mvaDefs_cff.py<gh_stars>100-1000
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(_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(_antiEMVABaseName+"_NoEleMatch_woGwoGSF_BL"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(2), # minMVANoEleMatchWgWOgsfBL
        cut = cms.string(_antiEMVABaseName+"_NoEleMatch_wGwoGSF_BL"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(5), # minMVAWOgWgsfBL
        cut = cms.string(_antiEMVABaseName+"_woGwGSF_BL"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(7), # minMVAWgWgsfBL
        cut = cms.string(_antiEMVABaseName+"_wGwGSF_BL"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(8), # minMVANoEleMatchWOgWOgsfEC
        cut = cms.string(_antiEMVABaseName+"_NoEleMatch_woGwoGSF_FWEC"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(9), # minMVANoEleMatchWOgWOgsfVFEC
        cut = cms.string(_antiEMVABaseName+"_NoEleMatch_woGwoGSF_VFWEC"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(10), # minMVANoEleMatchWgWOgsfEC
        cut = cms.string(_antiEMVABaseName+"_NoEleMatch_wGwoGSF_FWEC"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(11), # minMVANoEleMatchWgWOgsfVFEC
        cut = cms.string(_antiEMVABaseName+"_NoEleMatch_wGwoGSF_VFWEC"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(13), # minMVAWOgWgsfEC
        cut = cms.string(_antiEMVABaseName+"_woGwGSF_FWEC"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(14), # minMVAWOgWgsfVFEC
        cut = cms.string(_antiEMVABaseName+"_woGwGSF_VFWEC"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(15), # minMVAWgWgsfEC
        cut = cms.string(_antiEMVABaseName+"_wGwGSF_FWEC"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(16), # minMVAWgWgsfVFEC
        cut = cms.string(_antiEMVABaseName+"_wGwGSF_VFWEC"),
        variable = cms.string("pt")
    )
)

workingPoints_phase2 = cms.vstring(
    "_VLoose",
    "_Loose",
    "_Medium",
    "_Tight",
    "_VTight"
)

<filename>RecoTauTag/RecoTau/python/tauDiscriminationAgainstElectronMVA6Phase2_mvaDefs_cff.py<gh_stars>100-1000
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(_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(_antiEMVABaseName+"_NoEleMatch_woGwoGSF_BL"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(2), # minMVANoEleMatchWgWOgsfBL
        cut = cms.string(_antiEMVABaseName+"_NoEleMatch_wGwoGSF_BL"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(5), # minMVAWOgWgsfBL
        cut = cms.string(_antiEMVABaseName+"_woGwGSF_BL"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(7), # minMVAWgWgsfBL
        cut = cms.string(_antiEMVABaseName+"_wGwGSF_BL"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(8), # minMVANoEleMatchWOgWOgsfEC
        cut = cms.string(_antiEMVABaseName+"_NoEleMatch_woGwoGSF_FWEC"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(9), # minMVANoEleMatchWOgWOgsfVFEC
        cut = cms.string(_antiEMVABaseName+"_NoEleMatch_woGwoGSF_VFWEC"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(10), # minMVANoEleMatchWgWOgsfEC
        cut = cms.string(_antiEMVABaseName+"_NoEleMatch_wGwoGSF_FWEC"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(11), # minMVANoEleMatchWgWOgsfVFEC
        cut = cms.string(_antiEMVABaseName+"_NoEleMatch_wGwoGSF_VFWEC"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(13), # minMVAWOgWgsfEC
        cut = cms.string(_antiEMVABaseName+"_woGwGSF_FWEC"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(14), # minMVAWOgWgsfVFEC
        cut = cms.string(_antiEMVABaseName+"_woGwGSF_VFWEC"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(15), # minMVAWgWgsfEC
        cut = cms.string(_antiEMVABaseName+"_wGwGSF_FWEC"),
        variable = cms.string("pt")
    ),
    cms.PSet(
        category = cms.uint32(16), # minMVAWgWgsfVFEC
        cut = cms.string(_antiEMVABaseName+"_wGwGSF_VFWEC"),
        variable = cms.string("pt")
    )
)

workingPoints_phase2 = cms.vstring(
    "_VLoose",
    "_Loose",
    "_Medium",
    "_Tight",
    "_VTight"
)

# anti-e phase-2 tauID mva names # anti-e phase-2 tauID (WPs) # minMVANoEleMatchWOgWOgsfBL # minMVANoEleMatchWgWOgsfBL # minMVAWOgWgsfBL # minMVAWgWgsfBL # minMVANoEleMatchWOgWOgsfEC # minMVANoEleMatchWOgWOgsfVFEC # minMVANoEleMatchWgWOgsfEC # minMVANoEleMatchWgWOgsfVFEC # minMVAWOgWgsfEC # minMVAWOgWgsfVFEC # minMVAWgWgsfEC # minMVAWgWgsfVFEC