CMS 3D CMS Logo

hltParticleFlowForJets_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ## PFproducer for particle flow for PFCaloJets
4 #disable tracks and also input blocks are hltParticleFlowBlock
5 
7 
8 
9 hltParticleFlowBlock = cms.EDProducer("PFBlockProducer",
10  debug = cms.untracked.bool(False),
11  verbose = cms.untracked.bool(False),
12  elementImporters = cms.VPSet(
13  cms.PSet(
14  source = cms.InputTag("particleFlowClusterECAL"),
15  importerName = cms.string('GenericClusterImporter')
16  ),
17  cms.PSet(
18  source = cms.InputTag("particleFlowClusterHCAL"),
19  importerName = cms.string('GenericClusterImporter')
20  ),
21  cms.PSet(
22  source = cms.InputTag("particleFlowClusterHO"),
23  importerName = cms.string('GenericClusterImporter')
24  ),
25  cms.PSet(
26  source = cms.InputTag("particleFlowClusterHF"),
27  importerName = cms.string('GenericClusterImporter')
28  )
29  ),
30  linkDefinitions = cms.VPSet(
31  cms.PSet(
32  linkType = cms.string('ECAL:HCAL'),
33  useKDTree = cms.bool(False),
34  #linkerName = cms.string('ECALAndHCALLinker')
35  linkerName = cms.string('ECALAndHCALCaloJetLinker') #new ECal and HCal Linker for PFCaloJets
36  ),
37  cms.PSet(
38  linkType = cms.string('HCAL:HO'),
39  useKDTree = cms.bool(False),
40  linkerName = cms.string('HCALAndHOLinker')
41  ),
42  cms.PSet(
43  linkType = cms.string('HFEM:HFHAD'),
44  useKDTree = cms.bool(False),
45  linkerName = cms.string('HFEMAndHFHADLinker')
46  ),
47  cms.PSet(
48  linkType = cms.string('ECAL:ECAL'),
49  useKDTree = cms.bool(False),
50  linkerName = cms.string('ECALAndECALLinker')
51  )
52  )
53 )
54 
55 
56 from RecoParticleFlow.PFProducer.particleFlow_cfi import particleFlowTmp
57 
58 hltParticleFlow = particleFlowTmp.clone(
59  GedPhotonValueMap = cms.InputTag(""),
60  useEGammaFilters = cms.bool(False),
61  useEGammaElectrons = cms.bool(False),
62  useEGammaSupercluster = cms.bool(False),
63  rejectTracks_Step45 = cms.bool(False),
64  usePFNuclearInteractions = cms.bool(False),
65  blocks = cms.InputTag("hltParticleFlowBlock"),
66  egammaElectrons = cms.InputTag(""),
67  useVerticesForNeutral = cms.bool(False),
68  PFEGammaCandidates = cms.InputTag(""),
69  useProtectionsForJetMET = cms.bool(False),
70  usePFConversions = cms.bool(False),
71  rejectTracks_Bad = cms.bool(False),
72  muons = cms.InputTag(""),
73  postMuonCleaning = cms.bool(False),
74  usePFSCEleCalib = cms.bool(False)
75 )
76 
77 
78 hltParticleFlowForJets = cms.Sequence(
79  particleFlowRecHitECAL*
80  particleFlowRecHitHBHE*
81  particleFlowRecHitHF*
82  particleFlowRecHitHO*
83  particleFlowClusterECALUncorrected*
84  #particleFlowClusterECAL*
85  particleFlowClusterHBHE*
86  particleFlowClusterHCAL*
87  particleFlowClusterHF*
88  particleFlowClusterHO*
89  hltParticleFlowBlock*
90  hltParticleFlow
91 )
92 
93