Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002 import copy
00003
00004
00005 tauIsoDepositPFCandidates = cms.EDProducer("CandIsoDepositProducer",
00006 src = cms.InputTag("shrinkingConePFTauProducer"),
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
00023 Diff_z = cms.double(1.e+4),
00024
00025
00026 Diff_r = cms.double(1.e+4),
00027
00028
00029 tauSource = cms.InputTag("shrinkingConePFTauProducer"),
00030
00031 dRmatchPFTau = cms.double(0.1),
00032
00033 dRvetoPFTauSignalConeConstituents = cms.double(0.01),
00034
00035 DepositLabel = cms.untracked.string('')
00036 )
00037 )
00038
00039
00040
00041 tauIsoDepositPFChargedHadrons = copy.deepcopy(tauIsoDepositPFCandidates)
00042 tauIsoDepositPFChargedHadrons.ExtractorPSet.candidateSource = cms.InputTag("pfAllChargedHadrons")
00043 tauIsoDepositPFChargedHadrons.ExtractorPSet.Diff_z = cms.double(0.2)
00044 tauIsoDepositPFChargedHadrons.ExtractorPSet.Diff_r = cms.double(0.1)
00045
00046
00047 tauIsoDepositPFNeutralHadrons = copy.deepcopy(tauIsoDepositPFCandidates)
00048 tauIsoDepositPFNeutralHadrons.ExtractorPSet.candidateSource = cms.InputTag("pfAllNeutralHadrons")
00049
00050
00051 tauIsoDepositPFGammas = copy.deepcopy(tauIsoDepositPFCandidates)
00052 tauIsoDepositPFGammas.ExtractorPSet.candidateSource = cms.InputTag("pfAllPhotons")
00053
00054 patPFTauIsolation = cms.Sequence( tauIsoDepositPFCandidates
00055 * tauIsoDepositPFChargedHadrons
00056 * tauIsoDepositPFNeutralHadrons
00057 * tauIsoDepositPFGammas )
00058
00059