CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
16 
23 
24 particleFlowClusterECALSequence = cms.Sequence(particleFlowClusterECAL)
25 
26 pfClusteringECAL = cms.Sequence(particleFlowRecHitECAL*
27  particleFlowClusterECALUncorrected *
28  particleFlowClusterECALSequence)
29 pfClusteringPS = cms.Sequence(particleFlowRecHitPS*particleFlowClusterPS)
30 
31 
32 #pfClusteringHBHEHF = cms.Sequence(towerMakerPF*particleFlowRecHitHCAL*particleFlowClusterHCAL+particleFlowClusterHFHAD+particleFlowClusterHFEM)
33 pfClusteringHBHEHF = cms.Sequence(particleFlowRecHitHBHE*particleFlowRecHitHF*particleFlowClusterHBHE*particleFlowClusterHF*particleFlowClusterHCAL)
34 pfClusteringHO = cms.Sequence(particleFlowRecHitHO*particleFlowClusterHO)
35 
36 
37 particleFlowClusterWithoutHO = cms.Sequence(
38  pfClusteringPS*
39  pfClusteringECAL*
40  pfClusteringHBHEHF
41 )
42 
43 particleFlowCluster = cms.Sequence(
44  pfClusteringPS*
45  pfClusteringECAL*
46  pfClusteringHBHEHF*
47  pfClusteringHO
48 )
49 
50 #HGCal
51 
53 pfClusteringHGCal = cms.Sequence(particleFlowRecHitHGC)
54 
55 _phase2_hgcal_particleFlowCluster = particleFlowCluster.copy()
56 _phase2_hgcal_particleFlowCluster += pfClusteringHGCal
57 
58 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
59 phase2_hgcal.toReplaceWith( particleFlowCluster, _phase2_hgcal_particleFlowCluster )
60 
61 #timing
62 
63 from RecoParticleFlow.PFClusterProducer.particleFlowClusterTimeAssigner_cfi import particleFlowTimeAssignerECAL
64 from RecoParticleFlow.PFSimProducer.ecalBarrelClusterFastTimer_cfi import ecalBarrelClusterFastTimer
65 _phase2_timing_particleFlowClusterECALSequence = cms.Sequence(ecalBarrelClusterFastTimer*
66  particleFlowTimeAssignerECAL*
67  particleFlowClusterECALSequence.copy())
68 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
69 phase2_timing.toReplaceWith(particleFlowClusterECALSequence,
70  _phase2_timing_particleFlowClusterECALSequence)
71 phase2_timing.toModify(particleFlowClusterECAL,
72  inputECAL = cms.InputTag('particleFlowTimeAssignerECAL'))