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,
58 leadPionFinding = cms.PSet(
59 name = cms.string(
"LeadPion"),
60 plugin = cms.string(
"RecoTauDiscriminantCleanerPlugin"),
61 src = cms.InputTag(
"DISCRIMINATOR_SRC"),
62 tolerance = tolerance_default,
66 name = cms.string(
"Pt"),
67 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
69 selection = cms.string(
"leadCand().isNonnull()"),
70 selectionPassFunction = cms.string(
"-pt()"),
71 selectionFailValue = cms.double(1e3),
72 tolerance = cms.double(1.e-2)
75 chargedHadronMultiplicity = cms.PSet(
76 name = cms.string(
"ChargedHadronMultiplicity"),
77 plugin = cms.string(
"RecoTauChargedHadronMultiplicityCleanerPlugin"),
78 tolerance = tolerance_default,
81 stripMultiplicity = cms.PSet(
82 name = cms.string(
"StripMultiplicity"),
83 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
85 selection = cms.string(
"leadCand().isNonnull()"),
86 selectionPassFunction = cms.string(
"-signalPiZeroCandidates().size()"),
87 selectionFailValue = cms.double(1e3),
88 tolerance = tolerance_default,
91 combinedIsolation = cms.PSet(
92 name = cms.string(
"CombinedIsolation"),
93 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
95 selection = cms.string(
"leadCand().isNonnull()"),
96 selectionPassFunction = cms.string(
"isolationPFChargedHadrCandsPtSum() + isolationPFGammaCandsEtSum()"),
97 selectionFailValue = cms.double(1e3),
98 tolerance = tolerance_default,
101 chargeIsolation = cms.PSet(
102 name = cms.string(
"ChargeIsolation"),
103 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
105 selection = cms.string(
"leadCand().isNonnull()"),
107 selectionPassFunction = cms.string(
"isolationPFChargedHadrCandsPtSum()"),
108 selectionFailValue = cms.double(1e3),
109 tolerance = tolerance_default,
112 ecalIsolation = cms.PSet(
113 name = cms.string(
"GammaIsolation"),
114 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
116 selection = cms.string(
"leadCand().isNonnull()"),
118 selectionPassFunction = cms.string(
"isolationPFGammaCandsEtSum()"),
119 selectionFailValue = cms.double(1e3),
120 tolerance = tolerance_default,
125 killSoftTwoProngTaus = cms.PSet(
126 name = cms.string(
"killSoftTwoProngTaus"),
127 plugin = cms.string(
"RecoTauSoftTwoProngTausCleanerPlugin"),
128 minTrackPt = cms.double(5.),
129 tolerance = tolerance_default,