6 Sequences for reconstructing boosted taus using the HPS algorithm
11 pfPileUpForBoostedTaus = boostedTaus.pfPileUp.clone(
12 PFCandidates = cms.InputTag(
'particleFlow'),
13 checkClosestZVertex = cms.bool(
False)
15 pfNoPileUpForBoostedTaus = boostedTaus.pfNoPileUp.clone(
16 topCollection = cms.InputTag(
'pfPileUpForBoostedTaus'),
17 bottomCollection = cms.InputTag(
'particleFlow')
21 import RecoJets.JetProducers.ak4PFJets_cfi
as boostedTaus2
22 import RecoJets.JetProducers.CMSBoostedTauSeedingParameters_cfi
as boostedTaus3
24 ca8PFJetsCHSprunedForBoostedTaus = boostedTaus2.ak4PFJets.clone(
25 boostedTaus3.CMSBoostedTauSeedingParameters,
26 src = cms.InputTag(
'pfNoPileUpForBoostedTaus'),
27 jetPtMin = cms.double(10.0),
28 doAreaFastjet = cms.bool(
True),
30 rParam = cms.double(0.8),
31 jetAlgorithm = cms.string(
"CambridgeAachen"),
32 writeCompound = cms.bool(
True),
33 jetCollInstanceName = cms.string(
'subJetsForSeedingBoostedTaus')
36 boostedTauSeeds = cms.EDProducer(
"BoostedTauSeedsProducer",
37 subjetSrc = cms.InputTag(
'ca8PFJetsCHSprunedForBoostedTaus',
'subJetsForSeedingBoostedTaus'),
38 pfCandidateSrc = cms.InputTag(
'particleFlow'),
39 verbosity = cms.int32(0)
43 recoTauAK4PFJets08Region.src = cms.InputTag(
'boostedTauSeeds')
44 recoTauAK4PFJets08Region.pfCandSrc = cms.InputTag(
'pfNoPileUpForBoostedTaus')
45 recoTauAK4PFJets08Region.pfCandAssocMapSrc = cms.InputTag(
'boostedTauSeeds',
'pfCandAssocMapForIsolation')
47 ak4PFJetsLegacyHPSPiZeros.jetSrc = cms.InputTag(
'boostedTauSeeds')
49 ak4PFJetsRecoTauChargedHadrons.jetSrc = cms.InputTag(
'boostedTauSeeds')
50 ak4PFJetsRecoTauChargedHadrons.builders[1].dRcone = cms.double(0.3)
51 ak4PFJetsRecoTauChargedHadrons.builders[1].dRconeLimitedToJetArea = cms.bool(
True)
53 combinatoricRecoTaus.jetSrc = cms.InputTag(
'boostedTauSeeds')
54 combinatoricRecoTaus.builders[0].pfCandSrc = cms.InputTag(
'pfNoPileUpForBoostedTaus')
55 combinatoricRecoTaus.modifiers.remove(combinatoricRecoTaus.modifiers[3])
57 hpsPFTauDiscriminationByLooseMuonRejection3.dRmuonMatch = cms.double(0.3)
58 hpsPFTauDiscriminationByLooseMuonRejection3.dRmuonMatchLimitedToJetArea = cms.bool(
True)
59 hpsPFTauDiscriminationByTightMuonRejection3.dRmuonMatch = cms.double(0.3)
60 hpsPFTauDiscriminationByTightMuonRejection3.dRmuonMatchLimitedToJetArea = cms.bool(
True)
62 produceAndDiscriminateBoostedHPSPFTaus = cms.Sequence(
63 pfPileUpForBoostedTaus*
64 pfNoPileUpForBoostedTaus*
65 ca8PFJetsCHSprunedForBoostedTaus*