00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004
00005
00006 from RecoMuon.MuonIsolationProducers.muIsoDeposits_cff import *
00007
00008 pfmuIsoDepositPFCandidates = cms.EDProducer("CandIsoDepositProducer",
00009 src = cms.InputTag("pfMuonsPtGt5"),
00010 MultipleDepositsFlag = cms.bool(False),
00011 trackType = cms.string('candidate'),
00012 ExtractorPSet = cms.PSet(
00013 Diff_z = cms.double(0.2),
00014 ComponentName = cms.string('CandViewExtractor'),
00015 DR_Max = cms.double(1.0),
00016 Diff_r = cms.double(0.1),
00017 inputCandView = cms.InputTag("particleFlow"),
00018 DR_Veto = cms.double(1e-05),
00019 DepositLabel = cms.untracked.string('')
00020 )
00021
00022 )
00023
00024
00025
00026
00027 pfMuIsoDeposit = cms.EDFilter("CandIsolatorFromDeposits",
00028 deposits = cms.VPSet(cms.PSet(
00029 src = cms.InputTag("pfmuIsoDepositPFCandidates"),
00030 deltaR = cms.double(0.3),
00031 weight = cms.string('1'),
00032 vetos = cms.vstring('0.01',
00033 'Threshold(0.5)'),
00034 skipDefaultVeto = cms.bool(True),
00035 mode = cms.string('sum')
00036 ))
00037 )
00038
00039 pfmuIsoChDepositPFCandidates = cms.EDProducer("CandIsoDepositProducer",
00040 src = cms.InputTag("pfMuonsPtGt5"),
00041 MultipleDepositsFlag = cms.bool(False),
00042 trackType = cms.string('candidate'),
00043 ExtractorPSet = cms.PSet(
00044 Diff_z = cms.double(0.2),
00045 ComponentName = cms.string('CandViewExtractor'),
00046 DR_Max = cms.double(1.0),
00047 Diff_r = cms.double(0.1),
00048 inputCandView = cms.InputTag("pfAllChargedHadrons"),
00049 DR_Veto = cms.double(1e-05),
00050 DepositLabel = cms.untracked.string('')
00051 )
00052
00053 )
00054
00055 pfmuIsoNeDepositPFCandidates = cms.EDProducer("CandIsoDepositProducer",
00056 src = cms.InputTag("pfMuonsPtGt5"),
00057 MultipleDepositsFlag = cms.bool(False),
00058 trackType = cms.string('candidate'),
00059 ExtractorPSet = cms.PSet(
00060 Diff_z = cms.double(0.2),
00061 ComponentName = cms.string('CandViewExtractor'),
00062 DR_Max = cms.double(1.0),
00063 Diff_r = cms.double(0.1),
00064 inputCandView = cms.InputTag("pfAllNeutralHadrons"),
00065 DR_Veto = cms.double(1e-05),
00066 DepositLabel = cms.untracked.string('')
00067 )
00068
00069 )
00070
00071 pfmuIsoGaDepositPFCandidates = cms.EDProducer("CandIsoDepositProducer",
00072 src = cms.InputTag("pfMuonsPtGt5"),
00073 MultipleDepositsFlag = cms.bool(False),
00074 trackType = cms.string('candidate'),
00075 ExtractorPSet = cms.PSet(
00076 Diff_z = cms.double(0.2),
00077 ComponentName = cms.string('CandViewExtractor'),
00078 DR_Max = cms.double(1.0),
00079 Diff_r = cms.double(0.1),
00080 inputCandView = cms.InputTag("pfAllPhotons"),
00081 DR_Veto = cms.double(1e-05),
00082 DepositLabel = cms.untracked.string('')
00083 )
00084
00085 )
00086
00087
00088
00089
00090 pfMuIsoChDeposit = cms.EDFilter("CandIsolatorFromDeposits",
00091 deposits = cms.VPSet(cms.PSet(
00092 src = cms.InputTag("pfmuIsoChDepositPFCandidates"),
00093 deltaR = cms.double(0.3),
00094 weight = cms.string('1'),
00095 vetos = cms.vstring('0.01',
00096 'Threshold(0.5)'),
00097 skipDefaultVeto = cms.bool(True),
00098 mode = cms.string('sum')
00099 ))
00100 )
00101
00102 pfMuIsoNeDeposit = cms.EDFilter("CandIsolatorFromDeposits",
00103 deposits = cms.VPSet(cms.PSet(
00104 src = cms.InputTag("pfmuIsoNeDepositPFCandidates"),
00105 deltaR = cms.double(0.3),
00106 weight = cms.string('1'),
00107 vetos = cms.vstring('0.01',
00108 'Threshold(0.5)'),
00109 skipDefaultVeto = cms.bool(True),
00110 mode = cms.string('sum')
00111 ))
00112 )
00113
00114 pfMuIsoGaDeposit = cms.EDFilter("CandIsolatorFromDeposits",
00115 deposits = cms.VPSet(cms.PSet(
00116 src = cms.InputTag("pfmuIsoGaDepositPFCandidates"),
00117 deltaR = cms.double(0.3),
00118 weight = cms.string('1'),
00119 vetos = cms.vstring('0.01',
00120 'Threshold(0.5)'),
00121 skipDefaultVeto = cms.bool(True),
00122 mode = cms.string('sum')
00123 ))
00124 )
00125
00126
00127
00128
00129
00130
00131
00132 pfMuons = cms.EDFilter("IsolatedPFCandidateSelector",
00133 src = cms.InputTag("pfMuonsPtGt5"),
00134 IsoDeposit = cms.InputTag("pfMuIsoDeposit"),
00135 IsolationCut = cms.double(2.5),
00136 )
00137
00138
00139
00140 pfMuonIsol = cms.Sequence(
00141 pfmuIsoDepositPFCandidates
00142 *pfMuIsoDeposit
00143 *pfmuIsoChDepositPFCandidates
00144 *pfMuIsoChDeposit
00145 *pfmuIsoNeDepositPFCandidates
00146 *pfMuIsoNeDeposit
00147 *pfmuIsoGaDepositPFCandidates
00148 *pfMuIsoGaDeposit
00149 *pfMuons
00150 )