3 patTaus = cms.EDProducer(
"PATTauProducer",
5 tauSource = cms.InputTag(
"hpsPFTauProducer"),
10 userClasses = cms.PSet(
11 src = cms.VInputTag(
'')
14 userFloats = cms.PSet(
15 src = cms.VInputTag(
'')
19 src = cms.VInputTag(
'')
23 src = cms.VInputTag(
'')
26 userFunctions = cms.vstring(),
27 userFunctionLabels = cms.vstring()
31 addTauJetCorrFactors = cms.bool(
False),
32 tauJetCorrFactorsSource = cms.VInputTag(cms.InputTag(
"patTauJetCorrFactors")),
35 embedLeadTrack = cms.bool(
False),
36 embedSignalTracks = cms.bool(
False),
37 embedIsolationTracks = cms.bool(
False),
39 embedLeadPFCand = cms.bool(
False),
40 embedLeadPFChargedHadrCand = cms.bool(
False),
41 embedLeadPFNeutralCand = cms.bool(
False),
42 embedSignalPFCands = cms.bool(
False),
43 embedSignalPFChargedHadrCands = cms.bool(
False),
44 embedSignalPFNeutralHadrCands = cms.bool(
False),
45 embedSignalPFGammaCands = cms.bool(
False),
46 embedIsolationPFCands = cms.bool(
False),
47 embedIsolationPFChargedHadrCands = cms.bool(
False),
48 embedIsolationPFNeutralHadrCands = cms.bool(
False),
49 embedIsolationPFGammaCands = cms.bool(
False),
52 isoDeposits = cms.PSet(
53 pfAllParticles = cms.InputTag(
"tauIsoDepositPFCandidates"),
54 pfChargedHadron = cms.InputTag(
"tauIsoDepositPFChargedHadrons"),
55 pfNeutralHadron = cms.InputTag(
"tauIsoDepositPFNeutralHadrons"),
56 pfGamma = cms.InputTag(
"tauIsoDepositPFGammas")
66 userIsolation = cms.PSet(
67 pfAllParticles = cms.PSet(
68 src = cms.InputTag(
"tauIsoDepositPFCandidates"),
69 deltaR = cms.double(0.5),
70 threshold = cms.double(0.)
72 pfChargedHadron = cms.PSet(
73 src = cms.InputTag(
"tauIsoDepositPFChargedHadrons"),
74 deltaR = cms.double(0.5),
75 threshold = cms.double(0.)
77 pfNeutralHadron = cms.PSet(
78 src = cms.InputTag(
"tauIsoDepositPFNeutralHadrons"),
79 deltaR = cms.double(0.5),
80 threshold = cms.double(0.)
83 src = cms.InputTag(
"tauIsoDepositPFGammas"),
84 deltaR = cms.double(0.5),
85 threshold = cms.double(0.)
90 addTauID = cms.bool(
True),
91 tauIDSources = cms.PSet(
95 decayModeFinding = cms.InputTag(
"hpsPFTauDiscriminationByDecayModeFinding"),
96 byCombinedIsolationDeltaBetaCorrRaw = cms.InputTag(
"hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr"),
97 byVLooseCombinedIsolationDeltaBetaCorr = cms.InputTag(
"hpsPFTauDiscriminationByVLooseCombinedIsolationDBSumPtCorr"),
98 byLooseCombinedIsolationDeltaBetaCorr = cms.InputTag(
"hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr"),
99 byMediumCombinedIsolationDeltaBetaCorr = cms.InputTag(
"hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr"),
100 byTightCombinedIsolationDeltaBetaCorr = cms.InputTag(
"hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr"),
101 byIsolationMVAraw = cms.InputTag(
"hpsPFTauDiscriminationByIsolationMVAraw"),
102 byLooseIsolationMVA = cms.InputTag(
"hpsPFTauDiscriminationByLooseIsolationMVA"),
103 byMediumIsolationMVA = cms.InputTag(
"hpsPFTauDiscriminationByMediumIsolationMVA"),
104 byTightIsolationMVA = cms.InputTag(
"hpsPFTauDiscriminationByTightIsolationMVA"),
105 byIsolationMVA2raw = cms.InputTag(
"hpsPFTauDiscriminationByIsolationMVA2raw"),
106 byLooseIsolationMVA2 = cms.InputTag(
"hpsPFTauDiscriminationByLooseIsolationMVA2"),
107 byMediumIsolationMVA2 = cms.InputTag(
"hpsPFTauDiscriminationByMediumIsolationMVA2"),
108 byTightIsolationMVA2 = cms.InputTag(
"hpsPFTauDiscriminationByTightIsolationMVA2"),
109 againstElectronLoose = cms.InputTag(
"hpsPFTauDiscriminationByLooseElectronRejection"),
110 againstElectronMedium = cms.InputTag(
"hpsPFTauDiscriminationByMediumElectronRejection"),
111 againstElectronTight = cms.InputTag(
"hpsPFTauDiscriminationByTightElectronRejection"),
119 againstMuonLoose = cms.InputTag(
"hpsPFTauDiscriminationByLooseMuonRejection"),
120 againstMuonMedium = cms.InputTag(
"hpsPFTauDiscriminationByMediumMuonRejection"),
121 againstMuonTight = cms.InputTag(
"hpsPFTauDiscriminationByTightMuonRejection"),
122 againstMuonLoose2 = cms.InputTag(
"hpsPFTauDiscriminationByLooseMuonRejection2"),
123 againstMuonMedium2 = cms.InputTag(
"hpsPFTauDiscriminationByMediumMuonRejection2"),
124 againstMuonTight2 = cms.InputTag(
"hpsPFTauDiscriminationByTightMuonRejection2"),
125 byCombinedIsolationDeltaBetaCorrRaw3Hits = cms.InputTag(
"hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr3Hits"),
126 byLooseCombinedIsolationDeltaBetaCorr3Hits = cms.InputTag(
"hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits"),
127 byMediumCombinedIsolationDeltaBetaCorr3Hits = cms.InputTag(
"hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits"),
128 byTightCombinedIsolationDeltaBetaCorr3Hits = cms.InputTag(
"hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits"),
129 againstElectronMVA3raw = cms.InputTag(
"hpsPFTauDiscriminationByMVA3rawElectronRejection"),
130 againstElectronMVA3category = cms.InputTag(
"hpsPFTauDiscriminationByMVA3rawElectronRejection:category"),
131 againstElectronLooseMVA3 = cms.InputTag(
"hpsPFTauDiscriminationByMVA3LooseElectronRejection"),
132 againstElectronMediumMVA3 = cms.InputTag(
"hpsPFTauDiscriminationByMVA3MediumElectronRejection"),
133 againstElectronTightMVA3 = cms.InputTag(
"hpsPFTauDiscriminationByMVA3TightElectronRejection"),
134 againstElectronVTightMVA3 = cms.InputTag(
"hpsPFTauDiscriminationByMVA3VTightElectronRejection"),
135 againstElectronDeadECAL = cms.InputTag(
"hpsPFTauDiscriminationByDeadECALElectronRejection")
139 addGenMatch = cms.bool(
True),
140 embedGenMatch = cms.bool(
True),
141 genParticleMatch = cms.InputTag(
"tauMatch"),
142 addGenJetMatch = cms.bool(
True),
143 embedGenJetMatch = cms.bool(
True),
144 genJetMatch = cms.InputTag(
"tauGenJetMatch"),
147 addEfficiencies = cms.bool(
False),
148 efficiencies = cms.PSet(),
151 addResolutions = cms.bool(
False),
152 resolutions = cms.PSet()
155 NoUpdateDiscriminators=
False
159 NoUpdateDiscriminators=
True
161 if NoUpdateDiscriminators:
162 patTaus.tauIDSources = cms.PSet(
163 decayModeFinding = cms.InputTag(
"hpsPFTauDiscriminationByDecayModeFinding"),
164 byVLooseCombinedIsolationDeltaBetaCorr = cms.InputTag(
"hpsPFTauDiscriminationByVLooseCombinedIsolationDBSumPtCorr"),
165 byLooseCombinedIsolationDeltaBetaCorr = cms.InputTag(
"hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr"),
166 byMediumCombinedIsolationDeltaBetaCorr = cms.InputTag(
"hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr"),
167 byTightCombinedIsolationDeltaBetaCorr = cms.InputTag(
"hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr"),
168 againstElectronLoose = cms.InputTag(
"hpsPFTauDiscriminationByLooseElectronRejection"),
169 againstElectronMedium = cms.InputTag(
"hpsPFTauDiscriminationByMediumElectronRejection"),
170 againstElectronTight = cms.InputTag(
"hpsPFTauDiscriminationByTightElectronRejection"),
171 againstElectronMVA = cms.InputTag(
"hpsPFTauDiscriminationByMVAElectronRejection"),
172 againstMuonLoose = cms.InputTag(
"hpsPFTauDiscriminationByLooseMuonRejection"),
173 againstMuonMedium = cms.InputTag(
"hpsPFTauDiscriminationByMediumMuonRejection"),
174 againstMuonTight = cms.InputTag(
"hpsPFTauDiscriminationByTightMuonRejection")