1 import FWCore.ParameterSet.Config
as cms
5 Plugins for ranking PFTau candidates
9 matchingConeCut = cms.PSet(
10 name = cms.string(
"MatchingCone"),
11 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
13 selection = cms.string(
"deltaR(eta, phi, jetRef().eta, jetRef().phi) < 0.1"),
14 selectionPassFunction = cms.string(
"0"),
15 selectionFailValue = cms.double(1e3),
19 unitCharge = cms.PSet(
20 name = cms.string(
"UnitCharge"),
21 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
23 selection = cms.string(
"signalPFChargedHadrCands().size() = 3"),
25 selectionPassFunction = cms.string(
"abs(charge())-1"),
28 selectionFailValue = cms.double(0),
34 name = cms.string(
"Charge"),
35 plugin = cms.string(
"RecoTauChargeCleanerPlugin"),
37 nprongs = cms.vuint32(1,3),
39 passForCharge = cms.int32(1),
40 selectionFailValue = cms.double(0),
45 name = cms.string(
"PtGt15"),
46 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
47 selection = cms.string(
"pt > 15."),
48 selectionPassFunction = cms.string(
"0"),
49 selectionFailValue = cms.double(1e3)
54 name = cms.string(
"TaNC"),
55 plugin = cms.string(
"RecoTauDiscriminantCleanerPlugin"),
56 src = cms.InputTag(
"DISCRIMINATOR_SRC"),
59 leadPionFinding = cms.PSet(
60 name = cms.string(
"LeadPion"),
61 plugin = cms.string(
"RecoTauDiscriminantCleanerPlugin"),
62 src = cms.InputTag(
"DISCRIMINATOR_SRC"),
66 name = cms.string(
"Pt"),
67 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
69 selection = cms.string(
"leadPFCand().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")
80 stripMultiplicity = cms.PSet(
81 name = cms.string(
"StripMultiplicity"),
82 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
84 selection = cms.string(
"leadPFCand().isNonnull()"),
85 selectionPassFunction = cms.string(
"-signalPiZeroCandidates().size()"),
86 selectionFailValue = cms.double(1e3)
89 combinedIsolation = cms.PSet(
90 name = cms.string(
"CombinedIsolation"),
91 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
93 selection = cms.string(
"leadPFCand().isNonnull()"),
94 selectionPassFunction = cms.string(
"isolationPFChargedHadrCandsPtSum() + isolationPFGammaCandsEtSum()"),
95 selectionFailValue = cms.double(1e3)
98 chargeIsolation = cms.PSet(
99 name = cms.string(
"ChargeIsolation"),
100 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
102 selection = cms.string(
"leadPFCand().isNonnull()"),
104 selectionPassFunction = cms.string(
"isolationPFChargedHadrCandsPtSum()"),
105 selectionFailValue = cms.double(1e3)
108 ecalIsolation = cms.PSet(
109 name = cms.string(
"GammaIsolation"),
110 plugin = cms.string(
"RecoTauStringCleanerPlugin"),
112 selection = cms.string(
"leadPFCand().isNonnull()"),
114 selectionPassFunction = cms.string(
"isolationPFGammaCandsEtSum()"),
115 selectionFailValue = cms.double(1e3)