File indexing completed on 2024-04-06 12:24:58
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005
0006
0007 from RecoEgamma.EgammaPhotonProducers.photonCore_cfi import *
0008 from RecoEgamma.EgammaPhotonProducers.photons_cfi import *
0009
0010 photonTask = cms.Task(photonCore,photons)
0011 photonSequence = cms.Sequence(photonTask)
0012
0013 _photonTaskHGC = photonTask.copy()
0014 _photonTaskHGC.add(photonCoreHGC,photonsHGC)
0015 _photonTaskWithIsland = photonTask.copy()
0016 _photonTaskWithIsland.add(islandPhotonCore,islandPhotons)
0017
0018
0019 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
0020 phase2_hgcal.toReplaceWith(
0021 photonTask, _photonTaskHGC
0022 )
0023
0024 from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
0025 from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
0026 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0027 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
0028 from Configuration.Eras.Modifier_ppRef_2017_cff import ppRef_2017
0029 for e in [pA_2016, peripheralPbPb, pp_on_AA, pp_on_XeXe_2017, ppRef_2017]:
0030 e.toReplaceWith(photonTask, _photonTaskWithIsland)