1 import FWCore.ParameterSet.Config
as cms
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')
22 import RecoJets.JetProducers.CMSBoostedTauSeedingParameters_cfi
as boostedTaus3
23 ca8PFJetsCHSprunedForBoostedTaus = boostedTaus2.ak4PFJets.clone(
24 boostedTaus3.CMSBoostedTauSeedingParameters,
26 jetPtMin = cms.double(100.0),
27 doAreaFastjet = cms.bool(
True),
28 nFilt = cms.int32(100),
29 rParam = cms.double(0.8),
30 jetAlgorithm = cms.string(
"CambridgeAachen"),
31 writeCompound = cms.bool(
True),
32 jetCollInstanceName = cms.string(
'subJetsForSeedingBoostedTaus')
35 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
36 from Configuration.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
37 for e
in [pp_on_XeXe_2017, pp_on_AA_2018]:
38 e.toModify(ca8PFJetsCHSprunedForBoostedTaus, inputEtMin = 999999.0)
40 boostedTauSeeds = cms.EDProducer(
"BoostedTauSeedsProducer",
41 subjetSrc = cms.InputTag(
'ca8PFJetsCHSprunedForBoostedTaus',
'subJetsForSeedingBoostedTaus'),
42 pfCandidateSrc = cms.InputTag(
'particleFlow'),
43 correctlyExcludeOverlap = cms.bool(
False),
44 verbosity = cms.int32(0)
47 from Configuration.ProcessModifiers.run2_miniAOD_UL_cff
import run2_miniAOD_UL
48 run2_miniAOD_UL.toModify(boostedTauSeeds, correctlyExcludeOverlap =
True)
50 boostedHPSPFTausTask = cms.Task(
51 pfPileUpForBoostedTaus,
52 pfNoPileUpForBoostedTaus,
53 ca8PFJetsCHSprunedForBoostedTaus,