CMS 3D CMS Logo

PFClustersForJets_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
5 
6 
7 pfClusterRefsForJetsHCAL = cms.EDProducer("PFClusterRefCandidateProducer",
8  src = cms.InputTag('particleFlowClusterHCAL'),
9  particleType = cms.string('pi+')
10 )
11 
12 pfClusterRefsForJetsECAL = cms.EDProducer("PFClusterRefCandidateProducer",
13  src = cms.InputTag('particleFlowClusterECAL'),
14  # src = cms.InputTag('particleFlowCluster'),
15  particleType = cms.string('pi+')
16 )
17 
18 pfClusterRefsForJetsHF = cms.EDProducer("PFClusterRefCandidateProducer",
19  src = cms.InputTag('particleFlowClusterHF'),
20  particleType = cms.string('pi+')
21 )
22 
23 pfClusterRefsForJetsHO = cms.EDProducer("PFClusterRefCandidateProducer",
24  src = cms.InputTag('particleFlowClusterHO'),
25  particleType = cms.string('pi+')
26 )
27 
28 
29 pfClusterRefsForJets = cms.EDProducer("PFClusterRefCandidateMerger",
30  src = cms.VInputTag("pfClusterRefsForJetsHCAL", "pfClusterRefsForJetsECAL", "pfClusterRefsForJetsHF", "pfClusterRefsForJetsHO")
31 # src = cms.VInputTag("pfClusterRefsForJetsHCAL", "pfClusterRefsForJetsECAL","pfClusterRefsForJetsHF")
32 )
33 
34 pfClusterRefsForJets_stepTask = cms.Task(
35  particleFlowRecHitECAL,
36  particleFlowRecHitHBHE,
37  particleFlowRecHitHF,
38  particleFlowRecHitHO,
39  particleFlowClusterECALUncorrected,
40  particleFlowClusterECAL,
41  particleFlowClusterHBHE,
42  particleFlowClusterHCAL,
43  particleFlowClusterHF,
44  particleFlowClusterHO,
45  pfClusterRefsForJetsHCAL,
46  pfClusterRefsForJetsECAL,
47  pfClusterRefsForJetsHF,
48  pfClusterRefsForJetsHO,
49  pfClusterRefsForJets
50 )
51 pfClusterRefsForJets_step = cms.Sequence(pfClusterRefsForJets_stepTask)