CMS 3D CMS Logo

particleFlowCluster_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 #from RecoParticleFlow.PFClusterProducer.towerMakerPF_cfi import *
5 #from RecoParticleFlow.PFClusterProducer.particleFlowCaloResolution_cfi import _timeResolutionHCALMaxSample
6 
12 
15 
22 
23 particleFlowClusterECALSequence = cms.Sequence(particleFlowClusterECAL)
24 pfClusteringECAL = cms.Sequence(particleFlowRecHitECAL*
25  particleFlowClusterECALUncorrected *
26  particleFlowClusterECALSequence)
27 pfClusteringPS = cms.Sequence(particleFlowRecHitPS*particleFlowClusterPS)
28 
29 
30 #pfClusteringHBHEHF = cms.Sequence(towerMakerPF*particleFlowRecHitHCAL*particleFlowClusterHCAL+particleFlowClusterHFHAD+particleFlowClusterHFEM)
31 pfClusteringHBHEHF = cms.Sequence(particleFlowRecHitHBHE*particleFlowRecHitHF*particleFlowClusterHBHE*particleFlowClusterHF*particleFlowClusterHCAL)
32 pfClusteringHO = cms.Sequence(particleFlowRecHitHO*particleFlowClusterHO)
33 
34 
35 particleFlowClusterWithoutHO = cms.Sequence(
36  pfClusteringPS*
37  pfClusteringECAL*
38  pfClusteringHBHEHF
39 )
40 
41 particleFlowCluster = cms.Sequence(
42  pfClusteringPS*
43  pfClusteringECAL*
44  pfClusteringHBHEHF*
45  pfClusteringHO
46 )
47 
48 #HGCal
49 
51 pfClusteringHGCal = cms.Sequence(particleFlowRecHitHGC)
52 
53 _phase2_hgcal_particleFlowCluster = particleFlowCluster.copy()
54 _phase2_hgcal_particleFlowCluster += pfClusteringHGCal
55 
56 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
57 phase2_hgcal.toReplaceWith( particleFlowCluster, _phase2_hgcal_particleFlowCluster )
58 
59 #timing
60 
61 from RecoParticleFlow.PFClusterProducer.particleFlowClusterTimeAssigner_cfi import particleFlowTimeAssignerECAL
62 from RecoParticleFlow.PFSimProducer.ecalBarrelClusterFastTimer_cfi import ecalBarrelClusterFastTimer
63 _phase2_timing_particleFlowClusterECALSequence = cms.Sequence(ecalBarrelClusterFastTimer*
64  particleFlowTimeAssignerECAL*
65  particleFlowClusterECALSequence.copy())
66 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
67 phase2_timing.toReplaceWith(particleFlowClusterECALSequence,
68  _phase2_timing_particleFlowClusterECALSequence)
69 phase2_timing.toModify(particleFlowClusterECAL,
70  inputECAL = cms.InputTag('particleFlowTimeAssignerECAL'))