1 import FWCore.ParameterSet.Config
as cms
4 from RecoTauTag.RecoTau.mergedPhase2SlimmedElectronsForTauId_cff
import mergedSlimmedElectronsForTauId
7 from RecoTauTag.RecoTau.tauDiscriminationAgainstElectronMVA6Phase2_mvaDefs_cff
import mvaNames_phase2, mapping_phase2, workingPoints_phase2
10 patTauDiscriminationAgainstElectronMVA6Phase2Raw = patTauDiscriminationAgainstElectronMVA6.clone(
12 Prediscriminants = noPrediscriminants,
13 srcElectrons =
"mergedSlimmedElectronsForTauId",
15 vetoEcalCracks =
False,
19 from RecoTauTag.RecoTau.patTauDiscriminantCutMultiplexerDefault_cfi
import patTauDiscriminantCutMultiplexerDefault
20 patTauDiscriminationAgainstElectronMVA6Phase2 = patTauDiscriminantCutMultiplexerDefault.clone(
22 toMultiplex =
'patTauDiscriminationAgainstElectronMVA6Phase2Raw',
23 mapping = mapping_phase2,
24 rawValues = [
"discriminator",
"category"],
25 workingPoints = workingPoints_phase2
28 patTauDiscriminationAgainstElectronMVA6Phase2Task = cms.Task(
29 mergedSlimmedElectronsForTauId,
30 patTauDiscriminationAgainstElectronMVA6Phase2Raw,
31 patTauDiscriminationAgainstElectronMVA6Phase2
34 patTauDiscriminationAgainstElectronMVA6Phase2Seq = cms.Sequence(
35 patTauDiscriminationAgainstElectronMVA6Phase2Task