1 import FWCore.ParameterSet.Config
as cms
4 mergedSlimmedElectronsForTauId = cms.EDProducer(
'PATElectronCollectionMerger',
5 src = cms.VInputTag(
'slimmedElectrons',
'slimmedElectronsFromMultiCl')
8 from RecoTauTag.RecoTau.tauDiscriminationAgainstElectronMVA6Phase2_mvaDefs_cff
import mvaNames_phase2, mapping_phase2, workingPoints_phase2
11 patTauDiscriminationAgainstElectronMVA6Phase2Raw = patTauDiscriminationAgainstElectronMVA6.clone(
13 Prediscriminants = noPrediscriminants,
14 srcElectrons =
"mergedSlimmedElectronsForTauId",
16 vetoEcalCracks =
False,
20 from RecoTauTag.RecoTau.patTauDiscriminantCutMultiplexerDefault_cfi
import patTauDiscriminantCutMultiplexerDefault
21 patTauDiscriminationAgainstElectronMVA6Phase2 = patTauDiscriminantCutMultiplexerDefault.clone(
23 toMultiplex =
'patTauDiscriminationAgainstElectronMVA6Phase2Raw',
24 mapping = mapping_phase2,
25 rawValues = [
"discriminator",
"category"],
26 workingPoints = workingPoints_phase2
29 patTauDiscriminationAgainstElectronMVA6Phase2Task = cms.Task(
30 mergedSlimmedElectronsForTauId,
31 patTauDiscriminationAgainstElectronMVA6Phase2Raw,
32 patTauDiscriminationAgainstElectronMVA6Phase2
35 patTauDiscriminationAgainstElectronMVA6Phase2Seq = cms.Sequence(
36 patTauDiscriminationAgainstElectronMVA6Phase2Task