00001 import FWCore.ParameterSet.Config as cms
00002 import copy
00003
00004
00005 tauIsoDepositPFCandidates = cms.EDProducer("CandIsoDepositProducer",
00006 src = cms.InputTag("pfRecoTauProducer"),
00007 MultipleDepositsFlag = cms.bool(False),
00008 trackType = cms.string('candidate'),
00009 ExtractorPSet = cms.PSet(
00010
00011 ComponentName = cms.string('PFTauExtractor'),
00012
00013
00014 candidateSource = cms.InputTag("particleFlow"),
00015
00016
00017 DR_Max = cms.double(1.0),
00018
00019 DR_Veto = cms.double(0.),
00020
00021
00022 Diff_z = cms.double(0.2),
00023
00024 Diff_r = cms.double(0.1),
00025
00026
00027 tauSource = cms.InputTag("pfRecoTauProducer"),
00028
00029 dRmatchPFTau = cms.double(0.1),
00030
00031 dRvetoPFTauSignalConeConstituents = cms.double(0.01),
00032
00033 DepositLabel = cms.untracked.string('')
00034 )
00035 )
00036
00037
00038 tauIsoDepositPFChargedHadrons = copy.deepcopy(tauIsoDepositPFCandidates)
00039 tauIsoDepositPFChargedHadrons.ExtractorPSet.candidateSource = cms.InputTag("pfAllChargedHadrons")
00040
00041
00042 tauIsoDepositPFNeutralHadrons = copy.deepcopy(tauIsoDepositPFCandidates)
00043 tauIsoDepositPFNeutralHadrons.ExtractorPSet.candidateSource = cms.InputTag("pfAllNeutralHadrons")
00044
00045
00046 tauIsoDepositPFGammas = copy.deepcopy(tauIsoDepositPFCandidates)
00047 tauIsoDepositPFGammas.ExtractorPSet.candidateSource = cms.InputTag("pfAllPhotons")
00048
00049 patPFTauIsolation = cms.Sequence( tauIsoDepositPFCandidates
00050 * tauIsoDepositPFChargedHadrons
00051 * tauIsoDepositPFNeutralHadrons
00052 * tauIsoDepositPFGammas )
00053
00054