1 import FWCore.ParameterSet.Config
as cms
10 photonTask = cms.Task(photonCore,photons)
11 photonSequence = cms.Sequence(photonTask)
13 _photonTaskFromMultiCl = photonTask.copy()
14 _photonTaskFromMultiCl.add(photonCoreFromMultiCl,photonsFromMultiCl)
15 _photonTaskWithIsland = photonTask.copy()
16 _photonTaskWithIsland.add(islandPhotonCore,islandPhotons)
19 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
20 phase2_hgcal.toReplaceWith(
21 photonTask, _photonTaskFromMultiCl
24 from Configuration.Eras.Modifier_pA_2016_cff
import pA_2016
25 from Configuration.Eras.Modifier_peripheralPbPb_cff
import peripheralPbPb
26 from Configuration.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
27 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
28 from Configuration.Eras.Modifier_ppRef_2017_cff
import ppRef_2017
29 for e
in [pA_2016, peripheralPbPb, pp_on_AA_2018, pp_on_XeXe_2017, ppRef_2017]:
30 e.toReplaceWith(photonTask, _photonTaskWithIsland)