1 import FWCore.ParameterSet.Config
as cms
5 Plugins for ranking PFTau candidates 9 tolerance_default = cms.double(0)
11 matchingConeCut = cms.PSet(
12 name = cms.string(
"MatchingCone"),
13 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
15 selection = cms.string(
"deltaR(eta, phi, jetRef().eta, jetRef().phi) < 0.1"),
16 selectionPassFunction = cms.string(
"0"),
17 selectionFailValue = cms.double(1e3),
18 tolerance = tolerance_default,
22 unitCharge = cms.PSet(
23 name = cms.string(
"UnitCharge"),
24 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
26 selection = cms.string(
"signalChargedHadrCands().size() = 3"),
28 selectionPassFunction = cms.string(
"abs(charge())-1"),
31 selectionFailValue = cms.double(0),
32 tolerance = tolerance_default,
38 name = cms.string(
"Charge"),
39 plugin = cms.string(
"RecoTauChargeCleanerPlugin"),
41 nprongs = cms.vuint32(1,3),
43 passForCharge = cms.int32(1),
44 selectionFailValue = cms.double(0),
45 tolerance = tolerance_default,
50 name = cms.string(
"PtGt15"),
51 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
52 selection = cms.string(
"pt > 15."),
53 selectionPassFunction = cms.string(
"0"),
54 selectionFailValue = cms.double(1e3),
55 tolerance = tolerance_default,
60 name = cms.string(
"TaNC"),
61 plugin = cms.string(
"RecoTauDiscriminantCleanerPlugin"),
62 src = cms.InputTag(
"DISCRIMINATOR_SRC"),
63 tolerance = tolerance_default,
66 leadPionFinding = cms.PSet(
67 name = cms.string(
"LeadPion"),
68 plugin = cms.string(
"RecoTauDiscriminantCleanerPlugin"),
69 src = cms.InputTag(
"DISCRIMINATOR_SRC"),
70 tolerance = tolerance_default,
74 name = cms.string(
"Pt"),
75 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
77 selection = cms.string(
"leadCand().isNonnull()"),
78 selectionPassFunction = cms.string(
"-pt()"),
79 selectionFailValue = cms.double(1e3),
80 tolerance = cms.double(1.e-2)
83 chargedHadronMultiplicity = cms.PSet(
84 name = cms.string(
"ChargedHadronMultiplicity"),
85 plugin = cms.string(
"RecoTauChargedHadronMultiplicityCleanerPlugin"),
86 tolerance = tolerance_default,
89 stripMultiplicity = cms.PSet(
90 name = cms.string(
"StripMultiplicity"),
91 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
93 selection = cms.string(
"leadCand().isNonnull()"),
94 selectionPassFunction = cms.string(
"-signalPiZeroCandidates().size()"),
95 selectionFailValue = cms.double(1e3),
96 tolerance = tolerance_default,
99 combinedIsolation = cms.PSet(
100 name = cms.string(
"CombinedIsolation"),
101 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
103 selection = cms.string(
"leadCand().isNonnull()"),
104 selectionPassFunction = cms.string(
"isolationPFChargedHadrCandsPtSum() + isolationPFGammaCandsEtSum()"),
105 selectionFailValue = cms.double(1e3),
106 tolerance = tolerance_default,
109 chargeIsolation = cms.PSet(
110 name = cms.string(
"ChargeIsolation"),
111 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
113 selection = cms.string(
"leadCand().isNonnull()"),
115 selectionPassFunction = cms.string(
"isolationPFChargedHadrCandsPtSum()"),
116 selectionFailValue = cms.double(1e3),
117 tolerance = tolerance_default,
120 ecalIsolation = cms.PSet(
121 name = cms.string(
"GammaIsolation"),
122 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
124 selection = cms.string(
"leadCand().isNonnull()"),
126 selectionPassFunction = cms.string(
"isolationPFGammaCandsEtSum()"),
127 selectionFailValue = cms.double(1e3),
128 tolerance = tolerance_default,
133 killSoftTwoProngTaus = cms.PSet(
134 name = cms.string(
"killSoftTwoProngTaus"),
135 plugin = cms.string(
"RecoTauSoftTwoProngTausCleanerPlugin"),
136 minTrackPt = cms.double(5.),
137 tolerance = tolerance_default,