1 import FWCore.ParameterSet.Config
as cms
6 chargedIsoPtSum = pfRecoTauDiscriminationByIsolation.clone(
7 PFTauProducer = cms.InputTag(
'pfTauProducer'),
8 ApplyDiscriminationByECALIsolation = cms.bool(
False),
9 ApplyDiscriminationByTrackerIsolation = cms.bool(
True),
10 applyOccupancyCut = cms.bool(
False),
11 applySumPtCut = cms.bool(
False),
12 applyDeltaBetaCorrection = cms.bool(
False),
13 storeRawSumPt = cms.bool(
True),
14 storeRawPUsumPt = cms.bool(
False),
15 customOuterCone = cms.double(0.5),
16 isoConeSizeForDeltaBeta = cms.double(0.8),
17 verbosity = cms.int32(0)
19 neutralIsoPtSum = pfRecoTauDiscriminationByIsolation.clone(
20 PFTauProducer = cms.InputTag(
'pfTauProducer'),
21 ApplyDiscriminationByECALIsolation = cms.bool(
True),
22 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
23 applyOccupancyCut = cms.bool(
False),
24 applySumPtCut = cms.bool(
False),
25 applyDeltaBetaCorrection = cms.bool(
False),
26 storeRawSumPt = cms.bool(
True),
27 storeRawPUsumPt = cms.bool(
False),
28 customOuterCone = cms.double(0.5),
29 isoConeSizeForDeltaBeta = cms.double(0.8),
30 verbosity = cms.int32(0)
32 puCorrPtSum = pfRecoTauDiscriminationByIsolation.clone(
33 PFTauProducer = cms.InputTag(
'pfTauProducer'),
34 ApplyDiscriminationByECALIsolation = cms.bool(
False),
35 ApplyDiscriminationByTrackerIsolation = cms.bool(
False),
36 applyOccupancyCut = cms.bool(
False),
37 applySumPtCut = cms.bool(
False),
38 applyDeltaBetaCorrection = cms.bool(
True),
39 storeRawSumPt = cms.bool(
False),
40 storeRawPUsumPt = cms.bool(
True),
41 customOuterCone = cms.double(0.5),
42 isoConeSizeForDeltaBeta = cms.double(0.8),
43 verbosity = cms.int32(0)
46 discriminationByIsolationMVA2raw = cms.EDProducer(
"PFRecoTauDiscriminationByIsolationMVA2",
49 PFTauProducer = cms.InputTag(
'pfTauProducer'),
54 Prediscriminants = requireLeadTrack,
55 loadMVAfromDB = cms.bool(
True),
56 mvaName = cms.string(
"tauIdMVAnewDMwLT"),
57 mvaOpt = cms.string(
"newDMwLT"),
60 srcTauTransverseImpactParameters = cms.InputTag(
''),
62 srcChargedIsoPtSum = cms.InputTag(
'chargedIsoPtSum'),
63 srcNeutralIsoPtSum = cms.InputTag(
'neutralIsoPtSum'),
64 srcPUcorrPtSum = cms.InputTag(
'puCorrPtSum')
67 discriminationByIsolationMVA2VLoose = recoTauDiscriminantCutMultiplexer.clone(
68 PFTauProducer = cms.InputTag(
'pfTauProducer'),
69 Prediscriminants = requireLeadTrack,
70 toMultiplex = cms.InputTag(
'discriminationByIsolationMVA2raw'),
71 key = cms.InputTag(
'discriminationByIsolationMVA2raw:category'),
72 loadMVAfromDB = cms.bool(
True),
75 category = cms.uint32(0),
76 cut = cms.string(
"newDMwLTEff80"),
77 variable = cms.string(
"pt"),
81 discriminationByIsolationMVA2Loose = discriminationByIsolationMVA2VLoose.clone()
82 discriminationByIsolationMVA2Loose.mapping[0].cut = cms.string(
"newDMwLTEff70")
83 discriminationByIsolationMVA2Medium = discriminationByIsolationMVA2VLoose.clone()
84 discriminationByIsolationMVA2Medium.mapping[0].cut = cms.string(
"newDMwLTEff60")
85 discriminationByIsolationMVA2Tight = discriminationByIsolationMVA2VLoose.clone()
86 discriminationByIsolationMVA2Tight.mapping[0].cut = cms.string(
"newDMwLTEff50")
87 discriminationByIsolationMVA2VTight = discriminationByIsolationMVA2VLoose.clone()
88 discriminationByIsolationMVA2VTight.mapping[0].cut = cms.string(
"newDMwLTEff40")
90 mvaIsolation2Seq = cms.Sequence(
94 + discriminationByIsolationMVA2raw
95 + discriminationByIsolationMVA2VLoose
96 + discriminationByIsolationMVA2Loose
97 + discriminationByIsolationMVA2Medium
98 + discriminationByIsolationMVA2Tight
99 + discriminationByIsolationMVA2VTight