4 muPFIsoDepositChargedForBoostedMuons = muPFIsoDepositCharged.clone(
5 src = cms.InputTag(
'muons')
7 muPFIsoDepositNeutralForBoostedMuons = muPFIsoDepositNeutral.clone(
8 src = cms.InputTag(
'muons')
10 muPFIsoDepositGammaForBoostedMuons = muPFIsoDepositGamma.clone(
11 src = cms.InputTag(
'muons')
13 muPFIsoDepositChargedAllForBoostedMuons = muPFIsoDepositChargedAll.clone(
14 src = cms.InputTag(
'muons')
16 muPFIsoDepositPUforBoostedTauStudy = muPFIsoDepositPU.clone(
17 src = cms.InputTag(
'muons')
19 boostedMuonPFIsolationSequence = cms.Sequence(
20 muPFIsoDepositChargedForBoostedMuons
21 + muPFIsoDepositNeutralForBoostedMuons
22 + muPFIsoDepositGammaForBoostedMuons
23 + muPFIsoDepositChargedAllForBoostedMuons
24 + muPFIsoDepositPUforBoostedTauStudy
28 patBoostedMuons = patMuons.clone(
29 isoDeposits = cms.PSet(
31 pfChargedHadrons = cms.InputTag(
"muPFIsoDepositChargedForBoostedMuons"),
32 pfNeutralHadrons = cms.InputTag(
"muPFIsoDepositNeutralForBoostedMuons"),
33 pfPhotons = cms.InputTag(
"muPFIsoDepositGammaForBoostedMuons"),
35 cms.InputTag(
"muPFIsoDepositChargedAllForBoostedMuons"),
36 cms.InputTag(
"muPFIsoDepositPUforBoostedTauStudy")
39 addGenMatch = cms.bool(
False),
40 embedHighLevelSelection = cms.bool(
True),
41 embedCaloMETMuonCorrs = cms.bool(
False),
42 embedTcMETMuonCorrs = cms.bool(
False),
43 usePV = cms.bool(
False)
46 otherSubJetVeto =
'OtherJetConstituentsDeltaRVeto(boostedTauSeeds,0.3,boostedTauSeeds:pfCandAssocMapForIsoDepositVetos,0.01)'
48 pfChargedHadronVetos = muPFIsoValueCharged04.deposits[0].vetos.value()
49 pfChargedHadronVetos.append(otherSubJetVeto)
50 print "pfChargedHadronVetos = %s" % pfChargedHadronVetos
52 pfNeutralHadronVetos = muPFIsoValueNeutral04.deposits[0].vetos.value()
53 pfNeutralHadronVetos.append(otherSubJetVeto)
54 print "pfNeutralHadronVetos = %s" % pfNeutralHadronVetos
56 pfGammaVetos = muPFIsoValueGamma04.deposits[0].vetos.value()
57 pfGammaVetos.append(otherSubJetVeto)
58 print "pfGammaVetos = %s" % pfGammaVetos
60 userVetos1 = muPFIsoValueChargedAll04.deposits[0].vetos.value()
61 userVetos1.append(otherSubJetVeto)
62 print "userVetos1 = %s" % userVetos1
64 userVetos2 = muPFIsoValuePU04.deposits[0].vetos.value()
65 userVetos2.append(otherSubJetVeto)
66 print "userVetos2 = %s" % userVetos2
68 patBoostedMuons.userIsolation = cms.PSet(
70 pfChargedHadron = cms.PSet(
71 deltaR = cms.double(0.4),
72 src = patBoostedMuons.isoDeposits.pfChargedHadrons,
73 vetos = cms.vstring(pfChargedHadronVetos),
74 skipDefaultVeto = muPFIsoValueCharged04.deposits[0].skipDefaultVeto
76 pfNeutralHadron = cms.PSet(
77 deltaR = cms.double(0.4),
78 src = patBoostedMuons.isoDeposits.pfNeutralHadrons,
79 vetos = cms.vstring(pfNeutralHadronVetos),
80 skipDefaultVeto = muPFIsoValueNeutral04.deposits[0].skipDefaultVeto
83 deltaR = cms.double(0.4),
84 src = patBoostedMuons.isoDeposits.pfPhotons,
85 vetos = cms.vstring(pfGammaVetos),
86 skipDefaultVeto = muPFIsoValueGamma04.deposits[0].skipDefaultVeto
90 deltaR = cms.double(0.4),
91 src = patBoostedMuons.isoDeposits.user[0],
92 vetos = cms.vstring(userVetos1),
93 skipDefaultVeto = muPFIsoValueChargedAll04.deposits[0].skipDefaultVeto
96 deltaR = cms.double(0.4),
97 src = patBoostedMuons.isoDeposits.user[1],
98 vetos = cms.vstring(userVetos2),
99 skipDefaultVeto = muPFIsoValuePU04.deposits[0].skipDefaultVeto
104 makePatBoostedMuons = cms.Sequence(
105 boostedMuonPFIsolationSequence