1 import FWCore.ParameterSet.Config
as cms
4 from RecoTauTag.RecoTau.pfRecoTauDiscriminationByMVAIsolationRun2_cfi
import pfRecoTauDiscriminationByMVAIsolationRun2
5 from RecoTauTag.RecoTau.recoTauDiscriminantCutMultiplexerDefault_cfi
import recoTauDiscriminantCutMultiplexerDefault
8 discriminationByIsolationMVArun2v1raw = pfRecoTauDiscriminationByMVAIsolationRun2.clone(
11 PFTauProducer = cms.InputTag(
'pfTauProducer'),
16 Prediscriminants = requireLeadTrack,
17 loadMVAfromDB = cms.bool(
True),
19 srcBasicTauDiscriminators = cms.InputTag(
'hpsPFTauBasicDiscriminators')
22 discriminationByIsolationMVArun2v1 = recoTauDiscriminantCutMultiplexerDefault.clone(
23 PFTauProducer = cms.InputTag(
'pfTauProducer'),
24 Prediscriminants = requireLeadTrack,
25 toMultiplex = cms.InputTag(
'discriminationByIsolationMVArun2v1raw'),
26 loadMVAfromDB = cms.bool(
True),
29 category = cms.uint32(0),
30 cut = cms.string(
"newDMwLT"),
31 variable = cms.string(
"pt"),
34 workingPoints = cms.vstring(
43 mvaIsolation2TaskRun2 = cms.Task(
44 hpsPFTauBasicDiscriminators
45 , discriminationByIsolationMVArun2v1raw
46 , discriminationByIsolationMVArun2v1
48 mvaIsolation2SeqRun2 = cms.Sequence(mvaIsolation2TaskRun2)