CMS 3D CMS Logo

ecalDrivenElectronSeeds_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 # module to produce pixel seeds for electrons from super clusters
5 # Author: Ursula Berthon, Claude Charlot
6 #
7 
8 from RecoEgamma.EgammaElectronProducers.ecalDrivenElectronSeeds_cfi import ecalDrivenElectronSeeds
9 from RecoTracker.IterativeTracking.ElectronSeeds_cff import newCombinedSeeds
10 
11 ecalDrivenElectronSeeds.SeedConfiguration.initialSeedsVector = newCombinedSeeds.seedCollections
12 
13 from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
14 pp_on_AA_2018.toModify(ecalDrivenElectronSeeds.SeedConfiguration, SCEtCut = 15.0)
15 
16 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
17 phase2_hgcal.toModify(
18  ecalDrivenElectronSeeds,
19  endcapSuperClusters = 'particleFlowSuperClusterHGCal',
20  SeedConfiguration = dict( allowHGCal = True )
21 )
22 
23 from Configuration.ProcessModifiers.egamma_lowPt_exclusive_cff import egamma_lowPt_exclusive
24 egamma_lowPt_exclusive.toModify(ecalDrivenElectronSeeds.SeedConfiguration,
25  LowPtThreshold =1.0,
26  applyHOverECut = False)
27 
28 # create ecal driven seeds for electron using HGCal Multiclusters
29 ecalDrivenElectronSeedsFromMultiCl = ecalDrivenElectronSeeds.clone(
30  endcapSuperClusters = 'particleFlowSuperClusterHGCalFromMultiCl')