CMS 3D CMS Logo

particleFlowSuperClusteringSequence_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #------------------
4 #Hybrid clustering:
5 #------------------
6 # Producer for Box Particle Flow Super Clusters
8 # Producer for energy corrections
9 #from RecoEcal.EgammaClusterProducers.correctedDynamicHybridSuperClusters_cfi import *
10 # PFECAL super clusters, either hybrid-clustering clone (Box) or mustache.
11 particleFlowSuperClusteringSequence = cms.Sequence(particleFlowSuperClusterECAL)
12 
13 particleFlowSuperClusterHGCal = particleFlowSuperClusterECAL.clone()
14 _phase2_hgcal_particleFlowSuperClusteringSequence = particleFlowSuperClusteringSequence.copy()
15 _phase2_hgcal_particleFlowSuperClusteringSequence += particleFlowSuperClusterHGCal
16 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
17 phase2_hgcal.toModify(
18  particleFlowSuperClusterHGCal,
19  PFClusters = cms.InputTag('particleFlowClusterHGCal'),
20  useRegression = cms.bool(False), #no HGCal regression yet
21  use_preshower = cms.bool(False),
22  PFBasicClusterCollectionEndcap = cms.string(""),
23  PFSuperClusterCollectionEndcap = cms.string(""),
24  PFSuperClusterCollectionEndcapWithPreshower = cms.string(""),
25  thresh_PFClusterEndcap = cms.double(1.5e-1) # 150 MeV threshold
26 )
27 phase2_hgcal.toReplaceWith( particleFlowSuperClusteringSequence, _phase2_hgcal_particleFlowSuperClusteringSequence )
28