test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
boostedHPSPFTaus_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 import copy
3 
4 '''
5 
6 Sequences for reconstructing boosted taus using the HPS algorithm
7 
8 '''
9 
10 import CommonTools.ParticleFlow.pfNoPileUp_cff as boostedTaus
11 pfPileUpForBoostedTaus = boostedTaus.pfPileUp.clone(
12  PFCandidates = cms.InputTag('particleFlow'),
13  checkClosestZVertex = cms.bool(False)
14 )
15 pfNoPileUpForBoostedTaus = boostedTaus.pfNoPileUp.clone(
16  topCollection = cms.InputTag('pfPileUpForBoostedTaus'),
17  bottomCollection = cms.InputTag('particleFlow')
18 )
19 
20 
21 import RecoJets.JetProducers.ak4PFJets_cfi as boostedTaus2
22 import RecoJets.JetProducers.CMSBoostedTauSeedingParameters_cfi as boostedTaus3
23 ca8PFJetsCHSprunedForBoostedTaus = boostedTaus2.ak4PFJets.clone(
24  boostedTaus3.CMSBoostedTauSeedingParameters,
25  #src = cms.InputTag('pfNoPileUpForBoostedTaus'),
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')
33 )
34 
35 boostedTauSeeds = cms.EDProducer("BoostedTauSeedsProducer",
36  subjetSrc = cms.InputTag('ca8PFJetsCHSprunedForBoostedTaus', 'subJetsForSeedingBoostedTaus'),
37  pfCandidateSrc = cms.InputTag('particleFlow'),
38  verbosity = cms.int32(0)
39 )
40