CMS 3D CMS Logo

gsfElectronSequence_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #==============================================================================
4 # Sequence to make final electrons.
5 # In the past, this was including the seeding, but this one is directly
6 # imported in the reco sequences since the integration with pflow.
7 #==============================================================================
8 
10 gsfElectronSequence = cms.Sequence(ecalDrivenGsfElectronCores*ecalDrivenGsfElectrons*gsfElectronCores*gsfElectrons)
11 gsfEcalDrivenElectronSequence = cms.Sequence(ecalDrivenGsfElectronCores*ecalDrivenGsfElectrons)
12 _gsfEcalDrivenElectronSequenceFromMultiCl = gsfEcalDrivenElectronSequence.copy()
13 _gsfEcalDrivenElectronSequenceFromMultiCl += cms.Sequence(ecalDrivenGsfElectronCoresFromMultiCl*ecalDrivenGsfElectronsFromMultiCl)
14 
15 #gsfElectronMergingSequence = cms.Sequence(gsfElectronCores*gsfElectrons)
16 
19 
20 electronIsoSequence = cms.Sequence(
21  edBasedElectronIsoSequence+
22  pfBasedElectronIsoSequence
23  )
24 
25 gsfElectronMergingSequence = cms.Sequence(electronIsoSequence*gsfElectronCores*gsfElectrons)
26 
27 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
28 phase2_hgcal.toReplaceWith(
29  gsfEcalDrivenElectronSequence, _gsfEcalDrivenElectronSequenceFromMultiCl
30 )