1 import FWCore.ParameterSet.Config
as cms
5 Sequences for reconstructing boosted taus using the HPS algorithm 10 pfPileUpForBoostedTaus = boostedTaus.pfPileUp.clone(
11 PFCandidates =
'particleFlow',
12 checkClosestZVertex =
False 14 pfNoPileUpForBoostedTaus = boostedTaus.pfNoPileUp.clone(
15 topCollection =
'pfPileUpForBoostedTaus',
16 bottomCollection =
'particleFlow' 21 import RecoJets.JetProducers.CMSBoostedTauSeedingParameters_cfi
as boostedTaus3
22 ca8PFJetsCHSprunedForBoostedTaus = boostedTaus2.ak4PFJets.clone(
23 boostedTaus3.CMSBoostedTauSeedingParameters,
27 nFilt = cms.int32(100),
29 jetAlgorithm =
"CambridgeAachen",
30 writeCompound = cms.bool(
True),
31 jetCollInstanceName = cms.string(
'subJetsForSeedingBoostedTaus')
34 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
35 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
36 (pp_on_XeXe_2017 | pp_on_AA).toModify(ca8PFJetsCHSprunedForBoostedTaus,
37 inputEtMin = 999999.0, src =
"particleFlow",
38 doAreaFastjet =
False)
40 boostedTauSeeds = cms.EDProducer(
"BoostedTauSeedsProducer",
41 subjetSrc = cms.InputTag(
'ca8PFJetsCHSprunedForBoostedTaus',
'subJetsForSeedingBoostedTaus'),
42 pfCandidateSrc = cms.InputTag(
'particleFlow'),
43 verbosity = cms.int32(0)
46 boostedHPSPFTausTask = cms.Task(
47 pfPileUpForBoostedTaus,
48 pfNoPileUpForBoostedTaus,
49 ca8PFJetsCHSprunedForBoostedTaus,