5 tauIsoDepositPFCandidates = cms.EDProducer(
"CandIsoDepositProducer",
6 src = cms.InputTag(
"hpsPFTauProducer"),
7 MultipleDepositsFlag = cms.bool(
False),
8 trackType = cms.string(
'candidate'),
9 ExtractorPSet = cms.PSet(
11 ComponentName = cms.string(
'PFTauExtractor'),
14 candidateSource = cms.InputTag(
"particleFlow"),
17 DR_Max = cms.double(1.0),
19 DR_Veto = cms.double(0.),
23 Diff_z = cms.double(1.e+4),
26 Diff_r = cms.double(1.e+4),
29 tauSource = cms.InputTag(
"hpsPFTauProducer"),
31 dRmatchPFTau = cms.double(0.1),
33 dRvetoPFTauSignalConeConstituents = cms.double(0.01),
35 DepositLabel = cms.untracked.string(
'')
41 tauIsoDepositPFChargedHadrons = copy.deepcopy(tauIsoDepositPFCandidates)
42 tauIsoDepositPFChargedHadrons.ExtractorPSet.candidateSource = cms.InputTag(
"pfAllChargedHadrons")
43 tauIsoDepositPFChargedHadrons.ExtractorPSet.Diff_z = cms.double(0.2)
44 tauIsoDepositPFChargedHadrons.ExtractorPSet.Diff_r = cms.double(0.1)
47 tauIsoDepositPFNeutralHadrons = copy.deepcopy(tauIsoDepositPFCandidates)
48 tauIsoDepositPFNeutralHadrons.ExtractorPSet.candidateSource = cms.InputTag(
"pfAllNeutralHadrons")
51 tauIsoDepositPFGammas = copy.deepcopy(tauIsoDepositPFCandidates)
52 tauIsoDepositPFGammas.ExtractorPSet.candidateSource = cms.InputTag(
"pfAllPhotons")
54 patPFTauIsolation = cms.Sequence( tauIsoDepositPFCandidates
55 * tauIsoDepositPFChargedHadrons
56 * tauIsoDepositPFNeutralHadrons
57 * tauIsoDepositPFGammas )