CMS 3D CMS Logo

RecoEgamma_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
16 
18 
19 egammaGlobalRecoTask = cms.Task(electronGsfTrackingTask,conversionTrackTask,allConversionTask)
20 egammaGlobalReco = cms.Sequence(egammaGlobalRecoTask)
21 # this might be historical: not sure why we do this
22 from Configuration.Eras.Modifier_fastSim_cff import fastSim
23 _fastSim_egammaGlobalRecoTask = egammaGlobalRecoTask.copy()
24 _fastSim_egammaGlobalRecoTask.replace(conversionTrackTask,conversionTrackTaskNoEcalSeeded)
25 fastSim.toReplaceWith(egammaGlobalRecoTask, _fastSim_egammaGlobalRecoTask)
26 
27 egammaHighLevelRecoPrePFTask = cms.Task(gsfEcalDrivenElectronTask,uncleanedOnlyElectronTask,conversionTask,photonTask)
28 egammaHighLevelRecoPrePF = cms.Sequence(egammaHighLevelRecoPrePFTask)
29 fastSim.toReplaceWith(egammaHighLevelRecoPrePFTask,egammaHighLevelRecoPrePFTask.copyAndExclude([uncleanedOnlyElectronTask,conversionTask]))
30 
31 egammaHighLevelRecoPostPFTask = cms.Task(interestingEgammaIsoDetIdsTask,egmIsolationTask,photonIDTask,photonIDTaskGED,eIdTask,hfEMClusteringTask)
32 egammaHighLevelRecoPostPF = cms.Sequence(egammaHighLevelRecoPostPFTask)
33 
34 from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
35 from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
36 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
37 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
38 from Configuration.Eras.Modifier_ppRef_2017_cff import ppRef_2017
39 #HI-specific algorithms needed in pp scenario special configurations
40 from RecoHI.HiEgammaAlgos.photonIsolationHIProducer_cfi import photonIsolationHIProducerpp
41 from RecoHI.HiEgammaAlgos.photonIsolationHIProducer_cfi import photonIsolationHIProducerppGED
42 from RecoHI.HiEgammaAlgos.photonIsolationHIProducer_cfi import photonIsolationHIProducerppIsland
43 
44 _egammaHighLevelRecoPostPF_HITask = egammaHighLevelRecoPostPFTask.copy()
45 _egammaHighLevelRecoPostPF_HITask.add(photonIsolationHIProducerpp)
46 _egammaHighLevelRecoPostPF_HITask.add(photonIsolationHIProducerppGED)
47 _egammaHighLevelRecoPostPF_HITask.add(photonIsolationHIProducerppIsland)
48 for e in [pA_2016, peripheralPbPb, pp_on_AA, pp_on_XeXe_2017, ppRef_2017]:
49  e.toReplaceWith(egammaHighLevelRecoPostPFTask, _egammaHighLevelRecoPostPF_HITask)
conversionTrackSequence_cff
conversionSequence_cff
egmIsolationDefinitions_cff
uncleanedOnlyElectronSequence_cff
allConversionSequence_cff
gsfElectronSequence_cff
egammaIsolationSequence_cff
TrackingTools_cff
photonSequence_cff
hfEMClusteringSequence_cff
gedPhotonSequence_cff
interestingEgammaIsoDetIdsSequence_cff
photonId_cff
electronIdSequence_cff