1 import FWCore.ParameterSet.Config
as cms
3 from RecoTauTag.RecoTau.recoTauDiscriminantCutMultiplexerDefault_cfi
import recoTauDiscriminantCutMultiplexerDefault
6 discriminationByIsolationMVA2raw = cms.EDProducer(
"PFRecoTauDiscriminationByIsolationMVA2",
9 PFTauProducer = cms.InputTag(
'pfTauProducer'),
14 Prediscriminants = requireLeadTrack,
15 loadMVAfromDB = cms.bool(
True),
16 inputFileName = cms.FileInPath(
"RecoTauTag/RecoTau/data/emptyMVAinputFile"),
17 mvaName = cms.string(
"tauIdMVAnewDMwLT"),
18 mvaOpt = cms.string(
"newDMwLT"),
21 srcTauTransverseImpactParameters = cms.InputTag(
''),
23 srcBasicTauDiscriminators = cms.InputTag(
'hpsPFTauBasicDiscriminators'),
24 srcChargedIsoPtSumIndex = cms.int32(0),
25 srcNeutralIsoPtSumIndex = cms.int32(1),
26 srcPUcorrPtSumIndex = cms.int32(5),
28 verbosity = cms.int32(0)
31 discriminationByIsolationMVA2 = recoTauDiscriminantCutMultiplexerDefault.clone(
32 PFTauProducer = cms.InputTag(
'pfTauProducer'),
33 Prediscriminants = requireLeadTrack,
34 toMultiplex = cms.InputTag(
'discriminationByIsolationMVA2raw'),
35 loadMVAfromDB = cms.bool(
True),
38 category = cms.uint32(0),
39 cut = cms.string(
"newDMwLT"),
40 variable = cms.string(
"pt"),
43 workingPoints = cms.vstring(
52 mvaIsolation2Task = cms.Task(
53 hpsPFTauBasicDiscriminators
54 , discriminationByIsolationMVA2raw
55 , discriminationByIsolationMVA2
57 mvaIsolation2Seq = cms.Sequence(mvaIsolation2Task)